diff options
author | Jason Eckhardt <jle@rice.edu> | 2003-08-06 23:59:36 +0000 |
---|---|---|
committer | Jason Eckhardt <jle@rice.edu> | 2003-08-06 23:59:36 +0000 |
commit | e15f6d30741e0ec270b48deafdbd2c781f01fae6 (patch) | |
tree | 2a0e2aaa9a02bbb3eb8e3e0990a414623df89f98 /gas/testsuite | |
parent | 0acc96e1c83a4b24ce0af95bbd36fcce6a56644c (diff) | |
download | gdb-e15f6d30741e0ec270b48deafdbd2c781f01fae6.zip gdb-e15f6d30741e0ec270b48deafdbd2c781f01fae6.tar.gz gdb-e15f6d30741e0ec270b48deafdbd2c781f01fae6.tar.bz2 |
gas:
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.
Diffstat (limited to 'gas/testsuite')
-rw-r--r-- | gas/testsuite/ChangeLog | 5 | ||||
-rw-r--r-- | gas/testsuite/gas/i860/dir-align01.d | 17 | ||||
-rw-r--r-- | gas/testsuite/gas/i860/dir-align01.s | 11 | ||||
-rw-r--r-- | gas/testsuite/gas/i860/i860.exp | 1 |
4 files changed, 34 insertions, 0 deletions
diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog index 30591b7..51a1239 100644 --- a/gas/testsuite/ChangeLog +++ b/gas/testsuite/ChangeLog @@ -1,5 +1,10 @@ 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. + +2003-08-06 Jason Eckhardt <jle@rice.edu> + * gas/i860/dual02-err.l: Update expected error message. * gas/i860/README.i860: Remove dual02-err from known failure list. diff --git a/gas/testsuite/gas/i860/dir-align01.d b/gas/testsuite/gas/i860/dir-align01.d new file mode 100644 index 0000000..bc4f677 --- /dev/null +++ b/gas/testsuite/gas/i860/dir-align01.d @@ -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 diff --git a/gas/testsuite/gas/i860/dir-align01.s b/gas/testsuite/gas/i860/dir-align01.s new file mode 100644 index 0000000..595eb3f --- /dev/null +++ b/gas/testsuite/gas/i860/dir-align01.s @@ -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 + + diff --git a/gas/testsuite/gas/i860/i860.exp b/gas/testsuite/gas/i860/i860.exp index 601995b..3a1ceed 100644 --- a/gas/testsuite/gas/i860/i860.exp +++ b/gas/testsuite/gas/i860/i860.exp @@ -17,6 +17,7 @@ if [istarget i860-*-*] { run_dump_test "bitwise" run_dump_test "branch" run_dump_test "bte" + run_dump_test "dir-align01" run_dump_test "dir-intel01" run_dump_test "dir-intel02" run_list_test "dir-intel03-err" "" |