From: Hans-Peter Nilsson Date: Tue, 10 Mar 2009 14:40:36 +0000 (+0000) Subject: * gas/cris/rd-bkw4.d, gas/cris/rd-bkw4v32.d, gas/cris/rd-bkw4.s: X-Git-Tag: sid-snapshot-20090401~309 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=df354742a14c11386b8caf941c93fafd1c5ac040;p=external%2Fbinutils.git * gas/cris/rd-bkw4.d, gas/cris/rd-bkw4v32.d, gas/cris/rd-bkw4.s: New test. --- diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog index 84aeee3..ff0ec32 100644 --- a/gas/testsuite/ChangeLog +++ b/gas/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2009-03-10 Hans-Peter Nilsson + + * gas/cris/rd-bkw4.d, gas/cris/rd-bkw4v32.d, gas/cris/rd-bkw4.s: + New test. + 2009-03-10 Alan Modra * gas/ppc/altivec_and_spe.d (objdump): Add -Maltivec. diff --git a/gas/testsuite/gas/cris/rd-bkw4.d b/gas/testsuite/gas/cris/rd-bkw4.d new file mode 100644 index 0000000..73d56b0 --- /dev/null +++ b/gas/testsuite/gas/cris/rd-bkw4.d @@ -0,0 +1,51 @@ +#as: --underscore --em=criself +#objdump: -dr + +.*: file format .*-cris + +Disassembly of section \.text: + +0+ : + 0: ce4a .* + 2: cc4a .* + 4: ca4a .* + 6: c84a .* + 8: c64a .* + a: c44a .* + c: c24a .* + e: c04a .* + 10: c44a .* + 12: c24a .* + 14: c04a .* + 16: be4a .* + 18: b64a .* + 1a: b44a .* + 1c: b84a .* + 1e: b64a .* + 20: ae4a .* + 22: ac4a .* + 24: b04a .* + 26: ae4a .* + 28: a64a .* + 2a: a44a .* + 2c: a84a .* + 2e: a64a .* + 30: 9e4a .* + 32: 9c4a .* + 34: a04a .* + 36: 984a .* + 38: 9c4a .* + \.\.\. + 4ac6: 0000 bcc \.\+2 + 4ac8: 0ae0 ba 4ad4 + 4aca: 0f05 nop + 4acc: 0f05 nop + 4ace: ffed 4035 ba 8012 + 4ad2: 0f05 nop + 4ad4: 6f9e 0000 0000 move\.d 0 ,r9 + 4ad6: R_CRIS_32 x336 + 4ada: 3fbd 0000 0000 jsr 0 + 4adc: R_CRIS_32 y + \.\.\. + 8010: 0000 bcc \.\+2 + 8012: 0f05 nop diff --git a/gas/testsuite/gas/cris/rd-bkw4.s b/gas/testsuite/gas/cris/rd-bkw4.s new file mode 100644 index 0000000..74220df --- /dev/null +++ b/gas/testsuite/gas/cris/rd-bkw4.s @@ -0,0 +1,45 @@ + .text + .align 1 + .global x + .type x,@function +x: + .word .L1820-. + .word .L1820-. + .word .L1820-. + .word .L1820-. + .word .L1820-. + .word .L1820-. + .word .L1820-. + .word .L1820-. + .word .L2617-. + .word .L2617-. + .word .L2617-. + .word .L2617-. + .word .L1820-. + .word .L1820-. + .word .L2617-. + .word .L2617-. + .word .L1820-. + .word .L1820-. + .word .L2617-. + .word .L2617-. + .word .L1820-. + .word .L1820-. + .word .L2617-. + .word .L2617-. + .word .L1820-. + .word .L1820-. + .word .L2617-. + .word .L1820-. + .word .L2617-. + + .fill 19086 +.L2617: + move.d x336,$r9 + jsr y + + .fill 13618 +.L1820: + nop + .size x,.-x + .align 1 diff --git a/gas/testsuite/gas/cris/rd-bkw4v32.d b/gas/testsuite/gas/cris/rd-bkw4v32.d new file mode 100644 index 0000000..210746c --- /dev/null +++ b/gas/testsuite/gas/cris/rd-bkw4v32.d @@ -0,0 +1,54 @@ +#as: --underscore --em=criself --march=v32 +#source: rd-bkw4.s +#objdump: -dr + +.*: file format .*-cris + +Disassembly of section \.text: + +0+ : + 0: ce4a .* + 2: cc4a .* + 4: ca4a .* + 6: c84a .* + 8: c64a .* + a: c44a .* + c: c24a .* + e: c04a .* + 10: c64a .* + 12: c44a .* + 14: c24a .* + 16: c04a .* + 18: b64a .* + 1a: b44a .* + 1c: ba4a .* + 1e: b84a .* + 20: ae4a .* + 22: ac4a .* + 24: b24a .* + 26: b04a .* + 28: a64a .* + 2a: a44a .* + 2c: aa4a .* + 2e: a84a .* + 30: 9e4a .* + 32: 9c4a .* + 34: a24a .* + 36: 984a .* + 38: 9e4a .* + \.\.\. + 4ac6: 0000 bcc \. + 4ac8: 0ee0 ba 4ad6 + 4aca: b005 nop + 4acc: b005 nop + 4ace: ffed 4635 ba 8014 + 4ad2: b005 nop + 4ad4: 0000 bcc \. + 4ad6: 6f9e 0000 0000 move.d 0 ,r9 + 4ad8: R_CRIS_32 x336 + 4adc: bfbd 0000 0000 jsr 0 + 4ade: R_CRIS_32 y + \.\.\. + 8012: 0000 bcc \. + 8014: b005 nop + \.\.\.