Skip to content
  • Igor Tsimbalist's avatar
    Enable Intel CLDEMOTE instruction. · c48935d7
    Igor Tsimbalist authored
    gas/
    	* config/tc-i386.c (cpu_arch): Add .cldemote.
    	* doc/c-i386.texi: Document cldemote/.cldemote.
    	* testsuite/gas/i386/cldemote-intel.d: New.
    	* testsuite/gas/i386/cldemote.d: Likewise.
    	* testsuite/gas/i386/cldemote.s: Likewise.
    	* testsuite/gas/i386/i386.exp: Run new tests.
    	* testsuite/gas/i386/x86-64-cldemote-intel.d: New.
    	* testsuite/gas/i386/x86-64-cldemote.d: Likewise.
    	* testsuite/gas/i386/x86-64-cldemote.s: Likewise.
    	* testsuite/gas/i386/ilp32/x86-64-nops.d: Remove 0x0f1c
    	NOP encoding that maps to cldemote.
    	* testsuite/gas/i386/nops.d: Likewise.
    	* testsuite/gas/i386/nops.s: Likewise.
    	* testsuite/gas/i386/x86-64-nops.d: Likewise.
    	* testsuite/gas/i386/x86-64-nops.s: Likewise.
    
    opcode/
    	* i386-dis.c: Add REG_0F1C_MOD_0, MOD_0F1C_PREFIX_0,
    	PREFIX_0F1C.
    	* i386-gen.c (cpu_flag_init): Add CPU_CLDEMOTE_FLAGS,
    	(cpu_flags): Add CpuCLDEMOTE.
    	* i386-init.h: Regenerate.
    	* i386-opc.h (enum): Add CpuCLDEMOTE,
    	(i386_cpu_flags): Add cpucldemote.
    	* i386-opc.tbl: Add cldemote.
    	* i386-tbl.h: Regenerate.
    c48935d7