Implement Intel OSPKE instructions
authorH.J. Lu <hjl.tools@gmail.com>
Wed, 9 Dec 2015 16:01:57 +0000 (08:01 -0800)
committerH.J. Lu <hjl.tools@gmail.com>
Wed, 9 Dec 2015 16:01:57 +0000 (08:01 -0800)
commit8eab413676a0222a863f45ff606f3db69bb7afc4
tree8fffeb4186f33ac88d0538ac9ab3cdc07d62d136
parentfa7cc15f24f9cd8e3cc07c7552c3fad1b756eed8
Implement Intel OSPKE instructions

This patch implements Intel OSPKE instructions documented in Intel64
and IA-32 Architectures Software Developer’s Manual Volume 2, September
2015.

gas/testsuite/

* gas/i386/i386.exp: Run ospke and x86-64-ospke.
* gas/i386/ospke.d: New file.
* gas/i386/ospke.s: Likewise.
* gas/i386/x86-64-ospke.d: Likewise.

opcodes/

* i386-dis.c (MOD_0F01_REG_5): New.
(RM_0F01_REG_5): Likewise.
(reg_table): Use MOD_0F01_REG_5.
(mod_table): Add MOD_0F01_REG_5.
(rm_table): Add RM_0F01_REG_5.
* i386-gen.c (cpu_flag_init): Add CPU_OSPKE_FLAGS.
(cpu_flags): Add CpuOSPKE.
* i386-opc.h (CpuOSPKE): New.
(i386_cpu_flags): Add cpuospke.
* i386-opc.tbl: Add rdpkru and wrpkru instructions.
* i386-init.h: Regenerated.
* i386-tbl.h: Likewise.
13 files changed:
gas/config/tc-i386.c
gas/testsuite/ChangeLog
gas/testsuite/gas/i386/i386.exp
gas/testsuite/gas/i386/ospke.d [new file with mode: 0644]
gas/testsuite/gas/i386/ospke.s [new file with mode: 0644]
gas/testsuite/gas/i386/x86-64-ospke.d [new file with mode: 0644]
opcodes/ChangeLog
opcodes/i386-dis.c
opcodes/i386-gen.c
opcodes/i386-init.h
opcodes/i386-opc.h
opcodes/i386-opc.tbl
opcodes/i386-tbl.h
This page took 0.02636 seconds and 4 git commands to generate.