diff options
author | Tomer Levi <Tomer.Levi@nsc.com> | 2004-10-27 10:32:51 +0000 |
---|---|---|
committer | Tomer Levi <Tomer.Levi@nsc.com> | 2004-10-27 10:32:51 +0000 |
commit | 3da4500a063f69a31dea70ff00d12264883cda61 (patch) | |
tree | 8027520f93e1e20d4012ca264745d0201f6c4eb1 /gas | |
parent | 0be469faab06609b18f8bd910cf9f88738c1b00a (diff) | |
download | gdb-3da4500a063f69a31dea70ff00d12264883cda61.zip gdb-3da4500a063f69a31dea70ff00d12264883cda61.tar.gz gdb-3da4500a063f69a31dea70ff00d12264883cda61.tar.bz2 |
* gas/crx/cop_insn.s: Test new Co-Processor instruction 'cpi'.
Diffstat (limited to 'gas')
-rw-r--r-- | gas/testsuite/gas/crx/cop_insn.d | 91 | ||||
-rw-r--r-- | gas/testsuite/gas/crx/cop_insn.s | 5 |
2 files changed, 53 insertions, 43 deletions
diff --git a/gas/testsuite/gas/crx/cop_insn.d b/gas/testsuite/gas/crx/cop_insn.d index bdef700..9c73629 100644 --- a/gas/testsuite/gas/crx/cop_insn.d +++ b/gas/testsuite/gas/crx/cop_insn.d @@ -6,62 +6,67 @@ Disassembly of section .text: -00000000 <mtcr>: - 0: 1f 30 1e 30 mtcr \$0xf, r1, c14 +00000000 <cpi>: + 0: 12 30 34 12 cpi \$0x2, \$0x1234 + 4: 13 31 65 87 cpi \$0x3, \$0x4321, \$0x8765 + 8: 21 43 -00000004 <mfcr>: - 4: 13 30 72 31 mfcr \$0x3, c7, r2 +0000000a <mtcr>: + a: 1f 30 10 30 mtcr \$0xf, r1, c0 -00000008 <mtcsr>: - 8: 12 30 51 32 mtcsr \$0x2, r5, cs1 +0000000e <mfcr>: + e: 13 30 02 31 mfcr \$0x3, c0, r2 -0000000c <mfcsr>: - c: 11 30 ce 33 mfcsr \$0x1, cs12, r14 +00000012 <mtcsr>: + 12: 12 30 50 32 mtcsr \$0x2, r5, cs0 -00000010 <ldcr>: - 10: 11 30 38 34 ldcr \$0x1, r3, c8 +00000016 <mfcsr>: + 16: 11 30 0e 33 mfcsr \$0x1, cs0, r14 -00000014 <stcr>: - 14: 12 30 b4 35 stcr \$0x2, c11, r4 +0000001a <ldcr>: + 1a: 11 30 30 34 ldcr \$0x1, r3, c0 -00000018 <ldcsr>: - 18: 14 30 6c 36 ldcsr \$0x4, r6, cs12 +0000001e <stcr>: + 1e: 12 30 04 35 stcr \$0x2, c0, r4 -0000001c <stcsr>: - 1c: 17 30 ad 37 stcsr \$0x7, cs10, r13 +00000022 <ldcsr>: + 22: 14 30 60 36 ldcsr \$0x4, r6, cs0 -00000020 <loadmcr>: - 20: 13 31 01 30 loadmcr \$0x3, r1, {c2,c3,c5} - 24: 2c 00 +00000026 <stcsr>: + 26: 17 30 0d 37 stcsr \$0x7, cs0, r13 -00000026 <stormcr>: - 26: 1f 31 1e 30 stormcr \$0xf, r14, {c4,c7,c9,c10} - 2a: 90 06 +0000002a <loadmcr>: + 2a: 13 31 01 30 loadmcr \$0x3, r1, {c0,c12,c13} + 2e: 2c 00 -0000002c <loadmcsr>: - 2c: 1c 31 28 30 loadmcsr \$0xc, r8, {cs7,cs8,cs9,cs10,cs11} - 30: 80 0f +00000030 <stormcr>: + 30: 1f 31 1e 30 stormcr \$0xf, r14, {c1,c2,c3,c4,c12,c13} + 34: 90 06 -00000032 <stormcsr>: - 32: 19 31 39 30 stormcsr \$0x9, r9, {cs4,cs7,cs10} - 36: 90 04 +00000036 <loadmcsr>: + 36: 1c 31 28 30 loadmcsr \$0xc, r8, {cs3,cs5,cs12,cs13} + 3a: 80 0f -00000038 <bcop>: - 38: 13 30 48 77 bcop \$0x7, \$0x3, \*\+0x90 - 3c: 1c 31 fa 76 bcop \$0x6, \$0xc, \*\-0xbcdfe - 40: 01 19 +0000003c <stormcsr>: + 3c: 19 31 39 30 stormcsr \$0x9, r9, {cs0,cs3,cs4,cs5,cs12,cs13} + 40: 90 04 -00000042 <cpdop>: - 42: 13 30 45 b2 cpdop \$0x3, \$0x2, r4, r5 - 46: 17 31 12 ba cpdop \$0x7, \$0xa, r1, r2, \$0x1234 - 4a: 34 12 +00000042 <bcop>: + 42: 13 30 48 77 bcop \$0x7, \$0x3, \*\+0x90 + 46: 1c 31 fa 76 bcop \$0x6, \$0xc, \*\-0xbcdfe + 4a: 01 19 -0000004c <mtpr>: - 4c: 09 30 10 00 mtpr r0, hi +0000004c <cpdop>: + 4c: 13 30 45 b2 cpdop \$0x3, \$0x2, r4, r5 + 50: 17 31 12 ba cpdop \$0x7, \$0xa, r1, r2, \$0xba12 + 54: 34 12 -00000050 <mfpr>: - 50: 0a 30 05 11 mfpr lo, r5 - 54: 0a 30 0a 90 mfpr uhi, r10 +00000056 <mtpr>: + 56: 09 30 10 00 mtpr r0, hi -00000058 <cinv>: - 58: 10 30 0f 00 cinv \[b,d,i,u\] +0000005a <mfpr>: + 5a: 0a 30 05 11 mfpr lo, r5 + 5e: 0a 30 0a 90 mfpr uhi, r10 + +00000062 <cinv>: + 62: 10 30 0f 00 cinv \[b,d,i,u\] diff --git a/gas/testsuite/gas/crx/cop_insn.s b/gas/testsuite/gas/crx/cop_insn.s index 70aec56..d91260b 100644 --- a/gas/testsuite/gas/crx/cop_insn.s +++ b/gas/testsuite/gas/crx/cop_insn.s @@ -4,6 +4,11 @@ foodata: .word 42 .text footext: + .global cpi +cpi: +cpi $0x2, $0x1234 +cpi $3, $0x8765, $0x4321 + .global mtcr mtcr: mtcr $0xf, r1, c14 |