Browse Source
2003-08-06 Jason Eckhardt <jle@rice.edu>
* config/tc-i860.c (i860_handle_align): New function.
* config/tc-i860.h (HANDLE_ALIGN): Define macro.
(MAX_MEM_FOR_RS_ALIGN_CODE): Define macro.
gas/testsuite:
2003-08-06 Jason Eckhardt <jle@rice.edu>
* gas/i860/dir-align01.{s,d}: New files.
* gas/i860/i860.exp: Execute the new test above.
ezannoni_pie-20030916-branch
7 changed files with 79 additions and 0 deletions
@ -0,0 +1,17 @@ |
|||
#as: |
|||
#objdump: -d |
|||
#name: i860 dir-align01 |
|||
|
|||
.*: +file format .* |
|||
|
|||
Disassembly of section \.text: |
|||
|
|||
00000000 <\.text>: |
|||
0: 00 20 a6 90 adds %r4,%r5,%r6 |
|||
4: 00 00 00 a0 shl %r0,%r0,%r0 |
|||
8: 00 00 00 a0 shl %r0,%r0,%r0 |
|||
c: 00 00 00 a0 shl %r0,%r0,%r0 |
|||
10: 00 50 6c 91 adds %r10,%r11,%r12 |
|||
14: a1 b1 1a 4b fmlow.dd %f22,%f24,%f26 |
|||
18: 30 74 f0 49 pfadd.ss %f14,%f15,%f16 |
|||
1c: b0 8c 54 4a pfadd.sd %f17,%f18,%f20 |
|||
@ -0,0 +1,11 @@ |
|||
# Test that .text section alignments use nops (0xA0000000) to fill |
|||
# rather than 0. |
|||
.text |
|||
adds %r4,%r5,%r6 |
|||
.align 16 |
|||
adds %r10,%r11,%r12 |
|||
fmlow.dd %f22,%f24,%f26 |
|||
pfadd.ss %f14,%f15,%f16 |
|||
pfadd.sd %f17,%f18,%f20 |
|||
|
|||
|
|||
Loading…
Reference in new issue