mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-22 02:50:08 +08:00
x86: Replace evex-no-scale.s with evex-no-scale-[32|64].s
.if is_64bit vmovaps -1024(%rip), %zmm0 vmovaps 64(,%rax), %zmm0 vmovaps 64(,%riz), %zmm0 .endif doesn't with i686-elf cross binutils on 64-bit hosts: evex-no-scale.s: Assembler messages: evex-no-scale.s:10: Error: bad register name `%rip)' evex-no-scale.s:11: Error: bad register name `%rax)' evex-no-scale.s:12: Error: bad register name `%riz)' This patch replaces evex-no-scale.s with evex-no-scale-32.s and evex-no-scale-64.s. * testsuite/gas/i386/evex-no-scale-32.d: Don't use evex-no-scale.s. * testsuite/gas/i386/evex-no-scale-64.d: Likewise. * testsuite/gas/i386/evex-no-scale-32.s: New file. * testsuite/gas/i386/evex-no-scale-64.s: Likewise. * testsuite/gas/i386/evex-no-scale.s: Removed.
This commit is contained in:
@ -1,3 +1,12 @@
|
|||||||
|
2018-08-10 H.J. Lu <hongjiu.lu@intel.com>
|
||||||
|
|
||||||
|
* testsuite/gas/i386/evex-no-scale.s: Removed.
|
||||||
|
* testsuite/gas/i386/evex-no-scale-32.d: Don't use
|
||||||
|
evex-no-scale.s.
|
||||||
|
* testsuite/gas/i386/evex-no-scale-64.d: Likewise.
|
||||||
|
* testsuite/gas/i386/evex-no-scale-32.s: New file.
|
||||||
|
* testsuite/gas/i386/evex-no-scale-64.s: Likewise.
|
||||||
|
|
||||||
2018-08-09 H.J. Lu <hongjiu.lu@intel.com>
|
2018-08-09 H.J. Lu <hongjiu.lu@intel.com>
|
||||||
|
|
||||||
* as.c (show_usage): Display default option for --elf-stt-common=.
|
* as.c (show_usage): Display default option for --elf-stt-common=.
|
||||||
|
@ -1,4 +1,3 @@
|
|||||||
#source: evex-no-scale.s
|
|
||||||
#objdump: -dw
|
#objdump: -dw
|
||||||
#name: ix86 EVEX no disp scaling
|
#name: ix86 EVEX no disp scaling
|
||||||
|
|
||||||
|
7
gas/testsuite/gas/i386/evex-no-scale-32.s
Normal file
7
gas/testsuite/gas/i386/evex-no-scale-32.s
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
.allow_index_reg
|
||||||
|
.text
|
||||||
|
disp:
|
||||||
|
vmovaps 64(,%eax), %zmm0
|
||||||
|
vmovaps 64(,%eiz), %zmm0
|
||||||
|
vmovaps 64, %zmm0
|
||||||
|
addr16 vmovaps 64, %zmm0
|
@ -1,4 +1,3 @@
|
|||||||
#source: evex-no-scale.s
|
|
||||||
#objdump: -dw
|
#objdump: -dw
|
||||||
#name: x86-64 EVEX no disp scaling
|
#name: x86-64 EVEX no disp scaling
|
||||||
|
|
||||||
|
@ -1,19 +1,9 @@
|
|||||||
.allow_index_reg
|
.allow_index_reg
|
||||||
.section .probe, "", @progbits
|
|
||||||
.Lprobe_64bit:
|
|
||||||
inc %eax
|
|
||||||
.equiv is_64bit, (. - .Lprobe_64bit) / 2
|
|
||||||
|
|
||||||
.text
|
.text
|
||||||
disp:
|
disp:
|
||||||
.if is_64bit
|
|
||||||
vmovaps -1024(%rip), %zmm0
|
vmovaps -1024(%rip), %zmm0
|
||||||
vmovaps 64(,%rax), %zmm0
|
vmovaps 64(,%rax), %zmm0
|
||||||
vmovaps 64(,%riz), %zmm0
|
vmovaps 64(,%riz), %zmm0
|
||||||
.endif
|
|
||||||
vmovaps 64(,%eax), %zmm0
|
vmovaps 64(,%eax), %zmm0
|
||||||
vmovaps 64(,%eiz), %zmm0
|
vmovaps 64(,%eiz), %zmm0
|
||||||
vmovaps 64, %zmm0
|
vmovaps 64, %zmm0
|
||||||
.if !is_64bit
|
|
||||||
addr16 vmovaps 64, %zmm0
|
|
||||||
.endif
|
|
Reference in New Issue
Block a user