x86-64/MPX: relax no-RIP-relative-addressing testcase
authorJan Beulich <jbeulich@novell.com>
Fri, 1 Jul 2016 09:17:30 +0000 (11:17 +0200)
committerJan Beulich <jbeulich@suse.com>
Fri, 1 Jul 2016 09:17:30 +0000 (11:17 +0200)
... for COFF targets.

gas/ChangeLog
gas/testsuite/gas/i386/x86-64-mpx-inval-2.l

index c6b44136fc09ccc6e107f7c97266a1eed182f144..18257389cf61e97f2a3922704d72900085474872 100644 (file)
@@ -1,3 +1,7 @@
+2016-07-01  Jan Beulich  <jbeulich@suse.com>
+
+       * testsuite/gas/i386/mpx-inval-2.l: Relax for COFF targets.
+
 2016-07-01  Tristan Gingold  <gingold@adacore.com>
 
        * NEWS: Add marker for 2.27.
index 409e75fbfbccc205a5a247679c0efcabbc0ef3f3..8bd427c610320d0e2a3a517729e5d3ac5813e0b2 100644 (file)
@@ -122,7 +122,7 @@ GAS LISTING .*
 [      ]*34[   ]+bndstx %bnd3, base\(%rip\)
 [      ]*35[   ]+\?\?\?\? 670F1B0D             bndstx %bnd1, base\(%eip\)
 .*  Error: 32-bit address isn't allowed in 64-bit MPX instructions\.
-[      ]*35[   ]+00000000 
+[      ]*35[   ]+[0-9a-f][0-9a-f][0-9a-f]00000 
 [      ]*36[   ]+
 [      ]*37[   ]+\#\#\# bndldx
 [      ]*38[   ]+\?\?\?\? 670F1A44             bndldx 0x3\(%eax,%ebx,1\), %bnd0
@@ -137,7 +137,7 @@ GAS LISTING .*
 [      ]*41[   ]*bndldx base\(%rip\), %bnd1
 [      ]*42[   ]*\?\?\?\? 670F1A1D             bndldx base\(%eip\), %bnd3
 .*  Error: 32-bit address isn't allowed in 64-bit MPX instructions\.
-[      ]*42[   ]*00000000 
+[      ]*42[   ]*[0-9a-f][0-9a-f][0-9a-f]00000 
 [      ]*43[   ]+
 [      ]*44[   ]+\.intel_syntax noprefix
 [      ]*45[   ]+\?\?\?\? 67F30F1B             bndmk bnd1, \[eax\]
@@ -208,7 +208,7 @@ GAS LISTING .*
 [      ]*73[   ]+bndstx \[rip\+base\], bnd1
 [      ]*74[   ]+\?\?\?\? 670F1B1D             bndstx \[eip\+base\], bnd3
 .*  Error: 32-bit address isn't allowed in 64-bit MPX instructions\.
-[      ]*74[   ]+00000000 
+[      ]*74[   ]+[0-9a-f][0-9a-f][0-9a-f]00000 
 [      ]*75[   ]+
 [      ]*76[   ]+\#\#\# bndldx
 [      ]*77[   ]+\?\?\?\? 670F1A44             bndldx bnd0, \[eax\+ebx\*1\+0x3\]
@@ -224,5 +224,5 @@ GAS LISTING .*
 [      ]*80[   ]+bndldx bnd1, \[rip\+base\]
 [      ]*81[   ]+\?\?\?\? 670F1A1D             bndldx bnd3, \[eip\+base\]
 .*  Error: 32-bit address isn't allowed in 64-bit MPX instructions\.
-[      ]*81      00000000 
+[      ]*81      [0-9a-f][0-9a-f][0-9a-f]00000 
 #pass