summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorhp.com!davidm <hp.com!davidm>2004-10-15 13:57:10 +0000
committerhp.com!davidm <hp.com!davidm>2004-10-15 13:57:10 +0000
commit82e02ac518e7a7e7ebd364133ed4d8948984e7f4 (patch)
tree408b7c07378eff0ff270404a0e7b5c45fe02f0b9 /tests
parent96a82bef082a959bef7b6d689e25bd14b04f7ec9 (diff)
downloadlibunwind-82e02ac518e7a7e7ebd364133ed4d8948984e7f4.tar.gz
Fix offsets in .*psp directives (subtract 16 to account for the fact that
GNU assembler used to encode this incorrectly). (Logical change 1.278)
Diffstat (limited to 'tests')
-rw-r--r--tests/ia64-test-nat-asm.S18
1 files changed, 9 insertions, 9 deletions
diff --git a/tests/ia64-test-nat-asm.S b/tests/ia64-test-nat-asm.S
index e5d2c910..e435eef9 100644
--- a/tests/ia64-test-nat-asm.S
+++ b/tests/ia64-test-nat-asm.S
@@ -104,7 +104,7 @@ save_static_to_fr:
.save rp, loc1
mov loc1 = rp
.fframe 16
- .spillpsp f2, 16
+ .spillpsp f2, 0
stf.spill [sp] = f2, -16
.spillreg r4, f2
setf.sig f2 = r4
@@ -184,7 +184,7 @@ save_static_to_mem:
mov loc2 = ar.unat
.fframe 16
- .spillpsp r4, 16
+ .spillpsp r4, 0
st8.spill [sp] = r4, -16
.spillreg r5, r4
@@ -221,7 +221,7 @@ save_static_to_mem2:
mov loc2 = ar.unat
.fframe 16
- .spillpsp r6, 16
+ .spillpsp r6, 0
st8.spill [sp] = r6, -16;;
.save @priunat, loc3
mov loc3 = ar.unat
@@ -259,10 +259,10 @@ save_static_to_mem3:
add r2 = 8, sp
.fframe 16
- .spillpsp r6, 16
+ .spillpsp r6, 0
st8.spill [sp] = r6, -16;;
mov r3 = ar.unat;;
- .savepsp @priunat, 8
+ .savepsp @priunat, -8
st8 [r2] = r3
mov ar.unat = 0 // trash ar.unat
@@ -301,12 +301,12 @@ save_static_to_mem4:
add r2 = 8, sp
.fframe 16
- .spillpsp r6, 16
+ .spillpsp r6, 0
st8.spill [sp] = r6, -16;;
.save @priunat, r3
mov r3 = ar.unat;;
mov ar.unat = 0 // trash ar.unat
- .savepsp @priunat, 8
+ .savepsp @priunat, -8
st8 [r2] = r3
mov r3 = r0 // trash register pri UNaT location
.body
@@ -344,11 +344,11 @@ save_static_to_mem5:
add r2 = 8, sp
.fframe 16
- .spillpsp r6, 16
+ .spillpsp r6, 0
st8.spill [sp] = r6, -16;;
mov r3 = ar.unat;;
mov ar.unat = 0 // trash ar.unat
- .savepsp @priunat, 8
+ .savepsp @priunat, -8
st8 [r2] = r3
.save @priunat, loc3
mov loc3 = r3