diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2018-08-11 14:37:14 -0700 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2018-08-11 14:37:32 -0700 |
commit | d871f3f48388d57721d8077e281041ed16a745cf (patch) | |
tree | 31db918f0c563c84b09de4674bb4af3548b1483c /ltgcc.m4 | |
parent | ab9e342807d132182892de1be1a92d6e91a5c1da (diff) | |
download | gdb-d871f3f48388d57721d8077e281041ed16a745cf.zip gdb-d871f3f48388d57721d8077e281041ed16a745cf.tar.gz gdb-d871f3f48388d57721d8077e281041ed16a745cf.tar.bz2 |
x86: Add CpuCMOV and CpuFXSR
There are separate CPUID feature bits for fxsave/fxrstor and cmovCC
instructions. This patch adds CpuCMOV and CpuFXSR to replace Cpu686
on corresponding instructions.
gas/
* config/tc-i386.c (cpu_arch): Add .cmov and .fxsr.
(cpu_noarch): Add nocmov and nofxsr.
* doc/c-i386.texi: Document cmov and fxsr.
opcodes/
* i386-gen.c (cpu_flag_init): Add CpuCMOV and CpuFXSR to
CPU_I686_FLAGS. Add CPU_CMOV_FLAGS, CPU_FXSR_FLAGS,
CPU_ANY_CMOV_FLAGS and CPU_ANY_FXSR_FLAGS.
(cpu_flags): Add CpuCMOV and CpuFXSR.
* i386-opc.tbl: Replace Cpu686 with CpuFXSR on fxsave, fxsave64,
fxrstor and fxrstor64. Replace Cpu686 with CpuCMOV on cmovCC.
* i386-init.h: Regenerated.
* i386-tbl.h: Likewise.
Diffstat (limited to 'ltgcc.m4')
0 files changed, 0 insertions, 0 deletions