From 0e0eea782025d92f894f6d132aae2507c6a90a7b Mon Sep 17 00:00:00 2001 From: Jan Beulich Date: Thu, 26 Apr 2018 08:45:35 +0200 Subject: [PATCH] x86: x87-related adjustments Neither 287 wrt 8087 nor 387 wrt 287 are proper supersets - in each case some insns get removed from the ISA (they become NOPs, but code intended for newer co-processors should not use them). Furthermore with .no87, ST should not be recognized as a register name. --- gas/ChangeLog | 8 +++++++ gas/config/tc-i386.c | 11 ++++----- gas/testsuite/gas/i386/fpu.l | 4 ++++ gas/testsuite/gas/i386/fpu.s | 12 ++++++++++ gas/testsuite/gas/i386/i386.exp | 2 ++ gas/testsuite/gas/i386/stN.l | 16 +++++++++++++ gas/testsuite/gas/i386/stN.s | 8 +++++++ opcodes/ChangeLog | 6 +++++ opcodes/i386-gen.c | 6 ++--- opcodes/i386-init.h | 42 ++++++++++++++++----------------- 10 files changed, 85 insertions(+), 30 deletions(-) create mode 100644 gas/testsuite/gas/i386/fpu.l create mode 100644 gas/testsuite/gas/i386/fpu.s create mode 100644 gas/testsuite/gas/i386/stN.l create mode 100644 gas/testsuite/gas/i386/stN.s diff --git a/gas/ChangeLog b/gas/ChangeLog index c1109a79e7..3131982ae9 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,11 @@ +2018-04-26 Jan Beulich + + * config/tc-i386.c (parse_real_register): Check FPU register + earlier. + * testsuite/gas/i386/fpu.s, testsuite/gas/i386/fpu.l, + testsuite/gas/i386/stN.s, testsuite/gas/i386/stN.l: New. + * testsuite/gas/i386/i386.exp: Run new tests. + 2018-04-26 Jan Beulich * config/tc-i386.c (build_modrm_byte): Use tabs for indentation. diff --git a/gas/config/tc-i386.c b/gas/config/tc-i386.c index 42186ffe9d..fcd40e2db3 100644 --- a/gas/config/tc-i386.c +++ b/gas/config/tc-i386.c @@ -10109,6 +10109,11 @@ parse_real_register (char *reg_string, char **end_op) /* Handle floating point regs, allowing spaces in the (i) part. */ if (r == i386_regtab /* %st is first entry of table */) { + if (!cpu_arch_flags.bitfield.cpu8087 + && !cpu_arch_flags.bitfield.cpu287 + && !cpu_arch_flags.bitfield.cpu387) + return (const reg_entry *) NULL; + if (is_space_char (*s)) ++s; if (*s == '(') @@ -10149,12 +10154,6 @@ parse_real_register (char *reg_string, char **end_op) && !cpu_arch_flags.bitfield.cpui386) return (const reg_entry *) NULL; - if (r->reg_type.bitfield.tbyte - && !cpu_arch_flags.bitfield.cpu8087 - && !cpu_arch_flags.bitfield.cpu287 - && !cpu_arch_flags.bitfield.cpu387) - return (const reg_entry *) NULL; - if (r->reg_type.bitfield.regmmx && !cpu_arch_flags.bitfield.cpuregmmx) return (const reg_entry *) NULL; diff --git a/gas/testsuite/gas/i386/fpu.l b/gas/testsuite/gas/i386/fpu.l new file mode 100644 index 0000000000..531884c1a0 --- /dev/null +++ b/gas/testsuite/gas/i386/fpu.l @@ -0,0 +1,4 @@ +.*: Assembler messages: +.*:6: Error: .*`fneni'.* +.*:11: Error: .*`fneni'.* +.*:12: Error: .*`fnsetpm'.* diff --git a/gas/testsuite/gas/i386/fpu.s b/gas/testsuite/gas/i386/fpu.s new file mode 100644 index 0000000000..4ddcb33512 --- /dev/null +++ b/gas/testsuite/gas/i386/fpu.s @@ -0,0 +1,12 @@ + .text + .intel_syntax noprefix + .arch generic32 +fpu: + .arch .287 + fneni + fnsetpm + + .arch .no287 + .arch .387 + fneni + fnsetpm diff --git a/gas/testsuite/gas/i386/i386.exp b/gas/testsuite/gas/i386/i386.exp index 91d91d61e7..95e3469e96 100644 --- a/gas/testsuite/gas/i386/i386.exp +++ b/gas/testsuite/gas/i386/i386.exp @@ -170,6 +170,8 @@ if [expr ([istarget "i*86-*-*"] || [istarget "x86_64-*-*"]) && [gas_32_check]] run_list_test "no87" "-al" run_list_test "no87-2" "-march=i686+no87 -al" run_list_test "no87-3" "-al" + run_list_test "stN" "-al" + run_list_test "fpu" run_list_test "nommx-1" "-al" run_list_test "nommx-2" "-march=core+nommx -al" run_list_test "nommx-3" "-march=+nommx -al" diff --git a/gas/testsuite/gas/i386/stN.l b/gas/testsuite/gas/i386/stN.l new file mode 100644 index 0000000000..5885686e7e --- /dev/null +++ b/gas/testsuite/gas/i386/stN.l @@ -0,0 +1,16 @@ +.*: Assembler messages: +.*:6: Error: .*junk.* +.*:7: Error: .*junk.* +.*:8: Error: .*junk.* +GAS LISTING .* + + +[ ]*1[ ]+\.text +[ ]*2[ ]+\.intel_syntax noprefix +[ ]*3[ ]+\.arch \.no87 +[ ]*4[ ]+stN: +[ ]*5[ ]+\?\?\?\? A1000000[ ]+mov eax, st +[ ]*5[ ]+00 +[ ]*6[ ]+mov eax, st\(7\) +[ ]*7[ ]+mov eax, st \( 7 \) +[ ]*8[ ]+mov eax, x\(7\) diff --git a/gas/testsuite/gas/i386/stN.s b/gas/testsuite/gas/i386/stN.s new file mode 100644 index 0000000000..6a1512e526 --- /dev/null +++ b/gas/testsuite/gas/i386/stN.s @@ -0,0 +1,8 @@ + .text + .intel_syntax noprefix + .arch .no87 +stN: + mov eax, st + mov eax, st(7) + mov eax, st ( 7 ) + mov eax, x(7) diff --git a/opcodes/ChangeLog b/opcodes/ChangeLog index ca943a25e5..2f4fb7af84 100644 --- a/opcodes/ChangeLog +++ b/opcodes/ChangeLog @@ -1,3 +1,9 @@ +2018-04-26 Jan Beulich + + * i386-gen.c (cpu_flag_init): CPU_I586_FLAGS inherits Cpu387 only. + CPU_287_FLAGS is Cpu287 only. CPU_387_FLAGS is Cpu387 only. + * i386-init.h: Re-generate. + 2018-04-26 Jan Beulich * i386-gen.c (VexImmExt): Delete. diff --git a/opcodes/i386-gen.c b/opcodes/i386-gen.c index 8c1a07ad04..f913464b35 100644 --- a/opcodes/i386-gen.c +++ b/opcodes/i386-gen.c @@ -58,7 +58,7 @@ static initializer cpu_flag_init[] = { "CPU_I486_FLAGS", "CPU_I386_FLAGS|Cpu486" }, { "CPU_I586_FLAGS", - "CPU_I486_FLAGS|CPU_387_FLAGS|Cpu586" }, + "CPU_I486_FLAGS|Cpu387|Cpu586" }, { "CPU_I686_FLAGS", "CPU_I586_FLAGS|Cpu686|Cpu687" }, { "CPU_PENTIUMPRO_FLAGS", @@ -104,9 +104,9 @@ static initializer cpu_flag_init[] = { "CPU_8087_FLAGS", "Cpu8087" }, { "CPU_287_FLAGS", - "CPU_8087_FLAGS|Cpu287" }, + "Cpu287" }, { "CPU_387_FLAGS", - "CPU_287_FLAGS|Cpu387" }, + "Cpu387" }, { "CPU_687_FLAGS", "CPU_387_FLAGS|Cpu687" }, { "CPU_CLFLUSH_FLAGS", diff --git a/opcodes/i386-init.h b/opcodes/i386-init.h index 2f157d242d..60ad05a4d9 100644 --- a/opcodes/i386-init.h +++ b/opcodes/i386-init.h @@ -35,7 +35,7 @@ 0, 0, 0, 0, 0, 0, 0, 0 } } #define CPU_GENERIC64_FLAGS \ - { { 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 0, 0, 0, \ + { { 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 1, 1, 0, 1, 1, 1, 0, 0, 0, \ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, \ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, \ 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, \ @@ -83,7 +83,7 @@ 0, 0, 0, 0, 0, 0, 0, 0 } } #define CPU_I586_FLAGS \ - { { 1, 1, 1, 1, 1, 0, 0, 0, 0, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, \ + { { 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, \ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, \ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0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