[PATCH, i386] Support of SHA ISA extension

Kirill Yukhin kirill.yukhin@gmail.com
Thu Jul 25 15:57:00 GMT 2013


Hello HJ,
Thanks for inputs.
Attached rebased patch and patch to fix ChangeLog for MPX checkin.

Coould you pls take a look? 

gas/Changelog:
2013-07-19  Michael Zolotukhin  <michael.v.zolotukhin@intel.com>

	* config/tc-i386.c (cpu_arch): Add .sha.
	* doc/c-i386.texi: Document sha/.sha.

gas/testsuite/Changelog:
2013-07-19  Michael Zolotukhin  <michael.v.zolotukhin@intel.com>

	* gas/i386/sha.d: New.
	* gas/i386/sha.s: New.
	* gas/i386/x86-64-sha.d: New.
	* gas/i386/x86-64-sha.s: New.
	* gas/i386/i386.exp: Run new SHA tests.

opcodes/Changelog:
2013-07-19  Michael Zolotukhin  <michael.v.zolotukhin@intel.com>

	* i386-dis.c (PREFIX enum): Add PREFIX_0F38C8, PREFIX_0F38C9,
	PREFIX_0F38CA, PREFIX_0F38CB, PREFIX_0F38CC, PREFIX_0F38CD,
	PREFIX_0F3ACC.
	(prefix_table): Add new entries.
	(three_byte_table): Likewise.
	* i386-gen.c (cpu_flag_init): Add CpuSHA.
	(cpu_flags): Add CpuSHA.
	(i386_cpu_flags): Add cpusha.
	* i386-init.h: Regenerate.
	* i386-opc.h (CpuSHA): New.
	* i386-opc.tbl: Add SHA instructions.
	* i386-tbl.h: Regenerate.

--
Thanks, K
-------------- next part --------------
commit e6b68d1367343bebab29b274f1857f1eb4d96003
Author: Ilya Tocar <ilya.tocar@intel.com>
Date:   Thu Jul 25 18:53:40 2013 +0400

    Fix MPX ChangeLog.

diff --git a/opcodes/ChangeLog b/opcodes/ChangeLog
index e904ea6..3b9e8b6 100644
--- a/opcodes/ChangeLog
+++ b/opcodes/ChangeLog
@@ -9,8 +9,9 @@
 	(BND): New.
 	(v_bnd_mode): New.
 	(bnd_mode): New.
-	(MOD enum): Add new entries.
-	(PREFIX enum): Likewise.
+	(MOD enum): Add MOD_0F1A_PREFIX_0, MOD_0F1B_PREFIX_0,
+	MOD_0F1B_PREFIX_1.
+	(PREFIX enum): Add PREFIX_0F1A, PREFIX_0F1B.
 	(dis tables): Replace XX with BND for near branch and call
 	instructions.
 	(prefix_table): Add new entries.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: sha.binutils.02.patch.tar.bz2
Type: application/x-bzip2
Size: 21866 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/binutils/attachments/20130725/b2a97137/attachment.bz2>


More information about the Binutils mailing list