diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2001-02-23 21:47:33 +0000 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2001-02-23 21:47:33 +0000 |
commit | d88ae36a6fec6cff3a80b126ac7ffdb9a458ecd1 (patch) | |
tree | 68aaae0e5bdf71298d80461620028eb4fd0798da /gas/testsuite | |
parent | 40f33b9b8eabcb4a4d97d4aa6b4979a8e2ae2d1c (diff) | |
download | gdb-d88ae36a6fec6cff3a80b126ac7ffdb9a458ecd1.zip gdb-d88ae36a6fec6cff3a80b126ac7ffdb9a458ecd1.tar.gz gdb-d88ae36a6fec6cff3a80b126ac7ffdb9a458ecd1.tar.bz2 |
2001-02-23 H.J. Lu <hjl@gnu.org>
* gas/ia64/opc-a-err.l: Fix "cmp4.lt.or".
* gas/ia64/opc-a.pl: Add tests for pseudo-ops for "cmp" and
"cmp4".
* gas/ia64/opc-a.s: Rebuilt.
* gas/ia64/opc-a.d: Likewise.
Diffstat (limited to 'gas/testsuite')
-rw-r--r-- | gas/testsuite/ChangeLog | 9 | ||||
-rw-r--r-- | gas/testsuite/gas/ia64/opc-a-err.l | 4 | ||||
-rw-r--r-- | gas/testsuite/gas/ia64/opc-a.d | 346 | ||||
-rw-r--r-- | gas/testsuite/gas/ia64/opc-a.pl | 1 | ||||
-rw-r--r-- | gas/testsuite/gas/ia64/opc-a.s | 72 |
5 files changed, 293 insertions, 139 deletions
diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog index 6557da5..a2ab0e3 100644 --- a/gas/testsuite/ChangeLog +++ b/gas/testsuite/ChangeLog @@ -1,3 +1,12 @@ +2001-02-23 H.J. Lu <hjl@gnu.org> + + * gas/ia64/opc-a-err.l: Fix "cmp4.lt.or". + + * gas/ia64/opc-a.pl: Add tests for pseudo-ops for "cmp" and + "cmp4". + * gas/ia64/opc-a.s: Rebuilt. + * gas/ia64/opc-a.d: Likewise. + 2001-02-17 Chris Demetriou <cgd@broadcom.com> * gas/mips/mips32.d: Remove ELF dependencies. This test diff --git a/gas/testsuite/gas/ia64/opc-a-err.l b/gas/testsuite/gas/ia64/opc-a-err.l index 571a825..f4491af 100644 --- a/gas/testsuite/gas/ia64/opc-a-err.l +++ b/gas/testsuite/gas/ia64/opc-a-err.l @@ -14,5 +14,5 @@ .*:18: Error: Operand 2 of `xor' should be .* .*:20: Error: Operand 2 of `andcm' should be .* .*:21: Error: Operand 2 of `andcm' should be .* -.*:23: Error: Operand 3 of `cmp4.lt.or' should be r0 -.*:24: Error: Operand 3 of `cmp4.lt.or' should be r0 +.*:23: Error: Operand [3|4] of `cmp4.lt.or' should be r0 +.*:24: Error: Operand [3|4] of `cmp4.lt.or' should be r0 diff --git a/gas/testsuite/gas/ia64/opc-a.d b/gas/testsuite/gas/ia64/opc-a.d index 132900b..9a2a82f 100644 --- a/gas/testsuite/gas/ia64/opc-a.d +++ b/gas/testsuite/gas/ia64/opc-a.d @@ -151,140 +151,212 @@ Disassembly of section \.text: 2f6: 30 18 10 84 70 60 cmp\.eq\.or\.andcm p3,p2=r3,r4 2fc: 30 20 08 e5 cmp\.eq\.or\.andcm p3,p2=3,r4 300: 00 10 00 08 43 30 \[MII\] cmp\.eq\.and p2,p3=r0,r4 - 306: 20 00 10 86 68 40 cmp\.eq\.or p2,p3=r0,r4 - 30c: 00 20 0c e1 cmp\.eq\.or\.andcm p2,p3=r0,r4 - 310: 00 10 02 08 43 34 \[MII\] cmp\.ne\.or p2,p3=r0,r4 - 316: 20 04 10 86 60 60 cmp\.ne\.and p2,p3=r0,r4 - 31c: 08 20 08 e1 cmp\.ne\.or\.andcm p3,p2=r0,r4 - 320: 00 10 02 08 43 30 \[MII\] cmp\.ne\.and p2,p3=r0,r4 - 326: 20 04 10 86 68 40 cmp\.ne\.or p2,p3=r0,r4 - 32c: 08 20 0c e1 cmp\.ne\.or\.andcm p2,p3=r0,r4 - 330: 00 10 00 08 43 34 \[MII\] cmp\.eq\.or p2,p3=r0,r4 - 336: 20 00 10 86 60 60 cmp\.eq\.and p2,p3=r0,r4 - 33c: 00 20 08 e1 cmp\.eq\.or\.andcm p3,p2=r0,r4 - 340: 00 10 02 08 43 32 \[MII\] cmp\.lt\.and p2,p3=r0,r4 - 346: 20 04 10 86 6c 40 cmp\.lt\.or p2,p3=r0,r4 - 34c: 08 20 0c e9 cmp\.lt\.or\.andcm p2,p3=r0,r4 - 350: 00 10 00 08 43 36 \[MII\] cmp\.ge\.or p2,p3=r0,r4 - 356: 20 00 10 86 64 60 cmp\.ge\.and p2,p3=r0,r4 - 35c: 00 20 08 e9 cmp\.ge\.or\.andcm p3,p2=r0,r4 - 360: 00 10 02 08 03 32 \[MII\] cmp\.le\.and p2,p3=r0,r4 - 366: 20 04 10 06 6c 40 cmp\.le\.or p2,p3=r0,r4 - 36c: 08 20 0c e8 cmp\.le\.or\.andcm p2,p3=r0,r4 - 370: 00 10 00 08 03 36 \[MII\] cmp\.gt\.or p2,p3=r0,r4 - 376: 20 00 10 06 64 60 cmp\.gt\.and p2,p3=r0,r4 - 37c: 00 20 08 e8 cmp\.gt\.or\.andcm p3,p2=r0,r4 - 380: 00 10 00 08 03 32 \[MII\] cmp\.gt\.and p2,p3=r0,r4 - 386: 20 00 10 06 6c 40 cmp\.gt\.or p2,p3=r0,r4 - 38c: 00 20 0c e8 cmp\.gt\.or\.andcm p2,p3=r0,r4 - 390: 00 10 02 08 03 36 \[MII\] cmp\.le\.or p2,p3=r0,r4 - 396: 20 04 10 06 64 60 cmp\.le\.and p2,p3=r0,r4 - 39c: 08 20 08 e8 cmp\.le\.or\.andcm p3,p2=r0,r4 - 3a0: 00 10 00 08 43 32 \[MII\] cmp\.ge\.and p2,p3=r0,r4 - 3a6: 20 00 10 86 6c 40 cmp\.ge\.or p2,p3=r0,r4 - 3ac: 00 20 0c e9 cmp\.ge\.or\.andcm p2,p3=r0,r4 - 3b0: 00 10 02 08 43 36 \[MII\] cmp\.lt\.or p2,p3=r0,r4 - 3b6: 20 04 10 86 64 60 cmp\.lt\.and p2,p3=r0,r4 - 3bc: 08 20 08 e9 cmp\.lt\.or\.andcm p3,p2=r0,r4 - 3c0: 00 10 0c 08 83 38 \[MII\] cmp4\.eq p2,p3=r3,r4 - 3c6: 20 18 10 06 73 60 cmp4\.eq p2,p3=3,r4 - 3cc: 30 20 08 e2 cmp4\.eq p3,p2=r3,r4 - 3d0: 00 18 0c 08 82 39 \[MII\] cmp4\.eq p3,p2=3,r4 - 3d6: 20 18 10 06 61 40 cmp4\.lt p2,p3=r3,r4 - 3dc: 30 20 0c c6 cmp4\.lt p2,p3=3,r4 - 3e0: 00 18 10 06 82 30 \[MII\] cmp4\.lt p3,p2=r4,r3 - 3e6: 20 10 10 06 63 40 cmp4\.lt p2,p3=2,r4 - 3ec: 40 18 0c c2 cmp4\.lt p2,p3=r4,r3 - 3f0: 00 18 08 08 82 31 \[MII\] cmp4\.lt p3,p2=2,r4 - 3f6: 30 18 10 04 61 60 cmp4\.lt p3,p2=r3,r4 - 3fc: 30 20 08 c6 cmp4\.lt p3,p2=3,r4 - 400: 00 10 0c 08 83 34 \[MII\] cmp4\.ltu p2,p3=r3,r4 - 406: 20 18 10 06 6b 60 cmp4\.ltu p2,p3=3,r4 - 40c: 40 18 08 d2 cmp4\.ltu p3,p2=r4,r3 - 410: 00 10 08 08 83 35 \[MII\] cmp4\.ltu p2,p3=2,r4 - 416: 20 20 0c 06 69 60 cmp4\.ltu p2,p3=r4,r3 - 41c: 20 20 08 d6 cmp4\.ltu p3,p2=2,r4 - 420: 00 18 0c 08 82 34 \[MII\] cmp4\.ltu p3,p2=r3,r4 - 426: 30 18 10 04 6b 40 cmp4\.ltu p3,p2=3,r4 - 42c: 38 20 0c e2 cmp4\.eq\.unc p2,p3=r3,r4 - 430: 00 10 0e 08 83 39 \[MII\] cmp4\.eq\.unc p2,p3=3,r4 - 436: 30 1c 10 04 71 60 cmp4\.eq\.unc p3,p2=r3,r4 - 43c: 38 20 08 e6 cmp4\.eq\.unc p3,p2=3,r4 - 440: 00 10 0e 08 83 30 \[MII\] cmp4\.lt\.unc p2,p3=r3,r4 - 446: 20 1c 10 06 63 60 cmp4\.lt\.unc p2,p3=3,r4 - 44c: 48 18 08 c2 cmp4\.lt\.unc p3,p2=r4,r3 - 450: 00 10 0a 08 83 31 \[MII\] cmp4\.lt\.unc p2,p3=2,r4 - 456: 20 24 0c 06 61 60 cmp4\.lt\.unc p2,p3=r4,r3 - 45c: 28 20 08 c6 cmp4\.lt\.unc p3,p2=2,r4 - 460: 00 18 0e 08 82 30 \[MII\] cmp4\.lt\.unc p3,p2=r3,r4 - 466: 30 1c 10 04 63 40 cmp4\.lt\.unc p3,p2=3,r4 - 46c: 38 20 0c d2 cmp4\.ltu\.unc p2,p3=r3,r4 - 470: 00 10 0e 08 83 35 \[MII\] cmp4\.ltu\.unc p2,p3=3,r4 - 476: 30 24 0c 04 69 40 cmp4\.ltu\.unc p3,p2=r4,r3 - 47c: 28 20 0c d6 cmp4\.ltu\.unc p2,p3=2,r4 - 480: 00 10 12 06 83 34 \[MII\] cmp4\.ltu\.unc p2,p3=r4,r3 - 486: 30 14 10 04 6b 60 cmp4\.ltu\.unc p3,p2=2,r4 - 48c: 38 20 08 d2 cmp4\.ltu\.unc p3,p2=r3,r4 - 490: 00 18 0e 08 82 35 \[MII\] cmp4\.ltu\.unc p3,p2=3,r4 - 496: 20 18 10 86 61 40 cmp4\.eq\.and p2,p3=r3,r4 - 49c: 30 20 0c c7 cmp4\.eq\.and p2,p3=3,r4 - 4a0: 00 10 0c 08 c3 34 \[MII\] cmp4\.eq\.or p2,p3=r3,r4 - 4a6: 20 18 10 86 6b 40 cmp4\.eq\.or p2,p3=3,r4 - 4ac: 30 20 0c e3 cmp4\.eq\.or\.andcm p2,p3=r3,r4 - 4b0: 00 10 0c 08 c3 39 \[MII\] cmp4\.eq\.or\.andcm p2,p3=3,r4 - 4b6: 20 1c 10 86 69 40 cmp4\.ne\.or p2,p3=r3,r4 - 4bc: 38 20 0c d7 cmp4\.ne\.or p2,p3=3,r4 - 4c0: 00 10 0e 08 c3 30 \[MII\] cmp4\.ne\.and p2,p3=r3,r4 - 4c6: 20 1c 10 86 63 60 cmp4\.ne\.and p2,p3=3,r4 - 4cc: 38 20 08 e3 cmp4\.ne\.or\.andcm p3,p2=r3,r4 - 4d0: 00 18 0e 08 c2 39 \[MII\] cmp4\.ne\.or\.andcm p3,p2=3,r4 - 4d6: 20 1c 10 86 61 40 cmp4\.ne\.and p2,p3=r3,r4 - 4dc: 38 20 0c c7 cmp4\.ne\.and p2,p3=3,r4 - 4e0: 00 10 0e 08 c3 34 \[MII\] cmp4\.ne\.or p2,p3=r3,r4 - 4e6: 20 1c 10 86 6b 40 cmp4\.ne\.or p2,p3=3,r4 - 4ec: 38 20 0c e3 cmp4\.ne\.or\.andcm p2,p3=r3,r4 - 4f0: 00 10 0e 08 c3 39 \[MII\] cmp4\.ne\.or\.andcm p2,p3=3,r4 - 4f6: 20 18 10 86 69 40 cmp4\.eq\.or p2,p3=r3,r4 - 4fc: 30 20 0c d7 cmp4\.eq\.or p2,p3=3,r4 - 500: 00 10 0c 08 c3 30 \[MII\] cmp4\.eq\.and p2,p3=r3,r4 - 506: 20 18 10 86 63 60 cmp4\.eq\.and p2,p3=3,r4 - 50c: 30 20 08 e3 cmp4\.eq\.or\.andcm p3,p2=r3,r4 - 510: 00 18 0c 08 c2 39 \[MII\] cmp4\.eq\.or\.andcm p3,p2=3,r4 - 516: 20 00 10 86 61 40 cmp4\.eq\.and p2,p3=r0,r4 - 51c: 00 20 0c d3 cmp4\.eq\.or p2,p3=r0,r4 - 520: 00 10 00 08 c3 38 \[MII\] cmp4\.eq\.or\.andcm p2,p3=r0,r4 - 526: 20 04 10 86 69 40 cmp4\.ne\.or p2,p3=r0,r4 - 52c: 08 20 0c c3 cmp4\.ne\.and p2,p3=r0,r4 - 530: 00 18 02 08 c2 38 \[MII\] cmp4\.ne\.or\.andcm p3,p2=r0,r4 - 536: 20 04 10 86 61 40 cmp4\.ne\.and p2,p3=r0,r4 - 53c: 08 20 0c d3 cmp4\.ne\.or p2,p3=r0,r4 - 540: 00 10 02 08 c3 38 \[MII\] cmp4\.ne\.or\.andcm p2,p3=r0,r4 - 546: 20 00 10 86 69 40 cmp4\.eq\.or p2,p3=r0,r4 - 54c: 00 20 0c c3 cmp4\.eq\.and p2,p3=r0,r4 - 550: 00 18 00 08 c2 38 \[MII\] cmp4\.eq\.or\.andcm p3,p2=r0,r4 - 556: 20 04 10 86 65 40 cmp4\.lt\.and p2,p3=r0,r4 - 55c: 08 20 0c db cmp4\.lt\.or p2,p3=r0,r4 - 560: 00 10 02 08 c3 3a \[MII\] cmp4\.lt\.or\.andcm p2,p3=r0,r4 - 566: 20 00 10 86 6d 40 cmp4\.ge\.or p2,p3=r0,r4 - 56c: 00 20 0c cb cmp4\.ge\.and p2,p3=r0,r4 - 570: 00 18 00 08 c2 3a \[MII\] cmp4\.ge\.or\.andcm p3,p2=r0,r4 - 576: 20 04 10 06 65 40 cmp4\.le\.and p2,p3=r0,r4 - 57c: 08 20 0c da cmp4\.le\.or p2,p3=r0,r4 - 580: 00 10 02 08 83 3a \[MII\] cmp4\.le\.or\.andcm p2,p3=r0,r4 - 586: 20 00 10 06 6d 40 cmp4\.gt\.or p2,p3=r0,r4 - 58c: 00 20 0c ca cmp4\.gt\.and p2,p3=r0,r4 - 590: 00 18 00 08 82 3a \[MII\] cmp4\.gt\.or\.andcm p3,p2=r0,r4 - 596: 20 00 10 06 65 40 cmp4\.gt\.and p2,p3=r0,r4 - 59c: 00 20 0c da cmp4\.gt\.or p2,p3=r0,r4 - 5a0: 00 10 00 08 83 3a \[MII\] cmp4\.gt\.or\.andcm p2,p3=r0,r4 - 5a6: 20 04 10 06 6d 40 cmp4\.le\.or p2,p3=r0,r4 - 5ac: 08 20 0c ca cmp4\.le\.and p2,p3=r0,r4 - 5b0: 00 18 02 08 82 3a \[MII\] cmp4\.le\.or\.andcm p3,p2=r0,r4 - 5b6: 20 00 10 86 65 40 cmp4\.ge\.and p2,p3=r0,r4 - 5bc: 00 20 0c db cmp4\.ge\.or p2,p3=r0,r4 - 5c0: 00 10 00 08 c3 3a \[MII\] cmp4\.ge\.or\.andcm p2,p3=r0,r4 - 5c6: 20 04 10 86 6d 40 cmp4\.lt\.or p2,p3=r0,r4 - 5cc: 08 20 0c cb cmp4\.lt\.and p2,p3=r0,r4 - 5d0: 01 18 02 08 c2 3a \[MII\] cmp4\.lt\.or\.andcm p3,p2=r0,r4 - 5d6: 00 00 00 02 00 00 nop\.i 0x0 - 5dc: 00 00 04 00 nop\.i 0x0;; + 306: 20 20 00 86 60 40 cmp\.eq\.and p2,p3=r4,r0 + 30c: 00 20 0c d1 cmp\.eq\.or p2,p3=r0,r4 + 310: 00 10 10 00 43 34 \[MII\] cmp\.eq\.or p2,p3=r4,r0 + 316: 20 00 10 86 70 40 cmp\.eq\.or\.andcm p2,p3=r0,r4 + 31c: 40 00 0c e1 cmp\.eq\.or\.andcm p2,p3=r4,r0 + 320: 00 10 02 08 43 34 \[MII\] cmp\.ne\.or p2,p3=r0,r4 + 326: 20 24 00 86 68 40 cmp\.ne\.or p2,p3=r4,r0 + 32c: 08 20 0c c1 cmp\.ne\.and p2,p3=r0,r4 + 330: 00 10 12 00 43 30 \[MII\] cmp\.ne\.and p2,p3=r4,r0 + 336: 30 04 10 84 70 60 cmp\.ne\.or\.andcm p3,p2=r0,r4 + 33c: 48 00 08 e1 cmp\.ne\.or\.andcm p3,p2=r4,r0 + 340: 00 10 02 08 43 30 \[MII\] cmp\.ne\.and p2,p3=r0,r4 + 346: 20 24 00 86 60 40 cmp\.ne\.and p2,p3=r4,r0 + 34c: 08 20 0c d1 cmp\.ne\.or p2,p3=r0,r4 + 350: 00 10 12 00 43 34 \[MII\] cmp\.ne\.or p2,p3=r4,r0 + 356: 20 04 10 86 70 40 cmp\.ne\.or\.andcm p2,p3=r0,r4 + 35c: 48 00 0c e1 cmp\.ne\.or\.andcm p2,p3=r4,r0 + 360: 00 10 00 08 43 34 \[MII\] cmp\.eq\.or p2,p3=r0,r4 + 366: 20 20 00 86 68 40 cmp\.eq\.or p2,p3=r4,r0 + 36c: 00 20 0c c1 cmp\.eq\.and p2,p3=r0,r4 + 370: 00 10 10 00 43 30 \[MII\] cmp\.eq\.and p2,p3=r4,r0 + 376: 30 00 10 84 70 60 cmp\.eq\.or\.andcm p3,p2=r0,r4 + 37c: 40 00 08 e1 cmp\.eq\.or\.andcm p3,p2=r4,r0 + 380: 00 10 02 08 43 32 \[MII\] cmp\.lt\.and p2,p3=r0,r4 + 386: 20 00 10 06 64 40 cmp\.gt\.and p2,p3=r0,r4 + 38c: 08 20 0c d9 cmp\.lt\.or p2,p3=r0,r4 + 390: 00 10 00 08 03 36 \[MII\] cmp\.gt\.or p2,p3=r0,r4 + 396: 20 04 10 86 74 40 cmp\.lt\.or\.andcm p2,p3=r0,r4 + 39c: 00 20 0c e8 cmp\.gt\.or\.andcm p2,p3=r0,r4 + 3a0: 00 10 00 08 43 36 \[MII\] cmp\.ge\.or p2,p3=r0,r4 + 3a6: 20 04 10 06 6c 40 cmp\.le\.or p2,p3=r0,r4 + 3ac: 00 20 0c c9 cmp\.ge\.and p2,p3=r0,r4 + 3b0: 00 10 02 08 03 32 \[MII\] cmp\.le\.and p2,p3=r0,r4 + 3b6: 30 00 10 84 74 60 cmp\.ge\.or\.andcm p3,p2=r0,r4 + 3bc: 08 20 08 e8 cmp\.le\.or\.andcm p3,p2=r0,r4 + 3c0: 00 10 02 08 03 32 \[MII\] cmp\.le\.and p2,p3=r0,r4 + 3c6: 20 00 10 86 64 40 cmp\.ge\.and p2,p3=r0,r4 + 3cc: 08 20 0c d8 cmp\.le\.or p2,p3=r0,r4 + 3d0: 00 10 00 08 43 36 \[MII\] cmp\.ge\.or p2,p3=r0,r4 + 3d6: 20 04 10 06 74 40 cmp\.le\.or\.andcm p2,p3=r0,r4 + 3dc: 00 20 0c e9 cmp\.ge\.or\.andcm p2,p3=r0,r4 + 3e0: 00 10 00 08 03 36 \[MII\] cmp\.gt\.or p2,p3=r0,r4 + 3e6: 20 04 10 86 6c 40 cmp\.lt\.or p2,p3=r0,r4 + 3ec: 00 20 0c c8 cmp\.gt\.and p2,p3=r0,r4 + 3f0: 00 10 02 08 43 32 \[MII\] cmp\.lt\.and p2,p3=r0,r4 + 3f6: 30 00 10 04 74 60 cmp\.gt\.or\.andcm p3,p2=r0,r4 + 3fc: 08 20 08 e9 cmp\.lt\.or\.andcm p3,p2=r0,r4 + 400: 00 10 00 08 03 32 \[MII\] cmp\.gt\.and p2,p3=r0,r4 + 406: 20 04 10 86 64 40 cmp\.lt\.and p2,p3=r0,r4 + 40c: 00 20 0c d8 cmp\.gt\.or p2,p3=r0,r4 + 410: 00 10 02 08 43 36 \[MII\] cmp\.lt\.or p2,p3=r0,r4 + 416: 20 00 10 06 74 40 cmp\.gt\.or\.andcm p2,p3=r0,r4 + 41c: 08 20 0c e9 cmp\.lt\.or\.andcm p2,p3=r0,r4 + 420: 00 10 02 08 03 36 \[MII\] cmp\.le\.or p2,p3=r0,r4 + 426: 20 00 10 86 6c 40 cmp\.ge\.or p2,p3=r0,r4 + 42c: 08 20 0c c8 cmp\.le\.and p2,p3=r0,r4 + 430: 00 10 00 08 43 32 \[MII\] cmp\.ge\.and p2,p3=r0,r4 + 436: 30 04 10 04 74 60 cmp\.le\.or\.andcm p3,p2=r0,r4 + 43c: 00 20 08 e9 cmp\.ge\.or\.andcm p3,p2=r0,r4 + 440: 00 10 00 08 43 32 \[MII\] cmp\.ge\.and p2,p3=r0,r4 + 446: 20 04 10 06 64 40 cmp\.le\.and p2,p3=r0,r4 + 44c: 00 20 0c d9 cmp\.ge\.or p2,p3=r0,r4 + 450: 00 10 02 08 03 36 \[MII\] cmp\.le\.or p2,p3=r0,r4 + 456: 20 00 10 86 74 40 cmp\.ge\.or\.andcm p2,p3=r0,r4 + 45c: 08 20 0c e8 cmp\.le\.or\.andcm p2,p3=r0,r4 + 460: 00 10 02 08 43 36 \[MII\] cmp\.lt\.or p2,p3=r0,r4 + 466: 20 00 10 06 6c 40 cmp\.gt\.or p2,p3=r0,r4 + 46c: 08 20 0c c9 cmp\.lt\.and p2,p3=r0,r4 + 470: 00 10 00 08 03 32 \[MII\] cmp\.gt\.and p2,p3=r0,r4 + 476: 30 04 10 84 74 60 cmp\.lt\.or\.andcm p3,p2=r0,r4 + 47c: 00 20 08 e8 cmp\.gt\.or\.andcm p3,p2=r0,r4 + 480: 00 10 0c 08 83 38 \[MII\] cmp4\.eq p2,p3=r3,r4 + 486: 20 18 10 06 73 60 cmp4\.eq p2,p3=3,r4 + 48c: 30 20 08 e2 cmp4\.eq p3,p2=r3,r4 + 490: 00 18 0c 08 82 39 \[MII\] cmp4\.eq p3,p2=3,r4 + 496: 20 18 10 06 61 40 cmp4\.lt p2,p3=r3,r4 + 49c: 30 20 0c c6 cmp4\.lt p2,p3=3,r4 + 4a0: 00 18 10 06 82 30 \[MII\] cmp4\.lt p3,p2=r4,r3 + 4a6: 20 10 10 06 63 40 cmp4\.lt p2,p3=2,r4 + 4ac: 40 18 0c c2 cmp4\.lt p2,p3=r4,r3 + 4b0: 00 18 08 08 82 31 \[MII\] cmp4\.lt p3,p2=2,r4 + 4b6: 30 18 10 04 61 60 cmp4\.lt p3,p2=r3,r4 + 4bc: 30 20 08 c6 cmp4\.lt p3,p2=3,r4 + 4c0: 00 10 0c 08 83 34 \[MII\] cmp4\.ltu p2,p3=r3,r4 + 4c6: 20 18 10 06 6b 60 cmp4\.ltu p2,p3=3,r4 + 4cc: 40 18 08 d2 cmp4\.ltu p3,p2=r4,r3 + 4d0: 00 10 08 08 83 35 \[MII\] cmp4\.ltu p2,p3=2,r4 + 4d6: 20 20 0c 06 69 60 cmp4\.ltu p2,p3=r4,r3 + 4dc: 20 20 08 d6 cmp4\.ltu p3,p2=2,r4 + 4e0: 00 18 0c 08 82 34 \[MII\] cmp4\.ltu p3,p2=r3,r4 + 4e6: 30 18 10 04 6b 40 cmp4\.ltu p3,p2=3,r4 + 4ec: 38 20 0c e2 cmp4\.eq\.unc p2,p3=r3,r4 + 4f0: 00 10 0e 08 83 39 \[MII\] cmp4\.eq\.unc p2,p3=3,r4 + 4f6: 30 1c 10 04 71 60 cmp4\.eq\.unc p3,p2=r3,r4 + 4fc: 38 20 08 e6 cmp4\.eq\.unc p3,p2=3,r4 + 500: 00 10 0e 08 83 30 \[MII\] cmp4\.lt\.unc p2,p3=r3,r4 + 506: 20 1c 10 06 63 60 cmp4\.lt\.unc p2,p3=3,r4 + 50c: 48 18 08 c2 cmp4\.lt\.unc p3,p2=r4,r3 + 510: 00 10 0a 08 83 31 \[MII\] cmp4\.lt\.unc p2,p3=2,r4 + 516: 20 24 0c 06 61 60 cmp4\.lt\.unc p2,p3=r4,r3 + 51c: 28 20 08 c6 cmp4\.lt\.unc p3,p2=2,r4 + 520: 00 18 0e 08 82 30 \[MII\] cmp4\.lt\.unc p3,p2=r3,r4 + 526: 30 1c 10 04 63 40 cmp4\.lt\.unc p3,p2=3,r4 + 52c: 38 20 0c d2 cmp4\.ltu\.unc p2,p3=r3,r4 + 530: 00 10 0e 08 83 35 \[MII\] cmp4\.ltu\.unc p2,p3=3,r4 + 536: 30 24 0c 04 69 40 cmp4\.ltu\.unc p3,p2=r4,r3 + 53c: 28 20 0c d6 cmp4\.ltu\.unc p2,p3=2,r4 + 540: 00 10 12 06 83 34 \[MII\] cmp4\.ltu\.unc p2,p3=r4,r3 + 546: 30 14 10 04 6b 60 cmp4\.ltu\.unc p3,p2=2,r4 + 54c: 38 20 08 d2 cmp4\.ltu\.unc p3,p2=r3,r4 + 550: 00 18 0e 08 82 35 \[MII\] cmp4\.ltu\.unc p3,p2=3,r4 + 556: 20 18 10 86 61 40 cmp4\.eq\.and p2,p3=r3,r4 + 55c: 30 20 0c c7 cmp4\.eq\.and p2,p3=3,r4 + 560: 00 10 0c 08 c3 34 \[MII\] cmp4\.eq\.or p2,p3=r3,r4 + 566: 20 18 10 86 6b 40 cmp4\.eq\.or p2,p3=3,r4 + 56c: 30 20 0c e3 cmp4\.eq\.or\.andcm p2,p3=r3,r4 + 570: 00 10 0c 08 c3 39 \[MII\] cmp4\.eq\.or\.andcm p2,p3=3,r4 + 576: 20 1c 10 86 69 40 cmp4\.ne\.or p2,p3=r3,r4 + 57c: 38 20 0c d7 cmp4\.ne\.or p2,p3=3,r4 + 580: 00 10 0e 08 c3 30 \[MII\] cmp4\.ne\.and p2,p3=r3,r4 + 586: 20 1c 10 86 63 60 cmp4\.ne\.and p2,p3=3,r4 + 58c: 38 20 08 e3 cmp4\.ne\.or\.andcm p3,p2=r3,r4 + 590: 00 18 0e 08 c2 39 \[MII\] cmp4\.ne\.or\.andcm p3,p2=3,r4 + 596: 20 1c 10 86 61 40 cmp4\.ne\.and p2,p3=r3,r4 + 59c: 38 20 0c c7 cmp4\.ne\.and p2,p3=3,r4 + 5a0: 00 10 0e 08 c3 34 \[MII\] cmp4\.ne\.or p2,p3=r3,r4 + 5a6: 20 1c 10 86 6b 40 cmp4\.ne\.or p2,p3=3,r4 + 5ac: 38 20 0c e3 cmp4\.ne\.or\.andcm p2,p3=r3,r4 + 5b0: 00 10 0e 08 c3 39 \[MII\] cmp4\.ne\.or\.andcm p2,p3=3,r4 + 5b6: 20 18 10 86 69 40 cmp4\.eq\.or p2,p3=r3,r4 + 5bc: 30 20 0c d7 cmp4\.eq\.or p2,p3=3,r4 + 5c0: 00 10 0c 08 c3 30 \[MII\] cmp4\.eq\.and p2,p3=r3,r4 + 5c6: 20 18 10 86 63 60 cmp4\.eq\.and p2,p3=3,r4 + 5cc: 30 20 08 e3 cmp4\.eq\.or\.andcm p3,p2=r3,r4 + 5d0: 00 18 0c 08 c2 39 \[MII\] cmp4\.eq\.or\.andcm p3,p2=3,r4 + 5d6: 20 00 10 86 61 40 cmp4\.eq\.and p2,p3=r0,r4 + 5dc: 40 00 0c c3 cmp4\.eq\.and p2,p3=r4,r0 + 5e0: 00 10 00 08 c3 34 \[MII\] cmp4\.eq\.or p2,p3=r0,r4 + 5e6: 20 20 00 86 69 40 cmp4\.eq\.or p2,p3=r4,r0 + 5ec: 00 20 0c e3 cmp4\.eq\.or\.andcm p2,p3=r0,r4 + 5f0: 00 10 10 00 c3 38 \[MII\] cmp4\.eq\.or\.andcm p2,p3=r4,r0 + 5f6: 20 04 10 86 69 40 cmp4\.ne\.or p2,p3=r0,r4 + 5fc: 48 00 0c d3 cmp4\.ne\.or p2,p3=r4,r0 + 600: 00 10 02 08 c3 30 \[MII\] cmp4\.ne\.and p2,p3=r0,r4 + 606: 20 24 00 86 61 60 cmp4\.ne\.and p2,p3=r4,r0 + 60c: 08 20 08 e3 cmp4\.ne\.or\.andcm p3,p2=r0,r4 + 610: 00 18 12 00 c2 38 \[MII\] cmp4\.ne\.or\.andcm p3,p2=r4,r0 + 616: 20 04 10 86 61 40 cmp4\.ne\.and p2,p3=r0,r4 + 61c: 48 00 0c c3 cmp4\.ne\.and p2,p3=r4,r0 + 620: 00 10 02 08 c3 34 \[MII\] cmp4\.ne\.or p2,p3=r0,r4 + 626: 20 24 00 86 69 40 cmp4\.ne\.or p2,p3=r4,r0 + 62c: 08 20 0c e3 cmp4\.ne\.or\.andcm p2,p3=r0,r4 + 630: 00 10 12 00 c3 38 \[MII\] cmp4\.ne\.or\.andcm p2,p3=r4,r0 + 636: 20 00 10 86 69 40 cmp4\.eq\.or p2,p3=r0,r4 + 63c: 40 00 0c d3 cmp4\.eq\.or p2,p3=r4,r0 + 640: 00 10 00 08 c3 30 \[MII\] cmp4\.eq\.and p2,p3=r0,r4 + 646: 20 20 00 86 61 60 cmp4\.eq\.and p2,p3=r4,r0 + 64c: 00 20 08 e3 cmp4\.eq\.or\.andcm p3,p2=r0,r4 + 650: 00 18 10 00 c2 38 \[MII\] cmp4\.eq\.or\.andcm p3,p2=r4,r0 + 656: 20 04 10 86 65 40 cmp4\.lt\.and p2,p3=r0,r4 + 65c: 00 20 0c ca cmp4\.gt\.and p2,p3=r0,r4 + 660: 00 10 02 08 c3 36 \[MII\] cmp4\.lt\.or p2,p3=r0,r4 + 666: 20 00 10 06 6d 40 cmp4\.gt\.or p2,p3=r0,r4 + 66c: 08 20 0c eb cmp4\.lt\.or\.andcm p2,p3=r0,r4 + 670: 00 10 00 08 83 3a \[MII\] cmp4\.gt\.or\.andcm p2,p3=r0,r4 + 676: 20 00 10 86 6d 40 cmp4\.ge\.or p2,p3=r0,r4 + 67c: 08 20 0c da cmp4\.le\.or p2,p3=r0,r4 + 680: 00 10 00 08 c3 32 \[MII\] cmp4\.ge\.and p2,p3=r0,r4 + 686: 20 04 10 06 65 60 cmp4\.le\.and p2,p3=r0,r4 + 68c: 00 20 08 eb cmp4\.ge\.or\.andcm p3,p2=r0,r4 + 690: 00 18 02 08 82 3a \[MII\] cmp4\.le\.or\.andcm p3,p2=r0,r4 + 696: 20 04 10 06 65 40 cmp4\.le\.and p2,p3=r0,r4 + 69c: 00 20 0c cb cmp4\.ge\.and p2,p3=r0,r4 + 6a0: 00 10 02 08 83 36 \[MII\] cmp4\.le\.or p2,p3=r0,r4 + 6a6: 20 00 10 86 6d 40 cmp4\.ge\.or p2,p3=r0,r4 + 6ac: 08 20 0c ea cmp4\.le\.or\.andcm p2,p3=r0,r4 + 6b0: 00 10 00 08 c3 3a \[MII\] cmp4\.ge\.or\.andcm p2,p3=r0,r4 + 6b6: 20 00 10 06 6d 40 cmp4\.gt\.or p2,p3=r0,r4 + 6bc: 08 20 0c db cmp4\.lt\.or p2,p3=r0,r4 + 6c0: 00 10 00 08 83 32 \[MII\] cmp4\.gt\.and p2,p3=r0,r4 + 6c6: 20 04 10 86 65 60 cmp4\.lt\.and p2,p3=r0,r4 + 6cc: 00 20 08 ea cmp4\.gt\.or\.andcm p3,p2=r0,r4 + 6d0: 00 18 02 08 c2 3a \[MII\] cmp4\.lt\.or\.andcm p3,p2=r0,r4 + 6d6: 20 00 10 06 65 40 cmp4\.gt\.and p2,p3=r0,r4 + 6dc: 08 20 0c cb cmp4\.lt\.and p2,p3=r0,r4 + 6e0: 00 10 00 08 83 36 \[MII\] cmp4\.gt\.or p2,p3=r0,r4 + 6e6: 20 04 10 86 6d 40 cmp4\.lt\.or p2,p3=r0,r4 + 6ec: 00 20 0c ea cmp4\.gt\.or\.andcm p2,p3=r0,r4 + 6f0: 00 10 02 08 c3 3a \[MII\] cmp4\.lt\.or\.andcm p2,p3=r0,r4 + 6f6: 20 04 10 06 6d 40 cmp4\.le\.or p2,p3=r0,r4 + 6fc: 00 20 0c db cmp4\.ge\.or p2,p3=r0,r4 + 700: 00 10 02 08 83 32 \[MII\] cmp4\.le\.and p2,p3=r0,r4 + 706: 20 00 10 86 65 60 cmp4\.ge\.and p2,p3=r0,r4 + 70c: 08 20 08 ea cmp4\.le\.or\.andcm p3,p2=r0,r4 + 710: 00 18 00 08 c2 3a \[MII\] cmp4\.ge\.or\.andcm p3,p2=r0,r4 + 716: 20 00 10 86 65 40 cmp4\.ge\.and p2,p3=r0,r4 + 71c: 08 20 0c ca cmp4\.le\.and p2,p3=r0,r4 + 720: 00 10 00 08 c3 36 \[MII\] cmp4\.ge\.or p2,p3=r0,r4 + 726: 20 04 10 06 6d 40 cmp4\.le\.or p2,p3=r0,r4 + 72c: 00 20 0c eb cmp4\.ge\.or\.andcm p2,p3=r0,r4 + 730: 00 10 02 08 83 3a \[MII\] cmp4\.le\.or\.andcm p2,p3=r0,r4 + 736: 20 04 10 86 6d 40 cmp4\.lt\.or p2,p3=r0,r4 + 73c: 00 20 0c da cmp4\.gt\.or p2,p3=r0,r4 + 740: 00 10 02 08 c3 32 \[MII\] cmp4\.lt\.and p2,p3=r0,r4 + 746: 20 00 10 06 65 60 cmp4\.gt\.and p2,p3=r0,r4 + 74c: 08 20 08 eb cmp4\.lt\.or\.andcm p3,p2=r0,r4 + 750: 01 18 00 08 82 3a \[MII\] cmp4\.gt\.or\.andcm p3,p2=r0,r4 + 756: 00 00 00 02 00 00 nop\.i 0x0 + 75c: 00 00 04 00 nop\.i 0x0;; diff --git a/gas/testsuite/gas/ia64/opc-a.pl b/gas/testsuite/gas/ia64/opc-a.pl index afddf06..8b5e12d 100644 --- a/gas/testsuite/gas/ia64/opc-a.pl +++ b/gas/testsuite/gas/ia64/opc-a.pl @@ -132,6 +132,7 @@ foreach $C ( "cmp", "cmp4" ) { foreach $i (@cmp6) { foreach $c (@ctype) { print "\t${C}${i}${c} p2, p3 = r0, r4\n"; + print "\t${C}${i}${c} p2, p3 = r4, r0\n"; } print "\n"; } diff --git a/gas/testsuite/gas/ia64/opc-a.s b/gas/testsuite/gas/ia64/opc-a.s index 0074d9e..c7ffdaa 100644 --- a/gas/testsuite/gas/ia64/opc-a.s +++ b/gas/testsuite/gas/ia64/opc-a.s @@ -170,46 +170,82 @@ _start: cmp.ne.and.orcm p2, p3 = 3, r4 cmp.eq.and p2, p3 = r0, r4 + cmp.eq.and p2, p3 = r4, r0 cmp.eq.or p2, p3 = r0, r4 + cmp.eq.or p2, p3 = r4, r0 cmp.eq.or.andcm p2, p3 = r0, r4 + cmp.eq.or.andcm p2, p3 = r4, r0 cmp.eq.orcm p2, p3 = r0, r4 + cmp.eq.orcm p2, p3 = r4, r0 cmp.eq.andcm p2, p3 = r0, r4 + cmp.eq.andcm p2, p3 = r4, r0 cmp.eq.and.orcm p2, p3 = r0, r4 + cmp.eq.and.orcm p2, p3 = r4, r0 cmp.ne.and p2, p3 = r0, r4 + cmp.ne.and p2, p3 = r4, r0 cmp.ne.or p2, p3 = r0, r4 + cmp.ne.or p2, p3 = r4, r0 cmp.ne.or.andcm p2, p3 = r0, r4 + cmp.ne.or.andcm p2, p3 = r4, r0 cmp.ne.orcm p2, p3 = r0, r4 + cmp.ne.orcm p2, p3 = r4, r0 cmp.ne.andcm p2, p3 = r0, r4 + cmp.ne.andcm p2, p3 = r4, r0 cmp.ne.and.orcm p2, p3 = r0, r4 + cmp.ne.and.orcm p2, p3 = r4, r0 cmp.lt.and p2, p3 = r0, r4 + cmp.lt.and p2, p3 = r4, r0 cmp.lt.or p2, p3 = r0, r4 + cmp.lt.or p2, p3 = r4, r0 cmp.lt.or.andcm p2, p3 = r0, r4 + cmp.lt.or.andcm p2, p3 = r4, r0 cmp.lt.orcm p2, p3 = r0, r4 + cmp.lt.orcm p2, p3 = r4, r0 cmp.lt.andcm p2, p3 = r0, r4 + cmp.lt.andcm p2, p3 = r4, r0 cmp.lt.and.orcm p2, p3 = r0, r4 + cmp.lt.and.orcm p2, p3 = r4, r0 cmp.le.and p2, p3 = r0, r4 + cmp.le.and p2, p3 = r4, r0 cmp.le.or p2, p3 = r0, r4 + cmp.le.or p2, p3 = r4, r0 cmp.le.or.andcm p2, p3 = r0, r4 + cmp.le.or.andcm p2, p3 = r4, r0 cmp.le.orcm p2, p3 = r0, r4 + cmp.le.orcm p2, p3 = r4, r0 cmp.le.andcm p2, p3 = r0, r4 + cmp.le.andcm p2, p3 = r4, r0 cmp.le.and.orcm p2, p3 = r0, r4 + cmp.le.and.orcm p2, p3 = r4, r0 cmp.gt.and p2, p3 = r0, r4 + cmp.gt.and p2, p3 = r4, r0 cmp.gt.or p2, p3 = r0, r4 + cmp.gt.or p2, p3 = r4, r0 cmp.gt.or.andcm p2, p3 = r0, r4 + cmp.gt.or.andcm p2, p3 = r4, r0 cmp.gt.orcm p2, p3 = r0, r4 + cmp.gt.orcm p2, p3 = r4, r0 cmp.gt.andcm p2, p3 = r0, r4 + cmp.gt.andcm p2, p3 = r4, r0 cmp.gt.and.orcm p2, p3 = r0, r4 + cmp.gt.and.orcm p2, p3 = r4, r0 cmp.ge.and p2, p3 = r0, r4 + cmp.ge.and p2, p3 = r4, r0 cmp.ge.or p2, p3 = r0, r4 + cmp.ge.or p2, p3 = r4, r0 cmp.ge.or.andcm p2, p3 = r0, r4 + cmp.ge.or.andcm p2, p3 = r4, r0 cmp.ge.orcm p2, p3 = r0, r4 + cmp.ge.orcm p2, p3 = r4, r0 cmp.ge.andcm p2, p3 = r0, r4 + cmp.ge.andcm p2, p3 = r4, r0 cmp.ge.and.orcm p2, p3 = r0, r4 + cmp.ge.and.orcm p2, p3 = r4, r0 cmp4.eq p2, p3 = r3, r4 cmp4.eq p2, p3 = 3, r4 @@ -280,45 +316,81 @@ _start: cmp4.ne.and.orcm p2, p3 = 3, r4 cmp4.eq.and p2, p3 = r0, r4 + cmp4.eq.and p2, p3 = r4, r0 cmp4.eq.or p2, p3 = r0, r4 + cmp4.eq.or p2, p3 = r4, r0 cmp4.eq.or.andcm p2, p3 = r0, r4 + cmp4.eq.or.andcm p2, p3 = r4, r0 cmp4.eq.orcm p2, p3 = r0, r4 + cmp4.eq.orcm p2, p3 = r4, r0 cmp4.eq.andcm p2, p3 = r0, r4 + cmp4.eq.andcm p2, p3 = r4, r0 cmp4.eq.and.orcm p2, p3 = r0, r4 + cmp4.eq.and.orcm p2, p3 = r4, r0 cmp4.ne.and p2, p3 = r0, r4 + cmp4.ne.and p2, p3 = r4, r0 cmp4.ne.or p2, p3 = r0, r4 + cmp4.ne.or p2, p3 = r4, r0 cmp4.ne.or.andcm p2, p3 = r0, r4 + cmp4.ne.or.andcm p2, p3 = r4, r0 cmp4.ne.orcm p2, p3 = r0, r4 + cmp4.ne.orcm p2, p3 = r4, r0 cmp4.ne.andcm p2, p3 = r0, r4 + cmp4.ne.andcm p2, p3 = r4, r0 cmp4.ne.and.orcm p2, p3 = r0, r4 + cmp4.ne.and.orcm p2, p3 = r4, r0 cmp4.lt.and p2, p3 = r0, r4 + cmp4.lt.and p2, p3 = r4, r0 cmp4.lt.or p2, p3 = r0, r4 + cmp4.lt.or p2, p3 = r4, r0 cmp4.lt.or.andcm p2, p3 = r0, r4 + cmp4.lt.or.andcm p2, p3 = r4, r0 cmp4.lt.orcm p2, p3 = r0, r4 + cmp4.lt.orcm p2, p3 = r4, r0 cmp4.lt.andcm p2, p3 = r0, r4 + cmp4.lt.andcm p2, p3 = r4, r0 cmp4.lt.and.orcm p2, p3 = r0, r4 + cmp4.lt.and.orcm p2, p3 = r4, r0 cmp4.le.and p2, p3 = r0, r4 + cmp4.le.and p2, p3 = r4, r0 cmp4.le.or p2, p3 = r0, r4 + cmp4.le.or p2, p3 = r4, r0 cmp4.le.or.andcm p2, p3 = r0, r4 + cmp4.le.or.andcm p2, p3 = r4, r0 cmp4.le.orcm p2, p3 = r0, r4 + cmp4.le.orcm p2, p3 = r4, r0 cmp4.le.andcm p2, p3 = r0, r4 + cmp4.le.andcm p2, p3 = r4, r0 cmp4.le.and.orcm p2, p3 = r0, r4 + cmp4.le.and.orcm p2, p3 = r4, r0 cmp4.gt.and p2, p3 = r0, r4 + cmp4.gt.and p2, p3 = r4, r0 cmp4.gt.or p2, p3 = r0, r4 + cmp4.gt.or p2, p3 = r4, r0 cmp4.gt.or.andcm p2, p3 = r0, r4 + cmp4.gt.or.andcm p2, p3 = r4, r0 cmp4.gt.orcm p2, p3 = r0, r4 + cmp4.gt.orcm p2, p3 = r4, r0 cmp4.gt.andcm p2, p3 = r0, r4 + cmp4.gt.andcm p2, p3 = r4, r0 cmp4.gt.and.orcm p2, p3 = r0, r4 + cmp4.gt.and.orcm p2, p3 = r4, r0 cmp4.ge.and p2, p3 = r0, r4 + cmp4.ge.and p2, p3 = r4, r0 cmp4.ge.or p2, p3 = r0, r4 + cmp4.ge.or p2, p3 = r4, r0 cmp4.ge.or.andcm p2, p3 = r0, r4 + cmp4.ge.or.andcm p2, p3 = r4, r0 cmp4.ge.orcm p2, p3 = r0, r4 + cmp4.ge.orcm p2, p3 = r4, r0 cmp4.ge.andcm p2, p3 = r0, r4 + cmp4.ge.andcm p2, p3 = r4, r0 cmp4.ge.and.orcm p2, p3 = r0, r4 + cmp4.ge.and.orcm p2, p3 = r4, r0 nop.i 0; nop.i 0 |