Add support for SPARC T4 crypto instructions.
include/opcode/ * sparc.h: Document new arg code' )' for crypto RS3 immediates. opcodes/ * sparc-dis.c (print_insn_sparc): Handle ')'. * sparc-opc.c (sparc_opcodes): Add crypto instructions. gas/ * config/tc-sparc.c (sparc_ip): Likewise. Accept instruction names containing "_". (sparc_arch_table): Add sparc4, v8pluse, and v9e. Add crypto hwcap masks to v8plusv and v9v. gas/testsuite/ * gas/sparc/crypto.s: New file. * gas/sparc/crypto.d: New file. * gas/sparc/sparc.exp: Run crypto test.
This commit is contained in:
parent
ec668d69b9
commit
6cda13266f
11 changed files with 356 additions and 3 deletions
|
@ -224,6 +224,7 @@ typedef struct sparc_opcode
|
|||
_ Ancillary state register in rd (v9a)
|
||||
/ Ancillary state register in rs1 (v9a)
|
||||
( entire floating point state register (%efsr)
|
||||
) 5 bit immediate placed in RS3 field
|
||||
= 2+8 bit PC relative immediate. (v9) */
|
||||
|
||||
#define OP2(x) (((x) & 0x7) << 22) /* Op2 field of format2 insns. */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue