diff options
author | H.J. Lu <hjl@lucon.org> | 2007-12-31 15:42:22 +0000 |
---|---|---|
committer | H.J. Lu <hjl@lucon.org> | 2007-12-31 15:42:22 +0000 |
commit | a537f29b25479239671d1494af3372eaab572342 (patch) | |
tree | 4114c4303d9be77949c254f95a8e9b76799bfedd /gas/testsuite/gas/i386/inval.l | |
parent | 90b79d75f0e853dcf5a8806fad9f6392e29964e5 (diff) | |
download | binutils-redhat-a537f29b25479239671d1494af3372eaab572342.tar.gz |
gas/testsuite/
2007-12-31 H.J. Lu <hongjiu.lu@intel.com>
* gas/i386/inval.s: Add test for cvtsi2ss/cvtsi2sd.
* gas/i386/simd.s: Likewise.
* gas/i386/x86-64-simd.s: Likewise.
* gas/i386/inval.l: Updated.
* gas/i386/simd-intel.d: Likewise.
* gas/i386/simd-suffix.d: Likewise.
* gas/i386/simd.d: Likewise.
* gas/i386/sse2.d: Likewise.
* gas/i386/x86-64-opcode.d: Likewise.
* gas/i386/x86-64-simd-intel.d: Likewise.
* gas/i386/x86-64-simd-suffix.d: Likewise.
* gas/i386/x86-64-simd.d: Likewise.
opcodes/
2007-12-31 H.J. Lu <hongjiu.lu@intel.com>
* i386-dis.c (prefix_table): Use "%LQ" on cvtpi2ps/cvtsi2sd.
(putop): Handle '%' and "LQ".
* i386-opc.tbl: Remove IgnoreSize from cvtpi2ps/cvtsi2sd.
* i386-tbl.h: Regenerated.
Diffstat (limited to 'gas/testsuite/gas/i386/inval.l')
-rw-r--r-- | gas/testsuite/gas/i386/inval.l | 117 |
1 files changed, 67 insertions, 50 deletions
diff --git a/gas/testsuite/gas/i386/inval.l b/gas/testsuite/gas/i386/inval.l index 8abcbde95a..41cb399463 100644 --- a/gas/testsuite/gas/i386/inval.l +++ b/gas/testsuite/gas/i386/inval.l @@ -47,56 +47,73 @@ .*:48: Error: .* .*:49: Error: .* .*:50: Error: .* +.*:51: Error: .* +.*:52: Error: .* +.*:55: Error: .* +.*:56: Error: .* +.*:57: Error: .* +.*:58: Error: .* GAS LISTING .* - 1 [ ]* .text - 2 [ ]*# All the following should be illegal - 3 [ ]* mov \(%dx\),%al - 4 [ ]* mov \(%eax,%esp,2\),%al - 5 [ ]* setae %eax - 6 [ ]* pushb %ds - 7 [ ]* popb %ds - 8 [ ]* pushb %al - 9 [ ]* popb %al - 10 [ ]* pushb %ah - 11 [ ]* popb %ah - 12 [ ]* pushb %ax - 13 [ ]* popb %ax - 14 [ ]* pushb %eax - 15 [ ]* popb %eax - 16 [ ]* movb %ds,%ax - 17 [ ]* movb %ds,%eax - 18 [ ]* movb %ax,%ds - 19 [ ]* movb %eax,%ds - 20 [ ]* movdb %eax,%mm0 - 21 [ ]* movqb 0,%mm0 - 22 [ ]* ldsb 0,%eax - 23 [ ]* setnew 0 - 24 [ ]* movdw %eax,%mm0 - 25 [ ]* movqw 0,%mm0 - 26 [ ]* div %cx,%al - 27 [ ]* div %cl,%ax - 28 [ ]* div %ecx,%al - 29 [ ]* imul 10,%bx,%ecx - 30 [ ]* imul 10,%bx,%al - 31 [ ]* popab - 32 [ ]* stil - 33 [ ]* aaab - 34 [ ]* cwdel - 35 [ ]* cwdw - 36 [ ]* callww 0 - 37 [ ]*foo: jaw foo - 38 [ ]* jcxzw foo - 39 [ ]* jecxzl foo - 40 [ ]* loopb foo - 41 [ ]* xlatw %es:%bx - 42 [ ]* xlatl %es:%bx - 43 [ ]* intl 2 - 44 [ ]* int3b - 45 [ ]* hltb - 46 [ ]* fstb %st\(0\) - 47 [ ]* fcompll 28\(%ebp\) - 48 [ ]* fldlw \(%eax\) - 49 [ ]* movl \$%ebx,%eax - 50 [ ]* insertq \$4,\$2,%xmm2,%ebx +[ ]*1[ ]+\.text +[ ]*2[ ]+\# All the following should be illegal +[ ]*3[ ]+mov \(%dx\),%al +[ ]*4[ ]+mov \(%eax,%esp,2\),%al +[ ]*5[ ]+setae %eax +[ ]*6[ ]+pushb %ds +[ ]*7[ ]+popb %ds +[ ]*8[ ]+pushb %al +[ ]*9[ ]+popb %al +[ ]*10[ ]+pushb %ah +[ ]*11[ ]+popb %ah +[ ]*12[ ]+pushb %ax +[ ]*13[ ]+popb %ax +[ ]*14[ ]+pushb %eax +[ ]*15[ ]+popb %eax +[ ]*16[ ]+movb %ds,%ax +[ ]*17[ ]+movb %ds,%eax +[ ]*18[ ]+movb %ax,%ds +[ ]*19[ ]+movb %eax,%ds +[ ]*20[ ]+movdb %eax,%mm0 +[ ]*21[ ]+movqb 0,%mm0 +[ ]*22[ ]+ldsb 0,%eax +[ ]*23[ ]+setnew 0 +[ ]*24[ ]+movdw %eax,%mm0 +[ ]*25[ ]+movqw 0,%mm0 +[ ]*26[ ]+div %cx,%al +[ ]*27[ ]+div %cl,%ax +[ ]*28[ ]+div %ecx,%al +[ ]*29[ ]+imul 10,%bx,%ecx +[ ]*30[ ]+imul 10,%bx,%al +[ ]*31[ ]+popab +[ ]*32[ ]+stil +[ ]*33[ ]+aaab +[ ]*34[ ]+cwdel +[ ]*35[ ]+cwdw +[ ]*36[ ]+callww 0 +[ ]*37[ ]+foo: jaw foo +[ ]*38[ ]+jcxzw foo +[ ]*39[ ]+jecxzl foo +[ ]*40[ ]+loopb foo +[ ]*41[ ]+xlatw %es:%bx +[ ]*42[ ]+xlatl %es:%bx +[ ]*43[ ]+intl 2 +[ ]*44[ ]+int3b +[ ]*45[ ]+hltb +[ ]*46[ ]+fstb %st\(0\) +[ ]*47[ ]+fcompll 28\(%ebp\) +[ ]*48[ ]+fldlw \(%eax\) +[ ]*49[ ]+movl \$%ebx,%eax +[ ]*50[ ]+insertq \$4,\$2,%xmm2,%ebx +[ ]*51[ ]+cvtsi2ssq \(%eax\),%xmm1 +[ ]*52[ ]+cvtsi2sdq \(%eax\),%xmm1 +[ ]*53[ ]+ +[ ]*54[ ]+\.intel_syntax noprefix +[ ]*55[ ]+cvtsi2ss xmm1,QWORD PTR \[eax\] +[ ]*56[ ]+cvtsi2sd xmm1,QWORD PTR \[eax\] +[ ]*57[ ]+cvtsi2ssq xmm1,QWORD PTR \[eax\] +GAS LISTING .* + + +[ ]*58[ ]+cvtsi2sdq xmm1,QWORD PTR \[eax\] |