VIA PadLock support

Michal Ludvig mludvig@suse.cz
Fri Mar 12 10:40:00 GMT 2004


Alan Modra told me that:
> On Thu, Mar 11, 2004 at 06:05:07PM +0100, Michal Ludvig wrote:
> 
>>	* gas/config/tc-i386.c (output_insn): Handle PadLock instructions.
>>	* gas/config/tc-i386.h (CpuPadLock): New define.
>>	(CpuUnknownFlags): Added CpuPadLock.
>>	* include/opcode/i386.h (i386_optab): Added xstore/xcrypt insns.
>>	* opcodes/i386-dis.c (PADLOCK_SPECIAL, PADLOCK_0): New defines.
>>	(dis386_twobyte): Opcode 0xa7 is PADLOCK_0.
>>	(padlock_table): New struct with PadLock instructions.
>>	(print_insn): Handle PADLOCK_SPECIAL.
> 
> 
> OK, with one or two more formatting/style fixes.  OK for 2.15 branch
> too.

Thanks! Fixed the style and comitted.

I have two more bits for approval: add 'xstore' insn as an alias for 
'xstorerng' and a testsuite for these new instructions.

Both are attached. OK to apply?

Michal Ludvig
-- 
SUSE Labs                    mludvig@suse.cz | Cray is the only computer
(+420) 296.545.373        http://www.suse.cz | that runs an endless loop
Personal homepage http://www.logix.cz/michal | in just four hours.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: binutils-padlock-xstore.diff
URL: <https://sourceware.org/pipermail/binutils/attachments/20040312/0f5ce9b8/attachment.ksh>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: binutils-padlock-testsuite.diff
URL: <https://sourceware.org/pipermail/binutils/attachments/20040312/0f5ce9b8/attachment-0001.ksh>


More information about the Binutils mailing list