@@ -1,14 +1,12 @@
.*: Assembler messages:
-.*:6: Error: .*`bndmov'.*
+.*:5: Error: .*`bndmov'.*
GAS LISTING .*
[ ]*1[ ]+\.text
[ ]*2[ ]+\.intel_syntax noprefix
-[ ]*3[ ]+\.arch generic32
-[ ]*4[ ]+bnd:
-[ ]*5[ ]+\?\?\?\? A1000000[ ]+mov eax, bnd0
-[ ]*5[ ]+00
-[ ]*6[ ]+bndmov bnd0, bnd0
-[ ]*7[ ]+\?\?\?\? 00000000 \.p2align 4,0
-#...
+[ ]*3[ ]+bnd:
+[ ]*4[ ]+\?\?\?\? A1000000[ ]+mov eax, bnd0
+[ ]*4[ ]+00
+[ ]*5[ ]+bndmov bnd0, bnd0
+#pass
@@ -1,6 +1,5 @@
.text
.intel_syntax noprefix
- .arch generic32
bnd:
mov eax, bnd0
bndmov bnd0, bnd0
@@ -1,4 +1,4 @@
-#as: -mrelax-relocations=yes
+#as: -mrelax-relocations=yes -march=+mpx
#objdump: -dwr
.*: +file format .*
@@ -1,5 +1,5 @@
#source: got.s
-#as: -mrelax-relocations=no
+#as: -mrelax-relocations=no -march=+mpx
#objdump: -dwr
.*: +file format .*
@@ -68,7 +68,7 @@ if [gas_32_check] then {
run_dump_test "intelok"
run_dump_test "intelok2"
run_dump_test "prefix"
- run_list_test "prefix32" "-al"
+ run_list_test "prefix32" "-al -march=+mpx"
run_dump_test "insn-32"
run_dump_test "lea"
run_dump_test "lea16"
@@ -374,8 +374,8 @@ if [gas_32_check] then {
run_dump_test "prefetch-intel"
run_dump_test "smap"
run_dump_test "mpx"
- run_list_test "mpx-inval-1" "-al"
- run_list_test "mpx-inval-2" "-al"
+ run_list_test "mpx-inval-1" "-al -march=+mpx"
+ run_list_test "mpx-inval-2" "-al -march=+mpx"
run_dump_test "mpx-add-bnd-prefix"
run_dump_test "mpx-16bit"
run_list_test "bnd" "-al"
@@ -1,4 +1,4 @@
-#as: -mlfence-after-load=yes
+#as: -mlfence-after-load=yes -march=+mpx
#objdump: -dw
#warning_output: lfence-load.e
#name: -mlfence-after-load=yes
@@ -1,3 +1,4 @@
+#as: -march=+mpx
#objdump: -drw
#name: i386 MPX
@@ -1,4 +1,4 @@
-#as: -I${srcdir}/$subdir
+#as: -I${srcdir}/$subdir -march=+mpx
#objdump: -drw -Mi8086
#name: i386 MPX (16-bit)
@@ -1,4 +1,4 @@
-#as: -madd-bnd-prefix
+#as: -madd-bnd-prefix -march=+mpx
#warning_output: mpx-add-bnd-prefix.e
#objdump: -drw
#name: Check -madd-bnd-prefix
@@ -1,4 +1,5 @@
#objdump: -dw
+#as: -march=+mpx
#name: i386 NOTRACK prefix
.*: +file format .*
@@ -1,5 +1,6 @@
#source: notrack.s
#objdump: -dw -Mintel
+#as: -march=+mpx
#name: i386 NOTRACK prefix (Intel disassembly)
.*: +file format .*
@@ -1,4 +1,5 @@
#objdump: -drwMsuffix
+#as: -march=+mpx
#name: encoding option
.*: +file format .*
@@ -1,4 +1,5 @@
#objdump: -drwMintel,suffix
+#as: -march=+mpx
#name: encoding option (Intel mode)
#source: opts.s
@@ -1,4 +1,4 @@
-#as: -O0
+#as: -O0 -march=+mpx
#objdump: -drw
#name: pseudo prefixes
@@ -1,4 +1,4 @@
-#as: -J
+#as: -J -march=+mpx
#source: ../x86-64-mpx-branch-1.s
#objdump: -dwr
#name: x86-64 MPX branch
@@ -1,4 +1,4 @@
-#as: -J -madd-bnd-prefix
+#as: -J -madd-bnd-prefix -march=+mpx
#source: ../x86-64-mpx-branch-1.s
#objdump: -dwr
#name: x86-64 branch with BND prefix
@@ -1,4 +1,4 @@
-#as: -msse2avx
+#as: -msse2avx -march=+mpx
#objdump: -drwMsuffix
#name: encoding option with -msse2avx
#source: opts.s
@@ -1,4 +1,4 @@
-#as: -msse2avx
+#as: -msse2avx -march=+mpx
#objdump: -drwMintel,suffix
#name: encoding option with -msse2avx (Intel mode)
#source: opts.s
@@ -168,7 +168,7 @@ run_list_test "x86-64-specific-reg"
run_list_test "suffix-bad"
run_list_test "x86-64-suffix-bad"
run_list_test "unspec64" ""
-run_list_test "prefix64" "-al"
+run_list_test "prefix64" "-al -march=+mpx"
run_list_test "oversized64" "-al --divide"
run_dump_test "x86-64-fxsave"
run_dump_test "x86-64-fxsave-intel"
@@ -303,8 +303,8 @@ run_dump_test "x86-64-prefetch"
run_dump_test "x86-64-prefetch-intel"
run_dump_test "x86-64-smap"
run_dump_test "x86-64-mpx"
-run_list_test "x86-64-mpx-inval-1" "-al"
-run_list_test "x86-64-mpx-inval-2" "-al"
+run_list_test "x86-64-mpx-inval-1" "-al -march=+mpx"
+run_list_test "x86-64-mpx-inval-2" "-al -march=+mpx"
run_dump_test "x86-64-mpx-addr32"
run_dump_test "x86-64-mpx-add-bnd-prefix"
run_dump_test "x86-64-sha"
@@ -1,4 +1,4 @@
-#as: -mlfence-after-load=yes
+#as: -mlfence-after-load=yes -march=+mpx
#objdump: -dw
#warning_output: lfence-load.e
#name: x86-64 -mlfence-after-load=yes
@@ -1,3 +1,4 @@
+#as: -march=+mpx
#objdump: -drw
#name: x86-64 MPX
@@ -1,4 +1,4 @@
-#as: -madd-bnd-prefix
+#as: -madd-bnd-prefix -march=+mpx
#warning_output: x86-64-mpx-add-bnd-prefix.e
#objdump: -drw
#name: Check -madd-bnd-prefix (x86-64)
@@ -1,3 +1,4 @@
+#as: -march=+mpx
#objdump: -drw
#name: x86-64 MPX addr32 tests
@@ -1,4 +1,4 @@
-#as: -J
+#as: -J -march=+mpx
#objdump: -dwr
#name: x86-64 MPX branch
#notarget: *-*-solaris*
@@ -1,4 +1,4 @@
-#as: -J -madd-bnd-prefix
+#as: -J -madd-bnd-prefix -march=+mpx
#objdump: -dwr
#name: x86-64 branch with BND prefix
#dump: x86-64-mpx-branch-1.d
@@ -1,3 +1,4 @@
+#as: -march=+mpx
#objdump: -dw
#name: x86-64 NOTRACK prefix
@@ -1,4 +1,5 @@
#source: x86-64-notrack.s
+#as: -march=+mpx
#objdump: -dw -Mintel
#name: x86-64 NOTRACK prefix (Intel disassembly)
@@ -1,4 +1,4 @@
-#as: -O0
+#as: -O0 -march=+mpx
#objdump: -drw
#name: x86-64 pseudo prefixes
@@ -45,7 +45,7 @@ typedef struct dependency
static const dependency isa_dependencies[] =
{
{ "UNKNOWN",
- "~IAMCU" },
+ "~(IAMCU|MPX)" },
{ "GENERIC32",
"386" },
{ "GENERIC64",