RISC-V: Add sext.[bh] and zext.[bhw] pseudo instructions.
https://github.com/riscv/riscv-asm-manual/pull/61
We aleady have sext.w, so just add sext.b, sext.h, zext.b, zext.h
and zext.w. In a certain sense, zext.b is not a pseudo - It is an
alias of andi. Similarly, sext.b and sext.h are aliases of other
rvb instructions, when we enable b extension; But they are pseudos
when we just enable rvi. However, this patch does not consider the
rvb cases. Besides, zext.w is only valid in rv64.
gas/
* config/tc-riscv.c (riscv_ext): New function. Use md_assemblef
to expand the zext and sext pseudos, to give them a chance to be
expanded into c-ext instructions.
(macro): Handle M_ZEXTH, M_ZEXTW, M_SEXTB and M_SEXTH.
* testsuite/gas/riscv/ext.s: New testcase.
* testsuite/gas/riscv/ext-32.d: Likewise.
* testsuite/gas/riscv/ext-64.d: Likewise.
include/
* opcode/riscv.h (M_ZEXTH, M_ZEXTW, M_SEXTB, M_SEXTH.): Added.
opcodes/
* riscv-opc.c (riscv_opcodes): Add sext.[bh] and zext.[bhw].
2020-12-09 13:53:22 +08:00
|
|
|
|
2020-12-10 Nelson Chu <nelson.chu@sifive.com>
|
|
|
|
|
|
|
|
|
|
* riscv-opc.c (riscv_opcodes): Add sext.[bh] and zext.[bhw].
|
|
|
|
|
|
2020-12-08 14:39:01 +08:00
|
|
|
|
2020-12-10 Nelson Chu <nelson.chu@sifive.com>
|
|
|
|
|
|
|
|
|
|
* disassemble.h (riscv_get_disassembler): Declare.
|
|
|
|
|
* disassemble.c (disassembler): Changed to riscv_get_disassembler.
|
|
|
|
|
* riscv-dis.c (riscv_get_disassembler): Check the elf privileged spec
|
|
|
|
|
attributes before calling print_insn_riscv.
|
|
|
|
|
(parse_riscv_dis_option): Same as the assembler, the priority of elf
|
|
|
|
|
attributes are higher than the options. If we find the privileged
|
|
|
|
|
attributes, but the -Mpriv-spec= is different, then output error/warning
|
|
|
|
|
and still use the elf attributes set.
|
|
|
|
|
|
RISC-V: Control fence.i and csr instructions by zifencei and zicsr.
bfd/
* elfxx-riscv.c (riscv_ext_dont_care_version): New function. Return
TRUE if we don't care the versions of the extensions. These extensions
are added to the subset list for special purposes, with the explicit
versions or the RISCV_UNKNOWN_VERSION versions.
(riscv_parse_add_subset): If we do care the versions of the extension,
and the versions are unknown, then report errors for the non-implicit
extensions, and return directly for the implicit one.
(riscv_arch_str1): Do not output i extension after e, and the extensions
which versions are unknown.
gas/
* config/tc-riscv.c (riscv_multi_subset_supports): Handle INSN_CLASS_ZICSR
and INSN_CLASS_ZIFENCEI.
* testsuite/gas/riscv/march-imply-i.s: New testcase.
* testsuite/gas/riscv/march-imply-i2p0-01.d: New testcase. The version
of i is less than 2.1, and zi* are supported in the chosen spec, so
enable the fence.i and csr instructions, also output the implicit zi* to
the arch string.
* testsuite/gas/riscv/march-imply-i2p0-02.d: Likewise, but the zi* are
not supported in the spec 2.2. Enable the related instructions since
i's version is less than 2.1, but do not output them.
* testsuite/gas/riscv/march-imply-i2p1-01.d: New testcase. The version
of i is 2.1, so don't add it's implicit zi*, and disable the related
instructions.
* testsuite/gas/riscv/march-imply-i2p1-01.l: Likewise.
* testsuite/gas/riscv/march-imply-i2p1-02.d: Likewise, and set the zi*
explicitly, so enable the related instructions.
* testsuite/gas/riscv/march-imply-i2p0.d: Removed.
* testsuite/gas/riscv/march-imply-i2p1.d: Removed.
include/
* opcode/riscv.h: Add INSN_CLASS_ZICSR and INSN_CLASS_ZIFENCEI.
opcodes/
* riscv-opc.c (riscv_opcodes): Control fence.i and csr instructions by
zifencei and zicsr.
2020-12-02 17:18:35 +08:00
|
|
|
|
2020-12-10 Nelson Chu <nelson.chu@sifive.com>
|
|
|
|
|
|
|
|
|
|
* riscv-opc.c (riscv_opcodes): Control fence.i and csr instructions by
|
|
|
|
|
zifencei and zicsr.
|
|
|
|
|
|
2020-12-04 16:00:43 +08:00
|
|
|
|
2020-12-04 Andreas Krebbel <krebbel@linux.ibm.com>
|
|
|
|
|
|
|
|
|
|
* s390-opc.txt: Add risbgz and risbgnz.
|
|
|
|
|
* s390-opc.c (U6_26): New operand type.
|
|
|
|
|
(INSTR_RIE_RRUUU2, MASK_RIE_RRUUU2): New instruction format and
|
|
|
|
|
mask.
|
|
|
|
|
|
2020-12-03 23:31:15 +08:00
|
|
|
|
2020-12-03 Andreas Krebbel <krebbel@linux.ibm.com>
|
|
|
|
|
|
|
|
|
|
* s390-opc.txt: Add extended mnemonics.
|
|
|
|
|
|
2020-11-20 16:52:35 +08:00
|
|
|
|
2020-12-01 Nelson Chu <nelson.chu@sifive.com>
|
|
|
|
|
|
|
|
|
|
* riscv-opc.c (riscv_ext_version_table): Remove the p, v, n
|
|
|
|
|
and their versions.
|
|
|
|
|
|
2020-11-20 15:35:17 +08:00
|
|
|
|
2020-12-01 Nelson Chu <nelson.chu@sifive.com>
|
|
|
|
|
|
|
|
|
|
* riscv-opc.c (riscv_ext_version_table): Add zifencei.
|
|
|
|
|
|
2020-11-28 21:20:06 +08:00
|
|
|
|
2020-11-28 Borislav Petkov <bp@suse.de>
|
|
|
|
|
|
|
|
|
|
* i386-dis.c (print_insn): Set active_seg_prefix for branch hint insns
|
|
|
|
|
to not dump branch hint prefixes 0x2E and 0x3E as unused prefixes.
|
|
|
|
|
|
2020-11-17 04:37:39 +08:00
|
|
|
|
2020-11-16 Przemyslaw Wirkus <przemyslaw.wirkus@arm.com>
|
|
|
|
|
|
|
|
|
|
* aarch64-tbl.h (FLAGM): Handle for FLAGM feature.
|
|
|
|
|
(struct aarch64_opcode): Move FLAGM instructions from V8_4_INSN to
|
|
|
|
|
FLAGM_INSN.
|
|
|
|
|
(AARCH64_FEATURE_FLAGMANIP): Update comment for FEAT_FlagM2.
|
|
|
|
|
|
x86: Ignore CS/DS/ES/SS segment-override prefixes in 64-bit mode
"In 64-bit mode, the CS, DS, ES, and SS segment-override prefixes have
no effect. These four prefixes are not treated as segment-override
prefixes for the purposes of multiple-prefix rules. Instead, they are
treated as null prefixes." (AMD APM v2).
However, objdump disassembles instructions containing those ignored
prefixes by still generating that segment override:
66 66 2e 0f 1f 84 00 data16 nopw %cs:0x0(%rax,%rax,1)
00 00 00 00
Print those segment override prefixes as excessive ones:
66 66 2e 0f 1f 84 00 data16 cs nopw 0x0(%rax,%rax,1)
00 00 00 00
which is what they actually are - they have no effect and the decoding
hardware ignores them.
gas/
2020-11-14 Borislav Petkov <bp@suse.de>
* testsuite/gas/i386/x86-64-segovr.d: Adjust regexes.
* testsuite/gas/i386/x86-64-nops.d: Likewise.
* testsuite/gas/i386/x86-64-nops-1.d: Likewise.
* testsuite/gas/i386/x86-64-nops-1-g64.d: Likewise.
* testsuite/gas/i386/x86-64-nops-1-core2.d: Likewise.
* testsuite/gas/i386/x86-64-nops-1-k8.d: Likewise.
* testsuite/gas/i386/x86-64-nops-2.d: Likewise.
* testsuite/gas/i386/x86-64-nops-3.d: Likewise.
* testsuite/gas/i386/x86-64-nops-4.d: Likewise.
* testsuite/gas/i386/x86-64-nops-4-core2.d: Likewise.
* testsuite/gas/i386/x86-64-nops-4-k8.d: Likewise.
* testsuite/gas/i386/x86-64-nops-5.d: Likewise.
* testsuite/gas/i386/x86-64-nops-5-k8.d: Likewise.
* testsuite/gas/i386/x86-64-nops-7.d: Likewise.
* testsuite/gas/i386/x86-64-nop-1.d: Likewise.
* testsuite/gas/i386/x86-64-align-branch-1a.d: Likewise.
* testsuite/gas/i386/x86-64-align-branch-1b.d: Likewise.
* testsuite/gas/i386/x86-64-align-branch-1c.d: Likewise.
* testsuite/gas/i386/x86-64-align-branch-1d.d: Likewise.
* testsuite/gas/i386/x86-64-align-branch-1g.d: Likewise.
* testsuite/gas/i386/x86-64-align-branch-2c.d: Likewise.
* testsuite/gas/i386/x86-64-align-branch-6.d: Likewise.
* testsuite/gas/i386/x86-64-align-branch-7.d: Likewise.
* testsuite/gas/i386/x86-64-align-branch-8.d: Likewise.
* testsuite/gas/i386/ilp32/x86-64-nops-1-core2.d: Likewise.
* testsuite/gas/i386/ilp32/x86-64-nops-1-k8.d: Likewise.
* testsuite/gas/i386/ilp32/x86-64-nops-1.d: Likewise.
* testsuite/gas/i386/ilp32/x86-64-nops-2.d: Likewise.
* testsuite/gas/i386/ilp32/x86-64-nops-3.d: Likewise.
* testsuite/gas/i386/ilp32/x86-64-nops-4-core2.d: Likewise.
* testsuite/gas/i386/ilp32/x86-64-nops-4-k8.d: Likewise.
* testsuite/gas/i386/ilp32/x86-64-nops-4.d: Likewise.
* testsuite/gas/i386/ilp32/x86-64-nops-5-k8.d: Likewise.
* testsuite/gas/i386/ilp32/x86-64-nops-5.d: Likewise.
* testsuite/gas/i386/ilp32/x86-64-nops.d:: Likewise.
ld/
2020-11-14 Borislav Petkov <bp@suse.de>
* testsuite/ld-x86-64/pe-x86-64-4.od: Adjust regexes.
* testsuite/ld-x86-64/tlsld3.dd: Likewise.
* testsuite/ld-x86-64/tlsld4.dd: Likewise.
opcodes/
2020-11-14 Borislav Petkov <bp@suse.de>
* i386-dis.c (ckprefix): Do not assign active_seg_prefix in
64-bit addressing mode.
(NOTRACK_Fixup): Test prefixes for PREFIX_DS, instead of
active_seg_prefix.
2020-11-14 22:16:26 +08:00
|
|
|
|
2020-11-14 Borislav Petkov <bp@suse.de>
|
|
|
|
|
|
|
|
|
|
* i386-dis.c (ckprefix): Do not assign active_seg_prefix in
|
|
|
|
|
64-bit addressing mode.
|
|
|
|
|
(NOTRACK_Fixup): Test prefixes for PREFIX_DS, instead of
|
|
|
|
|
active_seg_prefix.
|
|
|
|
|
|
2020-11-11 23:28:48 +08:00
|
|
|
|
2020-11-11 Przemyslaw Wirkus <przemyslaw.wirkus@arm.com>
|
|
|
|
|
|
|
|
|
|
* aarch64-tbl.h: Enable -march=armv8.6-a+ls64.
|
|
|
|
|
|
2020-11-09 20:41:09 +08:00
|
|
|
|
2020-11-09 Spencer E. Olson <olsonse@umich.edu>
|
|
|
|
|
|
|
|
|
|
* pru-opc.c: Add opcode description for LMBD (left-most bit
|
|
|
|
|
detect).
|
|
|
|
|
|
2020-11-09 19:30:22 +08:00
|
|
|
|
2020-11-09 Przemyslaw Wirkus <przemyslaw.wirkus@arm.com>
|
|
|
|
|
|
|
|
|
|
* aarch64-opc.c: Add ACCDATA_EL1 system register
|
|
|
|
|
|
2020-11-09 19:09:12 +08:00
|
|
|
|
2020-11-09 Przemyslaw Wirkus <przemyslaw.wirkus@arm.com>
|
|
|
|
|
|
|
|
|
|
* aarch64-opc.c (aarch64_print_operand): Support operand AARCH64_OPND_Rt_LS64
|
|
|
|
|
print.
|
|
|
|
|
* aarch64-tbl.h (struct aarch64_opcode): Update _LS64_INSN instructions with
|
|
|
|
|
Rt_ls64 operands.
|
|
|
|
|
* aarch64-asm-2.c: Regenerated.
|
|
|
|
|
* aarch64-dis-2.c: Regenerated.
|
|
|
|
|
* aarch64-opc-2.c: Regenerated.
|
|
|
|
|
|
2020-11-06 21:09:51 +08:00
|
|
|
|
2020-11-06 Przemyslaw Wirkus <przemyslaw.wirkus@arm.com>
|
|
|
|
|
|
|
|
|
|
* aarch64-tbl.h (PAC): Handle for PAC feature.
|
|
|
|
|
(PAC_INSN): New PAC instruction.
|
|
|
|
|
(struct aarch64_opcode): Move PAC instructions from V8_3_INSN to
|
|
|
|
|
PAC_INSN.
|
|
|
|
|
|
2020-11-05 04:47:06 +08:00
|
|
|
|
2020-11-04 Przemyslaw Wirkus <przemyslaw.wirkus@arm.com>
|
|
|
|
|
|
|
|
|
|
* aarch64-opc.c: Add RAS 1.1 new system registers: ERXPFGCTL_EL1,
|
|
|
|
|
ERXPFGCDN_EL1, ERXMISC2_EL1, ERXMISC3_EL1 and ERXPFGF_EL1.
|
|
|
|
|
|
2020-11-03 22:21:32 +08:00
|
|
|
|
2020-11-03 Przemyslaw Wirkus <przemyslaw.wirkus@arm.com>
|
|
|
|
|
|
|
|
|
|
* aarch64-tbl.h (QL_X2NIL): New qualifier for 64-byte stores.
|
|
|
|
|
(LS64): Handler with +ls64 feature flags.
|
|
|
|
|
(_LS64_INSN): New instruction group macro.
|
|
|
|
|
(struct aarch64_opcode): Add LS64 instructions.
|
|
|
|
|
* aarch64-asm-2.c: Regenerated.
|
|
|
|
|
* aarch64-dis-2.c: Regenerated.
|
|
|
|
|
* aarch64-opc-2.c: Regenerated.
|
|
|
|
|
|
2020-11-03 19:55:14 +08:00
|
|
|
|
2020-10-30 Przemyslaw Wirkus <przemyslaw.wirkus@arm.com>
|
|
|
|
|
|
|
|
|
|
* aarch65-tbl.h (struct aarch64_opcode): New instruction WFIT.
|
|
|
|
|
* aarch64-asm-2.c: Regenerated.
|
|
|
|
|
* aarch64-dis-2.c: Regenerated.
|
|
|
|
|
* aarch64-opc-2.c: Regenerated.
|
|
|
|
|
|
|
|
|
|
2020-10-27 Przemyslaw Wirkus <przemyslaw.wirkus@arm.com>
|
|
|
|
|
|
|
|
|
|
* aarch64-opc.c (aarch64_print_operand): CSR PDEC operand print-out.
|
|
|
|
|
* aarch64-tbl.h (CSRE): New CSRE feature handler.
|
|
|
|
|
(_CSRE_INSN): New CSRE instruction type.
|
|
|
|
|
(struct aarch64_opcode): New 'csre' entry for a CSRE CLI feature.
|
|
|
|
|
* aarch64-asm-2.c: Regenerated.
|
|
|
|
|
* aarch64-dis-2.c: Regenerated.
|
|
|
|
|
* aarch64-opc-2.c: Regenerated.
|
|
|
|
|
|
|
|
|
|
2020-10-27 Przemyslaw Wirkus <przemyslaw.wirkus@arm.com>
|
|
|
|
|
|
|
|
|
|
* aarch64-tbl.h (struct aarch64_opcode): Add new WFET instruction encoding
|
|
|
|
|
and operand description.
|
|
|
|
|
* aarch64-asm-2.c: Regenerated.
|
|
|
|
|
* aarch64-dis-2.c: Regenerated.
|
|
|
|
|
* aarch64-opc-2.c: Regenerated.
|
|
|
|
|
|
2020-10-12 22:31:14 +08:00
|
|
|
|
2020-10-26 Cooper Qu <cooper.qu@linux.alibaba.com>
|
|
|
|
|
|
|
|
|
|
* csky-opc.h (csky_v2_opcodes): Change plsl.u16 to plsl.16.
|
|
|
|
|
|
2020-10-12 22:29:09 +08:00
|
|
|
|
2020-10-26 Cooper Qu <cooper.qu@linux.alibaba.com>
|
|
|
|
|
|
|
|
|
|
* csky-dis.c (csky_output_operand): Add handler for
|
|
|
|
|
OPRND_TYPE_IMM5b_VSH and OPRND_TYPE_VREG_WITH_INDEX.
|
|
|
|
|
* csky-opc.h (OPRND_TYPE_VREG_WITH_INDEX): New enum.
|
|
|
|
|
(OPRND_TYPE_IMM5b_VSH): New enum. (csky_v2_opcodes): Fix and add
|
|
|
|
|
some instructions for VDSPV1.
|
|
|
|
|
|
2020-10-26 09:35:26 +08:00
|
|
|
|
2020-10-26 Lili Cui <lili.cui@intel.com>
|
|
|
|
|
|
|
|
|
|
* i386-dis.c: Change "XV" to print "{vex}" pseudo prefix.
|
|
|
|
|
|
2020-11-03 19:55:14 +08:00
|
|
|
|
2020-10-23 Przemyslaw Wirkus <przemyslaw.wirkus@arm.com>
|
|
|
|
|
|
|
|
|
|
* aarch64-asm.c (aarch64_ins_barrier_dsb_nxs): New inserter.
|
|
|
|
|
* aarch64-asm.h (AARCH64_DECL_OPD_INSERTER): New inserter
|
|
|
|
|
ins_barrier_dsb_nx.
|
|
|
|
|
* aarch64-dis.c (aarch64_ext_barrier_dsb_nxs): New extractor.
|
|
|
|
|
* aarch64-dis.h (AARCH64_DECL_OPD_EXTRACTOR): New extractor
|
|
|
|
|
ext_barrier_dsb_nx.
|
|
|
|
|
* aarch64-opc.c (aarch64_print_operand): New options table
|
|
|
|
|
aarch64_barrier_dsb_nxs_options.
|
|
|
|
|
* aarch64-opc.h (enum aarch64_field_kind): New field name FLD_CRm_dsb_nxs.
|
|
|
|
|
* aarch64-tbl.h (struct aarch64_opcode): Define DSB nXS barrier
|
|
|
|
|
Armv8.7-a instruction.
|
|
|
|
|
* aarch64-asm-2.c: Regenerated.
|
|
|
|
|
* aarch64-dis-2.c: Regenerated.
|
|
|
|
|
* aarch64-opc-2.c: Regenerated.
|
|
|
|
|
|
2020-10-22 20:21:35 +08:00
|
|
|
|
2020-10-22 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
* po/es.po: Remove the duplicated entry.
|
|
|
|
|
|
2020-10-22 19:00:10 +08:00
|
|
|
|
2020-10-20 Dr. David Alan Gilbert <dgilbert@redhat.com>
|
|
|
|
|
|
|
|
|
|
* po/es.po: Fix printf format.
|
|
|
|
|
|
Add AMD znver3 processor support
gas/
* config/tc-i386.c (cpu_arch): Add CPU_ZNVER3_FLAGS flags.
(i386_align_code): Add PROCESSOR_ZNVER cases.
* doc/c-i386.texi: Add znver3, snp, invlpgb and tlbsync.
* gas/i386/i386.exp: Add new znver3 test cases.
* gas/i386/arch-14-znver3.d: New.
* gas/i386/arch-14.d: New.
* gas/i386/arch-14.s: New.
* gas/i386/invlpgb.d: New.
* gas/i386/invlpgb64.d: New.
* gas/i386/invlpgb.s: New.
* gas/i386/snp.d: New.
* gas/i386/snp64.d: New.
* gas/i386/snp.s: New.
* gas/i386/tlbsync.d: New.
* gas/i386/tlbsync.s: New.
* gas/i386/x86-64-arch-4-znver3.d: New.
* gas/i386/x86-64-arch-4.d: New.
* gas/i386/x86-64-arch-4.s: New.
opcodes/
* i386-dis.c (rm_table): Add tlbsync, snp, invlpgb.
* i386-gen.c (cpu_flag_init): Add new CPU_INVLPGB_FLAGS,
CPU_TLBSYNC_FLAGS, and CPU_SNP_FLAGS.
Add CPU_ZNVER3_FLAGS.
(cpu_flags): Add CpuINVLPGB, CpuTLBSYNC, CpuSNP.
* i386-opc.h: Add CpuINVLPGB, CpuTLBSYNC, CpuSNP.
* i386-opc.tbl: Add invlpgb, tlbsync, psmash, pvalidate,
rmpupdate, rmpadjust.
* i386-init.h: Re-generated.
* i386-tbl.h: Re-generated.
2020-10-21 02:26:58 +08:00
|
|
|
|
2020-10-20 Ganesh Gopalasubramanian <Ganesh.Gopalasubramanian@amd.com>
|
|
|
|
|
|
|
|
|
|
* i386-dis.c (rm_table): Add tlbsync, snp, invlpgb.
|
|
|
|
|
* i386-gen.c (cpu_flag_init): Add new CPU_INVLPGB_FLAGS,
|
|
|
|
|
CPU_TLBSYNC_FLAGS, and CPU_SNP_FLAGS.
|
|
|
|
|
Add CPU_ZNVER3_FLAGS.
|
|
|
|
|
(cpu_flags): Add CpuINVLPGB, CpuTLBSYNC, CpuSNP.
|
|
|
|
|
* i386-opc.h: Add CpuINVLPGB, CpuTLBSYNC, CpuSNP.
|
|
|
|
|
* i386-opc.tbl: Add invlpgb, tlbsync, psmash, pvalidate,
|
|
|
|
|
rmpupdate, rmpadjust.
|
|
|
|
|
* i386-init.h: Re-generated.
|
|
|
|
|
* i386-tbl.h: Re-generated.
|
|
|
|
|
|
2020-10-15 10:45:08 +08:00
|
|
|
|
2020-10-16 Lili Cui <lili.cui@intel.com>
|
|
|
|
|
|
|
|
|
|
* i386-opc.tbl: Rename CpuVEX_PREFIX to PseudoVexPrefix
|
|
|
|
|
and move it from cpu_flags to opcode_modifiers.
|
|
|
|
|
Use VexW0 and VexVVVV in the AVX-VNNI instructions.
|
|
|
|
|
* i386-gen.c: Likewise.
|
|
|
|
|
* i386-opc.h: Likewise.
|
|
|
|
|
* i386-opc.h: Likewise.
|
|
|
|
|
* i386-init.h: Regenerated.
|
|
|
|
|
* i386-tbl.h: Likewise.
|
|
|
|
|
|
2020-11-03 19:55:14 +08:00
|
|
|
|
2020-10-16 Przemyslaw Wirkus <przemyslaw.wirkus@arm.com>
|
|
|
|
|
|
|
|
|
|
* aarch64-tbl.h (ARMV8_7): New macro.
|
|
|
|
|
|
2020-10-14 20:02:13 +08:00
|
|
|
|
2020-10-14 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
Lili Cui <lili.cui@intel.com>
|
|
|
|
|
|
|
|
|
|
* i386-dis.c (PREFIX_VEX_0F3850): New.
|
|
|
|
|
(PREFIX_VEX_0F3851): Likewise.
|
|
|
|
|
(PREFIX_VEX_0F3852): Likewise.
|
|
|
|
|
(PREFIX_VEX_0F3853): Likewise.
|
|
|
|
|
(VEX_W_0F3850_P_2): Likewise.
|
|
|
|
|
(VEX_W_0F3851_P_2): Likewise.
|
|
|
|
|
(VEX_W_0F3852_P_2): Likewise.
|
|
|
|
|
(VEX_W_0F3853_P_2): Likewise.
|
|
|
|
|
(prefix_table): Add PREFIX_VEX_0F3850, PREFIX_VEX_0F3851,
|
|
|
|
|
PREFIX_VEX_0F3852 and PREFIX_VEX_0F3853.
|
|
|
|
|
(vex_table): Add VEX_W_0F3850_P_2, VEX_W_0F3851_P_2,
|
|
|
|
|
VEX_W_0F3852_P_2 and VEX_W_0F3853_P_2.
|
|
|
|
|
(putop): Add support for "XV" to print "{vex3}" pseudo prefix.
|
|
|
|
|
* i386-gen.c (cpu_flag_init): Clear the CpuAVX_VNNI bit in
|
|
|
|
|
CPU_UNKNOWN_FLAGS. Add CPU_AVX_VNNI_FLAGS and
|
|
|
|
|
CPU_ANY_AVX_VNNI_FLAGS.
|
|
|
|
|
(cpu_flags): Add CpuAVX_VNNI and CpuVEX_PREFIX.
|
|
|
|
|
* i386-opc.h (CpuAVX_VNNI): New.
|
|
|
|
|
(CpuVEX_PREFIX): Likewise.
|
|
|
|
|
(i386_cpu_flags): Add cpuavx_vnni and cpuvex_prefix.
|
|
|
|
|
* i386-opc.tbl: Add Intel AVX VNNI instructions.
|
|
|
|
|
* i386-init.h: Regenerated.
|
|
|
|
|
* i386-tbl.h: Likewise.
|
|
|
|
|
|
2020-10-14 19:52:11 +08:00
|
|
|
|
2020-10-14 Lili Cui <lili.cui@intel.com>
|
|
|
|
|
H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
* i386-dis.c (PREFIX_0F3A0F): New.
|
|
|
|
|
(MOD_0F3A0F_PREFIX_1): Likewise.
|
|
|
|
|
(REG_0F3A0F_PREFIX_1_MOD_3): Likewise.
|
|
|
|
|
(RM_0F3A0F_P_1_MOD_3_REG_0): Likewise.
|
|
|
|
|
(prefix_table): Add PREFIX_0F3A0F.
|
|
|
|
|
(mod_table): Add MOD_0F3A0F_PREFIX_1.
|
|
|
|
|
(reg_table): Add REG_0F3A0F_PREFIX_1_MOD_3.
|
|
|
|
|
(rm_table): Add RM_0F3A0F_P_1_MOD_3_REG_0.
|
|
|
|
|
* i386-gen.c (cpu_flag_init): Add HRESET_FLAGS,
|
|
|
|
|
CPU_ANY_HRESET_FLAGS.
|
|
|
|
|
(cpu_flags): Add CpuHRESET.
|
|
|
|
|
(output_i386_opcode): Allow 4 byte base_opcode.
|
|
|
|
|
* i386-opc.h (enum): Add CpuHRESET.
|
|
|
|
|
(i386_cpu_flags): Add cpuhreset.
|
|
|
|
|
* i386-opc.tbl: Add Intel HRESET instruction.
|
|
|
|
|
* i386-init.h: Regenerate.
|
|
|
|
|
* i386-tbl.h: Likewise.
|
|
|
|
|
|
2020-10-14 19:31:54 +08:00
|
|
|
|
2020-10-14 Lili Cui <lili.cui@intel.com>
|
|
|
|
|
|
|
|
|
|
* i386-dis.c (enum): Add
|
|
|
|
|
PREFIX_MOD_3_0F01_REG_5_RM_4,
|
|
|
|
|
PREFIX_MOD_3_0F01_REG_5_RM_5,
|
|
|
|
|
PREFIX_MOD_3_0F01_REG_5_RM_6,
|
|
|
|
|
PREFIX_MOD_3_0F01_REG_5_RM_7,
|
|
|
|
|
X86_64_0F01_REG_5_MOD_3_RM_4_PREFIX_1,
|
|
|
|
|
X86_64_0F01_REG_5_MOD_3_RM_5_PREFIX_1,
|
|
|
|
|
X86_64_0F01_REG_5_MOD_3_RM_6_PREFIX_1,
|
|
|
|
|
X86_64_0F01_REG_5_MOD_3_RM_7_PREFIX_1,
|
|
|
|
|
X86_64_0FC7_REG_6_MOD_3_PREFIX_1.
|
|
|
|
|
(prefix_table): New instructions (see prefixes above).
|
|
|
|
|
(rm_table): Likewise
|
|
|
|
|
* i386-gen.c (cpu_flag_init): Add CPU_UINTR_FLAGS,
|
|
|
|
|
CPU_ANY_UINTR_FLAGS.
|
|
|
|
|
(cpu_flags): Add CpuUINTR.
|
|
|
|
|
* i386-opc.h (enum): Add CpuUINTR.
|
|
|
|
|
(i386_cpu_flags): Add cpuuintr.
|
|
|
|
|
* i386-opc.tbl: Add UINTR insns.
|
|
|
|
|
* i386-init.h: Regenerate.
|
|
|
|
|
* i386-tbl.h: Likewise.
|
|
|
|
|
|
2020-10-14 19:17:54 +08:00
|
|
|
|
2020-10-14 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
* i386-gen.c (process_i386_opcode_modifier): Return 1 for
|
|
|
|
|
non-VEX/EVEX/prefix encoding.
|
|
|
|
|
(output_i386_opcode): Fail if non-VEX/EVEX/prefix base_opcode
|
|
|
|
|
has a prefix byte.
|
|
|
|
|
* i386-opc.tbl: Replace the prefix byte in non-VEX/EVEX
|
|
|
|
|
base_opcode with PREFIX_0X66, PREFIX_0XF2 or PREFIX_0XF3.
|
|
|
|
|
* i386-tbl.h: Regenerated.
|
|
|
|
|
|
2020-10-14 10:28:58 +08:00
|
|
|
|
2020-10-13 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
* i386-gen.c (opcode_modifiers): Replace VexOpcode with
|
|
|
|
|
OpcodePrefix.
|
|
|
|
|
* i386-opc.h (VexOpcode): Renamed to ...
|
|
|
|
|
(OpcodePrefix): This.
|
|
|
|
|
(PREFIX_NONE): New.
|
|
|
|
|
(PREFIX_0X66): Likewise.
|
|
|
|
|
(PREFIX_0XF2): Likewise.
|
|
|
|
|
(PREFIX_0XF3): Likewise.
|
|
|
|
|
* i386-opc.tbl (Prefix_0X66): New.
|
|
|
|
|
(Prefix_0XF2): Likewise.
|
|
|
|
|
(Prefix_0XF3): Likewise.
|
|
|
|
|
Replace VexOpcode= with OpcodePrefix=. Use Prefix_0X66 on xorpd.
|
|
|
|
|
Use Prefix_0XF3 on cvtdq2pd. Use Prefix_0XF2 on cvtpd2dq.
|
|
|
|
|
* i386-tbl.h: Regenerated.
|
|
|
|
|
|
2020-11-03 19:55:14 +08:00
|
|
|
|
2020-10-08 Przemyslaw Wirkus <przemyslaw.wirkus@arm.com>
|
|
|
|
|
|
|
|
|
|
* aarch64-opc.c: Add BRBE system registers.
|
|
|
|
|
|
|
|
|
|
2020-10-08 Przemyslaw Wirkus <przemyslaw.wirkus@arm.com>
|
|
|
|
|
|
|
|
|
|
* aarch64-opc.c: New CSRE system registers defined.
|
|
|
|
|
|
2020-10-05 21:20:15 +08:00
|
|
|
|
2020-10-05 Samanta Navarro <ferivoz@riseup.net>
|
|
|
|
|
|
|
|
|
|
* cgen-asm.c: Fix spelling mistakes.
|
|
|
|
|
* cgen-dis.c: Fix spelling mistakes.
|
|
|
|
|
* tic30-dis.c: Fix spelling mistakes.
|
|
|
|
|
|
2020-10-05 20:27:58 +08:00
|
|
|
|
2020-10-05 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
PR binutils/26704
|
|
|
|
|
* i386-dis.c (putop): Always display suffix for %LQ in 64bit.
|
|
|
|
|
|
2020-10-05 20:23:29 +08:00
|
|
|
|
2020-10-05 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
PR binutils/26705
|
|
|
|
|
* i386-dis.c (print_insn): Clear modrm if not needed.
|
|
|
|
|
(putop): Check need_modrm for modrm.mod != 3. Don't check
|
|
|
|
|
need_modrm for modrm.mod == 3.
|
|
|
|
|
|
2020-09-28 22:41:23 +08:00
|
|
|
|
2020-09-28 Przemyslaw Wirkus <przemyslaw.wirkus@arm.com>
|
|
|
|
|
|
This patch introduces ETMv4 (Embedded Trace Macrocell) system registers for the AArch64 architecture.
gas * testsuite/gas/aarch64/etm-ro-invalid.d: New test.
* testsuite/gas/aarch64/etm-ro-invalid.l: New test.
* testsuite/gas/aarch64/etm-ro-invalid.s: New test.
* testsuite/gas/aarch64/etm-ro.s: New test.
* testsuite/gas/aarch64/etm-wo-invalid.d: New test.
* testsuite/gas/aarch64/etm-wo-invalid.l: New test.
* testsuite/gas/aarch64/etm-wo-invalid.s: New test.
* testsuite/gas/aarch64/etm-wo.s: New test.
* testsuite/gas/aarch64/etm.s: New test.
* testsuite/gas/aarch64/sysreg.d: system register s2_1_c0_c3_0 disassembled
now to trcstatr.
opcodes * aarch64-opc.c: Added ETMv4 system registers TRCACATRn, TRCACVRn,
TRCAUTHSTATUS, TRCAUXCTLR, TRCBBCTLR, TRCCCCTLR, TRCCIDCCTLR0, TRCCIDCCTLR1,
TRCCIDCVRn, TRCCIDR0, TRCCIDR1, TRCCIDR2, TRCCIDR3, TRCCLAIMCLR, TRCCLAIMSET,
TRCCNTCTLRn, TRCCNTRLDVRn, TRCCNTVRn, TRCCONFIGR, TRCDEVAFF0, TRCDEVAFF1,
TRCDEVARCH, TRCDEVID, TRCDEVTYPE, TRCDVCMRn, TRCDVCVRn, TRCEVENTCTL0R,
TRCEVENTCTL1R, TRCEXTINSELR, TRCIDR0, TRCIDR1, TRCIDR2, TRCIDR3, TRCIDR4,
TRCIDR5, TRCIDR6, TRCIDR7, TRCIDR8, TRCIDR9, TRCIDR10, TRCIDR11, TRCIDR12,
TRCIDR13, TRCIMSPEC0, TRCIMSPECn, TRCITCTRL, TRCLAR WOTRCLSR, TRCOSLAR
WOTRCOSLSR, TRCPDCR, TRCPDSR, TRCPIDR0, TRCPIDR1, TRCPIDR2, TRCPIDR3,
TRCPIDR4, TRCPIDR[5,6,7], TRCPRGCTLR, TRCP,CSELR, TRCQCTLR, TRCRSCTLRn,
TRCSEQEVRn, TRCSEQRSTEVR, TRCSEQSTR, TRCSSCCRn, TRCSSCSRn, TRCSSPCICRn,
TRCSTALLCTLR, TRCSTATR, TRCSYNCPR, TRCTRACEIDR, TRCTSCTLR, TRCVDARCCTLR,
TRCVDCTLR, TRCVDSACCTLR, TRCVICTLR, TRCVIIECTLR, TRCVIPCSSCTLR, TRCVISSCTLR,
TRCVMIDCCTLR0, TRCVMIDCCTLR1 and TRCVMIDCVRn.
2020-09-28 22:49:11 +08:00
|
|
|
|
* aarch64-opc.c: Added ETMv4 system registers TRCACATRn, TRCACVRn,
|
|
|
|
|
TRCAUTHSTATUS, TRCAUXCTLR, TRCBBCTLR, TRCCCCTLR, TRCCIDCCTLR0, TRCCIDCCTLR1,
|
|
|
|
|
TRCCIDCVRn, TRCCIDR0, TRCCIDR1, TRCCIDR2, TRCCIDR3, TRCCLAIMCLR, TRCCLAIMSET,
|
|
|
|
|
TRCCNTCTLRn, TRCCNTRLDVRn, TRCCNTVRn, TRCCONFIGR, TRCDEVAFF0, TRCDEVAFF1,
|
|
|
|
|
TRCDEVARCH, TRCDEVID, TRCDEVTYPE, TRCDVCMRn, TRCDVCVRn, TRCEVENTCTL0R,
|
|
|
|
|
TRCEVENTCTL1R, TRCEXTINSELR, TRCIDR0, TRCIDR1, TRCIDR2, TRCIDR3, TRCIDR4,
|
|
|
|
|
TRCIDR5, TRCIDR6, TRCIDR7, TRCIDR8, TRCIDR9, TRCIDR10, TRCIDR11, TRCIDR12,
|
|
|
|
|
TRCIDR13, TRCIMSPEC0, TRCIMSPECn, TRCITCTRL, TRCLAR WOTRCLSR, TRCOSLAR
|
|
|
|
|
WOTRCOSLSR, TRCPDCR, TRCPDSR, TRCPIDR0, TRCPIDR1, TRCPIDR2, TRCPIDR3,
|
|
|
|
|
TRCPIDR4, TRCPIDR[5,6,7], TRCPRGCTLR, TRCP,CSELR, TRCQCTLR, TRCRSCTLRn,
|
|
|
|
|
TRCSEQEVRn, TRCSEQRSTEVR, TRCSEQSTR, TRCSSCCRn, TRCSSCSRn, TRCSSPCICRn,
|
|
|
|
|
TRCSTALLCTLR, TRCSTATR, TRCSYNCPR, TRCTRACEIDR, TRCTSCTLR, TRCVDARCCTLR,
|
|
|
|
|
TRCVDCTLR, TRCVDSACCTLR, TRCVICTLR, TRCVIIECTLR, TRCVIPCSSCTLR, TRCVISSCTLR,
|
|
|
|
|
TRCVMIDCCTLR0, TRCVMIDCCTLR1 and TRCVMIDCVRn.
|
2020-09-28 22:41:23 +08:00
|
|
|
|
|
2020-09-28 22:37:50 +08:00
|
|
|
|
2020-09-28 Przemyslaw Wirkus <przemyslaw.wirkus@arm.com>
|
|
|
|
|
|
This patch introduces ETMv4 (Embedded Trace Macrocell) system registers for the AArch64 architecture.
gas * testsuite/gas/aarch64/etm-ro-invalid.d: New test.
* testsuite/gas/aarch64/etm-ro-invalid.l: New test.
* testsuite/gas/aarch64/etm-ro-invalid.s: New test.
* testsuite/gas/aarch64/etm-ro.s: New test.
* testsuite/gas/aarch64/etm-wo-invalid.d: New test.
* testsuite/gas/aarch64/etm-wo-invalid.l: New test.
* testsuite/gas/aarch64/etm-wo-invalid.s: New test.
* testsuite/gas/aarch64/etm-wo.s: New test.
* testsuite/gas/aarch64/etm.s: New test.
* testsuite/gas/aarch64/sysreg.d: system register s2_1_c0_c3_0 disassembled
now to trcstatr.
opcodes * aarch64-opc.c: Added ETMv4 system registers TRCACATRn, TRCACVRn,
TRCAUTHSTATUS, TRCAUXCTLR, TRCBBCTLR, TRCCCCTLR, TRCCIDCCTLR0, TRCCIDCCTLR1,
TRCCIDCVRn, TRCCIDR0, TRCCIDR1, TRCCIDR2, TRCCIDR3, TRCCLAIMCLR, TRCCLAIMSET,
TRCCNTCTLRn, TRCCNTRLDVRn, TRCCNTVRn, TRCCONFIGR, TRCDEVAFF0, TRCDEVAFF1,
TRCDEVARCH, TRCDEVID, TRCDEVTYPE, TRCDVCMRn, TRCDVCVRn, TRCEVENTCTL0R,
TRCEVENTCTL1R, TRCEXTINSELR, TRCIDR0, TRCIDR1, TRCIDR2, TRCIDR3, TRCIDR4,
TRCIDR5, TRCIDR6, TRCIDR7, TRCIDR8, TRCIDR9, TRCIDR10, TRCIDR11, TRCIDR12,
TRCIDR13, TRCIMSPEC0, TRCIMSPECn, TRCITCTRL, TRCLAR WOTRCLSR, TRCOSLAR
WOTRCOSLSR, TRCPDCR, TRCPDSR, TRCPIDR0, TRCPIDR1, TRCPIDR2, TRCPIDR3,
TRCPIDR4, TRCPIDR[5,6,7], TRCPRGCTLR, TRCP,CSELR, TRCQCTLR, TRCRSCTLRn,
TRCSEQEVRn, TRCSEQRSTEVR, TRCSEQSTR, TRCSSCCRn, TRCSSCSRn, TRCSSPCICRn,
TRCSTALLCTLR, TRCSTATR, TRCSYNCPR, TRCTRACEIDR, TRCTSCTLR, TRCVDARCCTLR,
TRCVDCTLR, TRCVDSACCTLR, TRCVICTLR, TRCVIIECTLR, TRCVIPCSSCTLR, TRCVISSCTLR,
TRCVMIDCCTLR0, TRCVMIDCCTLR1 and TRCVMIDCVRn.
2020-09-28 22:49:11 +08:00
|
|
|
|
* aarch64-opc.c: Add ETE system registers TRCEXTINSELR<0-3> and TRCRSR.
|
|
|
|
|
|
|
|
|
|
2020-09-28 Przemyslaw Wirkus <przemyslaw.wirkus@arm.com>
|
|
|
|
|
|
|
|
|
|
* aarch64-opc.c: Add TRBE system registers TRBIDR_EL1 , TRBBASER_EL1 ,
|
|
|
|
|
TRBLIMITR_EL1 , TRBMAR_EL1 , TRBPTR_EL1, TRBSR_EL1 and TRBTRG_EL1.
|
2020-09-28 22:37:50 +08:00
|
|
|
|
|
2020-09-25 19:22:46 +08:00
|
|
|
|
2020-09-26 Alan Modra <amodra@gmail.com>
|
|
|
|
|
|
|
|
|
|
* csky-opc.h: Formatting.
|
|
|
|
|
(GENERAL_REG_BANK): Correct spelling. Update use throughout file.
|
|
|
|
|
(get_register_name): Mask arch with CSKY_ARCH_MASK for shift,
|
|
|
|
|
and shift 1u.
|
|
|
|
|
(get_register_number): Likewise.
|
|
|
|
|
* csky-dis.c (get_gr_name, get_cr_name): Don't mask mach_flag.
|
|
|
|
|
|
2020-09-23 10:30:26 +08:00
|
|
|
|
2020-09-24 Lili Cui <lili.cui@intel.com>
|
|
|
|
|
|
|
|
|
|
PR 26654
|
2020-09-25 19:22:46 +08:00
|
|
|
|
* i386-dis.c (enum): Put MOD_VEX_0F38* together.
|
2020-09-23 10:30:26 +08:00
|
|
|
|
|
2020-09-24 22:03:43 +08:00
|
|
|
|
2020-09-24 Andrew Burgess <andrew.burgess@embecosm.com>
|
|
|
|
|
|
|
|
|
|
* csky-dis.c (csky_output_operand): Enclose body of if in curly
|
|
|
|
|
braces.
|
|
|
|
|
|
2020-06-09 10:43:39 +08:00
|
|
|
|
2020-09-24 Lili Cui <lili.cui@intel.com>
|
|
|
|
|
|
|
|
|
|
* i386-dis.c (enum): Add PREFIX_0F01_REG_1_RM_5,
|
|
|
|
|
PREFIX_0F01_REG_1_RM_6, PREFIX_0F01_REG_1_RM_7,
|
|
|
|
|
X86_64_0F01_REG_1_RM_5_P_2, X86_64_0F01_REG_1_RM_6_P_2,
|
|
|
|
|
X86_64_0F01_REG_1_RM_7_P_2.
|
|
|
|
|
(prefix_table): Likewise.
|
|
|
|
|
(x86_64_table): Likewise.
|
|
|
|
|
(rm_table): Likewise.
|
|
|
|
|
* i386-gen.c (cpu_flag_init): Add CPU_TDX_FLAGS
|
|
|
|
|
and CPU_ANY_TDX_FLAGS.
|
|
|
|
|
(cpu_flags): Add CpuTDX.
|
|
|
|
|
* i386-opc.h (enum): Add CpuTDX.
|
|
|
|
|
(i386_cpu_flags): Add cputdx.
|
|
|
|
|
* i386-opc.tbl: Add TDX insns.
|
|
|
|
|
* i386-init.h: Regenerate.
|
|
|
|
|
* i386-tbl.h: Likewise.
|
|
|
|
|
|
2020-09-17 14:30:28 +08:00
|
|
|
|
2020-09-17 Cooper Qu <<cooper.qu@linux.alibaba.com>>
|
|
|
|
|
|
|
|
|
|
* csky-dis.c (using_abi): New.
|
|
|
|
|
(parse_csky_dis_options): New function.
|
|
|
|
|
(get_gr_name): New function.
|
|
|
|
|
(get_cr_name): New function.
|
|
|
|
|
(csky_output_operand): Use get_gr_name and get_cr_name to
|
|
|
|
|
disassemble and add handle of OPRND_TYPE_IMM5b_LS.
|
|
|
|
|
(print_insn_csky): Parse disassembler options.
|
2020-09-25 19:22:46 +08:00
|
|
|
|
* csky-opc.h (OPRND_TYPE_IMM5b_LS): New enum.
|
2020-09-17 14:30:28 +08:00
|
|
|
|
(GENARAL_REG_BANK): Define.
|
|
|
|
|
(REG_SUPPORT_ALL): Define.
|
|
|
|
|
(REG_SUPPORT_ALL): New.
|
|
|
|
|
(ASH): Define.
|
|
|
|
|
(REG_SUPPORT_A): Define.
|
|
|
|
|
(REG_SUPPORT_B): Define.
|
|
|
|
|
(REG_SUPPORT_C): Define.
|
|
|
|
|
(REG_SUPPORT_D): Define.
|
|
|
|
|
(REG_SUPPORT_E): Define.
|
|
|
|
|
(csky_abiv1_general_regs): New.
|
|
|
|
|
(csky_abiv1_control_regs): New.
|
|
|
|
|
(csky_abiv2_general_regs): New.
|
|
|
|
|
(csky_abiv2_control_regs): New.
|
|
|
|
|
(get_register_name): New function.
|
|
|
|
|
(get_register_number): New function.
|
|
|
|
|
(csky_get_general_reg_name): New function.
|
|
|
|
|
(csky_get_general_regno): New function.
|
|
|
|
|
(csky_get_control_reg_name): New function.
|
|
|
|
|
(csky_get_control_regno): New function.
|
|
|
|
|
(csky_v2_opcodes): Prefer two oprerans format for bclri and
|
|
|
|
|
bseti, strengthen the operands legality check of addc, zext
|
|
|
|
|
and sext.
|
|
|
|
|
|
Enable support to Intel Keylocker instructions
gas/
* NEWS: Add Key Locker.
* config/tc-i386.c (cpu_arch): Add .kl and .wide_kl.
(cpu_noarch): Likewise.
* doc/c-i386.texi: Document kl and wide_kl.
* testsuite/gas/i386/i386.exp: Run keylocker tests.
* testsuite/gas/i386/keylocker-intel.d: New test.
* testsuite/gas/i386/keylocker.d: Likewise.
* testsuite/gas/i386/keylocker.s: Likewise.
* testsuite/gas/i386/x86-64-keylocker-intel.d: Likewise.
* testsuite/gas/i386/x86-64-keylocker.d: Likewise.
* testsuite/gas/i386/x86-64-keylocker.s: Likewise.
* testsuite/gas/i386/x86-64-property-10.d: Likewise.
* testsuite/gas/i386/property-10.d: Likewise.
* testsuite/gas/i386/property-10.s: Likewise.
opcodes/
* i386-dis.c (enum): Add REG_0F38D8_PREFIX_1,
MOD_0F38FA_PREFIX_1, MOD_0F38FB_PREFIX_1,
MOD_0F38DC_PREFIX_1, MOD_0F38DD_PREFIX_1,
MOD_0F38DE_PREFIX_1, MOD_0F38DF_PREFIX_1,
PREFIX_0F38D8, PREFIX_0F38FA, PREFIX_0F38FB.
(reg_table): New instructions (see prefixes above).
(prefix_table): Likewise.
(three_byte_table): Likewise.
(mod_table): Likewise
* i386-gen.c (cpu_flag_init): Add CPU_KL_FLAGS, CPU_WIDE_KL_FLAGS,
CPU_ANY_KL_FLAGS and CPU_ANY_WIDE_KL_FLAGS.
(cpu_flags): Likewise.
(operand_type_init): Likewise.
* i386-opc.h (enum): Add CpuKL and CpuWide_KL.
(i386_cpu_flags): Add cpukl and cpuwide_kl.
* i386-opc.tbl: Add KL and WIDE_KL insns.
* i386-init.h: Regenerate.
* i386-tbl.h: Likewise.
2018-11-05 13:28:48 +08:00
|
|
|
|
2020-09-23 Lili Cui <lili.cui@intel.com>
|
|
|
|
|
|
|
|
|
|
* i386-dis.c (enum): Add REG_0F38D8_PREFIX_1,
|
|
|
|
|
MOD_0F38FA_PREFIX_1, MOD_0F38FB_PREFIX_1,
|
|
|
|
|
MOD_0F38DC_PREFIX_1, MOD_0F38DD_PREFIX_1,
|
|
|
|
|
MOD_0F38DE_PREFIX_1, MOD_0F38DF_PREFIX_1,
|
|
|
|
|
PREFIX_0F38D8, PREFIX_0F38FA, PREFIX_0F38FB.
|
|
|
|
|
(reg_table): New instructions (see prefixes above).
|
|
|
|
|
(prefix_table): Likewise.
|
|
|
|
|
(three_byte_table): Likewise.
|
|
|
|
|
(mod_table): Likewise
|
|
|
|
|
* i386-gen.c (cpu_flag_init): Add CPU_KL_FLAGS, CPU_WIDE_KL_FLAGS,
|
|
|
|
|
CPU_ANY_KL_FLAGS and CPU_ANY_WIDE_KL_FLAGS.
|
|
|
|
|
(cpu_flags): Likewise.
|
|
|
|
|
(operand_type_init): Likewise.
|
|
|
|
|
* i386-opc.h (enum): Add CpuKL and CpuWide_KL.
|
|
|
|
|
(i386_cpu_flags): Add cpukl and cpuwide_kl.
|
|
|
|
|
* i386-opc.tbl: Add KL and WIDE_KL insns.
|
|
|
|
|
* i386-init.h: Regenerate.
|
|
|
|
|
* i386-tbl.h: Likewise.
|
|
|
|
|
|
2020-09-21 16:50:58 +08:00
|
|
|
|
2020-09-21 Alan Modra <amodra@gmail.com>
|
|
|
|
|
|
|
|
|
|
* rx-dis.c (flag_names): Add missing comma.
|
|
|
|
|
(register_names, flag_names, double_register_names),
|
|
|
|
|
(double_register_high_names, double_register_low_names),
|
|
|
|
|
(double_control_register_names, double_condition_names): Remove
|
|
|
|
|
trailing commas.
|
|
|
|
|
|
2020-09-19 00:56:43 +08:00
|
|
|
|
2020-09-18 David Faust <david.faust@oracle.com>
|
|
|
|
|
|
|
|
|
|
* bpf-desc.c: Regenerate.
|
|
|
|
|
* bpf-desc.h: Likewise.
|
|
|
|
|
* bpf-opc.c: Likewise.
|
|
|
|
|
* bpf-opc.h: Likewise.
|
|
|
|
|
|
2020-09-16 17:12:39 +08:00
|
|
|
|
2020-09-16 Andrew Burgess <andrew.burgess@embecosm.com>
|
|
|
|
|
|
|
|
|
|
* csky-dis.c (csky_get_disassembler): Don't return NULL when there
|
|
|
|
|
is no BFD.
|
|
|
|
|
|
2020-09-16 07:55:56 +08:00
|
|
|
|
2020-09-16 Alan Modra <amodra@gmail.com>
|
|
|
|
|
|
|
|
|
|
* ppc-dis.c (ppc_symbol_is_valid): Adjust elf_symbol_from invocation.
|
|
|
|
|
|
2020-09-10 20:23:11 +08:00
|
|
|
|
2020-09-10 Nick Clifton <nickc@redhat.com>
|
|
|
|
|
|
|
|
|
|
* ppc-dis.c (ppc_symbol_is_valid): New function. Returns false
|
|
|
|
|
for hidden, local, no-type symbols.
|
|
|
|
|
(disassemble_init_powerpc): Point the symbol_is_valid field in the
|
|
|
|
|
info structure at the new function.
|
|
|
|
|
|
2020-09-10 17:36:51 +08:00
|
|
|
|
2020-09-10 Cooper Qu <cooper.qu@linux.alibaba.com>
|
|
|
|
|
|
|
|
|
|
* csky-opc.h (csky_v2_opcodes): Add L2Cache instructions.
|
|
|
|
|
* testsuite/gas/csky/cskyv2_ck860.d : Adjust to icache.iva
|
|
|
|
|
opcode fixing.
|
|
|
|
|
|
2020-09-10 16:58:15 +08:00
|
|
|
|
2020-09-10 Nick Clifton <nickc@redhat.com>
|
|
|
|
|
|
|
|
|
|
* csky-dis.c (csky_output_operand): Coerce the immediate values to
|
|
|
|
|
long before printing.
|
|
|
|
|
|
2020-09-10 12:42:52 +08:00
|
|
|
|
2020-09-10 Alan Modra <amodra@gmail.com>
|
|
|
|
|
|
|
|
|
|
* csky-dis.c (csky_output_operand): Don't sprintf str to itself.
|
|
|
|
|
|
2020-09-07 17:25:14 +08:00
|
|
|
|
2020-09-07 Cooper Qu <cooper.qu@linux.alibaba.com>
|
|
|
|
|
|
|
|
|
|
* csky-opc.h (csky_v2_opcodes): Change mvtc and mulsw's
|
|
|
|
|
ISA flag.
|
|
|
|
|
|
CSKY: Add FPUV3 instructions, which supported by ck860f.
Co-Authored-By: Lifang Xia <lifang_xia@c-sky.com>
gas/
* config/tc-csky.c (float_work_fpuv3_fmovi): New function,
helper function to encode fpuv3 fmovi instructions.
(float_work_fpuv3_fstore): New function.
(struct literal): Add new member 'offset'.
(csky_cpus): New cpu CK860f.
(enter_literal): Return literal pool pointer instead of offset.
(parse_rt): Adjust the change of enter_literal.
(parse_rtf): Likewise.
(v1_work_lrw): Likewise.
(v1_work_jbsr): Likewise.
(v2_work_lrw): Likewise.
(v2_work_jbsr): Likewise.
(v2_work_jsri): Likewise.
(vdsp_work_vlrw): Likewise.
(is_freglist_legal): Add handler for FPUV3.
(parse_type_freg): Likewise.
(is_imm_within_range): Set e.X_add_number if it is a signed and
negtive number.
(get_operand_value): Add handler for OPRND_TYPE_IMM9b,
OPRND_TYPE_HFLOAT_FMOVI, OPRND_TYPE_SFLOAT_FMOVI
and OPRND_TYPE_DFLOAT_FMOVI.
(float_to_half): Convert float number to harf float.
opcodes/
* csky-dis.c (csky_output_operand): Add handlers for
OPRND_TYPE_HFLOAT_FMOVI, OPRND_TYPE_SFLOAT_FMOVI and
OPRND_TYPE_DFLOAT_FMOVI. Refine OPRND_TYPE_FREGLIST_DASH
to support FPUV3 instructions.
* csky-opc.h (enum operand_type): New enum OPRND_TYPE_IMM9b,
OPRND_TYPE_HFLOAT_FMOVI, OPRND_TYPE_SFLOAT_FMOVI and
OPRND_TYPE_DFLOAT_FMOVI.
(OPRND_MASK_4_5, OPRND_MASK_6, OPRND_MASK_6_7, OPRND_MASK_6_8,
OPRND_MASK_7, OPRND_MASK_7_8, OPRND_MASK_17_24,
OPRND_MASK_20, OPRND_MASK_20_21, OPRND_MASK_20_22,
OPRND_MASK_20_23, OPRND_MASK_20_24, OPRND_MASK_20_25,
OPRND_MASK_0_3or5_8, OPRND_MASK_0_3or6_7, OPRND_MASK_0_3or25,
OPRND_MASK_0_4or21_24, OPRND_MASK_5or20_21,
OPRND_MASK_5or20_22, OPRND_MASK_5or20_23, OPRND_MASK_5or20_24,
OPRND_MASK_5or20_25, OPRND_MASK_8_9or21_25,
OPRND_MASK_8_9or16_25, OPRND_MASK_4_6or20, OPRND_MASK_5_7or20,
OPRND_MASK_4_5or20or25, OPRND_MASK_4_6or20or25,
OPRND_MASK_4_7or20or25, OPRND_MASK_6_9or17_24,
OPRND_MASK_6_7or20, OPRND_MASK_6or20, OPRND_MASK_7or20,
OPRND_MASK_5or8_9or16_25, OPRND_MASK_5or8_9or20_25): Define.
(csky_v2_opcodes): Add FPUV3 instructions.
include/
* opcode/csky.h (CSKY_ISA_FLOAT_7E60): Define.
2020-09-07 17:24:11 +08:00
|
|
|
|
2020-09-07 Cooper Qu <cooper.qu@linux.alibaba.com>
|
|
|
|
|
|
|
|
|
|
* csky-dis.c (csky_output_operand): Add handlers for
|
|
|
|
|
OPRND_TYPE_HFLOAT_FMOVI, OPRND_TYPE_SFLOAT_FMOVI and
|
|
|
|
|
OPRND_TYPE_DFLOAT_FMOVI. Refine OPRND_TYPE_FREGLIST_DASH
|
|
|
|
|
to support FPUV3 instructions.
|
|
|
|
|
* csky-opc.h (enum operand_type): New enum OPRND_TYPE_IMM9b,
|
|
|
|
|
OPRND_TYPE_HFLOAT_FMOVI, OPRND_TYPE_SFLOAT_FMOVI and
|
|
|
|
|
OPRND_TYPE_DFLOAT_FMOVI.
|
|
|
|
|
(OPRND_MASK_4_5, OPRND_MASK_6, OPRND_MASK_6_7, OPRND_MASK_6_8,
|
|
|
|
|
OPRND_MASK_7, OPRND_MASK_7_8, OPRND_MASK_17_24,
|
|
|
|
|
OPRND_MASK_20, OPRND_MASK_20_21, OPRND_MASK_20_22,
|
|
|
|
|
OPRND_MASK_20_23, OPRND_MASK_20_24, OPRND_MASK_20_25,
|
|
|
|
|
OPRND_MASK_0_3or5_8, OPRND_MASK_0_3or6_7, OPRND_MASK_0_3or25,
|
|
|
|
|
OPRND_MASK_0_4or21_24, OPRND_MASK_5or20_21,
|
|
|
|
|
OPRND_MASK_5or20_22, OPRND_MASK_5or20_23, OPRND_MASK_5or20_24,
|
|
|
|
|
OPRND_MASK_5or20_25, OPRND_MASK_8_9or21_25,
|
|
|
|
|
OPRND_MASK_8_9or16_25, OPRND_MASK_4_6or20, OPRND_MASK_5_7or20,
|
|
|
|
|
OPRND_MASK_4_5or20or25, OPRND_MASK_4_6or20or25,
|
|
|
|
|
OPRND_MASK_4_7or20or25, OPRND_MASK_6_9or17_24,
|
|
|
|
|
OPRND_MASK_6_7or20, OPRND_MASK_6or20, OPRND_MASK_7or20,
|
|
|
|
|
OPRND_MASK_5or8_9or16_25, OPRND_MASK_5or8_9or20_25): Define.
|
|
|
|
|
(csky_v2_opcodes): Add FPUV3 instructions.
|
|
|
|
|
|
2020-09-08 21:21:44 +08:00
|
|
|
|
2020-09-08 Alex Coplan <alex.coplan@arm.com>
|
|
|
|
|
|
|
|
|
|
* aarch64-dis.c (print_operands): Pass CPU features to
|
|
|
|
|
aarch64_print_operand().
|
|
|
|
|
* aarch64-opc.c (aarch64_print_operand): Use CPU features to determine
|
|
|
|
|
preferred disassembly of system registers.
|
|
|
|
|
(SR_RNG): Refactor to use new SR_FEAT2 macro.
|
|
|
|
|
(SR_FEAT2): New.
|
|
|
|
|
(SR_V8_1_A): New.
|
|
|
|
|
(SR_V8_4_A): New.
|
|
|
|
|
(SR_V8_A): New.
|
|
|
|
|
(SR_V8_R): New.
|
|
|
|
|
(SR_EXPAND_ELx): New.
|
|
|
|
|
(SR_EXPAND_EL12): New.
|
|
|
|
|
(aarch64_sys_regs): Specify which registers are only on
|
|
|
|
|
A-profile, add R-profile system registers.
|
|
|
|
|
(ENC_BARLAR): New.
|
|
|
|
|
(PRBARn_ELx): New.
|
|
|
|
|
(PRLARn_ELx): New.
|
|
|
|
|
(aarch64_sys_ins_reg_supported_p): Reject EL3 registers for
|
|
|
|
|
Armv8-R AArch64.
|
|
|
|
|
|
2020-09-08 21:18:38 +08:00
|
|
|
|
2020-09-08 Alex Coplan <alex.coplan@arm.com>
|
|
|
|
|
|
|
|
|
|
* aarch64-tbl.h (aarch64_feature_v8_r): New.
|
|
|
|
|
(ARMV8_R): New.
|
|
|
|
|
(V8_R_INSN): New.
|
|
|
|
|
(aarch64_opcode_table): Add dfb.
|
|
|
|
|
* aarch64-opc-2.c: Regenerate.
|
|
|
|
|
* aarch64-asm-2.c: Regenerate.
|
|
|
|
|
* aarch64-dis-2.c: Regenerate.
|
|
|
|
|
|
2020-09-08 21:13:45 +08:00
|
|
|
|
2020-09-08 Alex Coplan <alex.coplan@arm.com>
|
|
|
|
|
|
|
|
|
|
* aarch64-dis.c (arch_variant): New.
|
|
|
|
|
(determine_disassembling_preference): Disassemble according to
|
|
|
|
|
arch variant.
|
|
|
|
|
(select_aarch64_variant): New.
|
|
|
|
|
(print_insn_aarch64): Set feature set.
|
|
|
|
|
|
ubsan: v850-opc.c:412 left shift cannot be represented
include/
* opcode/v850.h (struct v850_operand <insert>): Make param op an
unsigned long.
opcodes/
* v850-opc.c (insert_i5div1, insert_i5div2, insert_i5div3),
(insert_d5_4, insert_d8_6, insert_d8_7, insert_v8, insert_d9),
(insert_u16_loop, insert_d16_15, insert_d16_16, insert_d17_16),
(insert_d22, insert_d23, insert_d23_align1, insert_i9, insert_u9),
(insert_spe, insert_r4, insert_POS, insert_WIDTH, insert_SELID),
(insert_VECTOR8, insert_VECTOR5, insert_CACHEOP, insert_PREFOP),
(nsert_IMM10U, insert_SRSEL1, insert_SRSEL2): Use unsigned long
for value parameter and update code to suit.
(extract_d9, extract_d16_15, extract_d16_16, extract_d17_16),
(extract_d22, extract_d23, extract_i9): Use unsigned long variables.
2020-09-02 09:30:15 +08:00
|
|
|
|
2020-09-02 Alan Modra <amodra@gmail.com>
|
|
|
|
|
|
|
|
|
|
* v850-opc.c (insert_i5div1, insert_i5div2, insert_i5div3),
|
|
|
|
|
(insert_d5_4, insert_d8_6, insert_d8_7, insert_v8, insert_d9),
|
|
|
|
|
(insert_u16_loop, insert_d16_15, insert_d16_16, insert_d17_16),
|
|
|
|
|
(insert_d22, insert_d23, insert_d23_align1, insert_i9, insert_u9),
|
|
|
|
|
(insert_spe, insert_r4, insert_POS, insert_WIDTH, insert_SELID),
|
|
|
|
|
(insert_VECTOR8, insert_VECTOR5, insert_CACHEOP, insert_PREFOP),
|
|
|
|
|
(nsert_IMM10U, insert_SRSEL1, insert_SRSEL2): Use unsigned long
|
|
|
|
|
for value parameter and update code to suit.
|
|
|
|
|
(extract_d9, extract_d16_15, extract_d16_16, extract_d17_16),
|
|
|
|
|
(extract_d22, extract_d23, extract_i9): Use unsigned long variables.
|
|
|
|
|
|
2020-09-02 09:17:33 +08:00
|
|
|
|
2020-09-02 Alan Modra <amodra@gmail.com>
|
|
|
|
|
|
|
|
|
|
* i386-dis.c (OP_E_memory): Don't cast to signed type when
|
|
|
|
|
negating.
|
|
|
|
|
(get32, get32s): Use unsigned types in shift expressions.
|
|
|
|
|
|
2020-09-02 09:14:32 +08:00
|
|
|
|
2020-09-02 Alan Modra <amodra@gmail.com>
|
|
|
|
|
|
|
|
|
|
* csky-dis.c (print_insn_csky): Use unsigned type for "given".
|
|
|
|
|
|
2020-09-02 09:12:53 +08:00
|
|
|
|
2020-09-02 Alan Modra <amodra@gmail.com>
|
|
|
|
|
|
|
|
|
|
* crx-dis.c: Whitespace.
|
|
|
|
|
(print_arg): Use unsigned type for longdisp and mask variables,
|
|
|
|
|
and for left shift constant.
|
|
|
|
|
|
2020-09-02 09:05:10 +08:00
|
|
|
|
2020-09-02 Alan Modra <amodra@gmail.com>
|
|
|
|
|
|
|
|
|
|
* cgen-ibld.in (insert_normal, extract_normal): Use 1UL in left shift.
|
|
|
|
|
* bpf-ibld.c: Regenerate.
|
|
|
|
|
* epiphany-ibld.c: Regenerate.
|
|
|
|
|
* fr30-ibld.c: Regenerate.
|
|
|
|
|
* frv-ibld.c: Regenerate.
|
|
|
|
|
* ip2k-ibld.c: Regenerate.
|
|
|
|
|
* iq2000-ibld.c: Regenerate.
|
|
|
|
|
* lm32-ibld.c: Regenerate.
|
|
|
|
|
* m32c-ibld.c: Regenerate.
|
|
|
|
|
* m32r-ibld.c: Regenerate.
|
|
|
|
|
* mep-ibld.c: Regenerate.
|
|
|
|
|
* mt-ibld.c: Regenerate.
|
|
|
|
|
* or1k-ibld.c: Regenerate.
|
|
|
|
|
* xc16x-ibld.c: Regenerate.
|
|
|
|
|
* xstormy16-ibld.c: Regenerate.
|
|
|
|
|
|
2020-09-02 09:03:07 +08:00
|
|
|
|
2020-09-02 Alan Modra <amodra@gmail.com>
|
|
|
|
|
|
|
|
|
|
* bfin-dis.c (MASKBITS): Use SIGNBIT.
|
|
|
|
|
|
2020-09-02 14:06:03 +08:00
|
|
|
|
2020-09-02 Cooper Qu <cooper.qu@linux.alibaba.com>
|
|
|
|
|
|
|
|
|
|
* csky-opc.h (csky_v2_opcodes): Move divul and divsl
|
|
|
|
|
to CSKYV2_ISA_3E3R3 instruction set.
|
|
|
|
|
|
2020-09-02 14:05:49 +08:00
|
|
|
|
2020-09-02 Cooper Qu <cooper.qu@linux.alibaba.com>
|
|
|
|
|
|
|
|
|
|
* csky-opc.h (csky_v2_opcodes): Fix Encode of mulsws.
|
|
|
|
|
|
2020-09-01 06:18:02 +08:00
|
|
|
|
2020-09-01 Alan Modra <amodra@gmail.com>
|
|
|
|
|
|
|
|
|
|
* mep-ibld.c: Regenerate.
|
|
|
|
|
|
2020-08-31 11:27:54 +08:00
|
|
|
|
2020-08-31 Cooper Qu <cooper.qu@linux.alibaba.com>
|
|
|
|
|
|
|
|
|
|
* csky-dis.c (csky_output_operand): Assign dis_info.value for
|
|
|
|
|
OPRND_TYPE_VREG.
|
|
|
|
|
|
2020-08-30 18:10:31 +08:00
|
|
|
|
2020-08-30 Alan Modra <amodra@gmail.com>
|
|
|
|
|
|
|
|
|
|
* cr16-dis.c: Formatting.
|
|
|
|
|
(parameter): Delete struct typedef. Use dwordU instead
|
|
|
|
|
throughout file.
|
|
|
|
|
(make_argument <arg_idxr>): Simplify detection of cbitb, sbitb
|
|
|
|
|
and tbitb.
|
|
|
|
|
(make_argument <arg_cr>): Extract 20-bit field not 16-bit.
|
|
|
|
|
|
2020-08-29 09:40:54 +08:00
|
|
|
|
2020-08-29 Alan Modra <amodra@gmail.com>
|
|
|
|
|
|
|
|
|
|
PR 26446
|
|
|
|
|
* csky-opc.h (MAX_OPRND_NUM): Define to 5.
|
|
|
|
|
(union csky_operand): Use MAX_OPRND_NUM to size oprnds array.
|
|
|
|
|
|
PR26449, PR26450 UBSAN: frv-ibld.c:135 left shift
Eh well, I guess the code didn't quite live up to the comment.
PR 26449
PR 26450
* cgen-ibld.in (insert_1): Use 1UL in forming mask.
(extract_normal): Likewise.
(insert_normal): Likewise, and move past zero length test.
(put_insn_int_value): Handle mask for zero length, use 1UL.
* bpf-ibld.c, * epiphany-ibld.c, * fr30-ibld.c, * frv-ibld.c,
* ip2k-ibld.c, * iq2000-ibld.c, * lm32-ibld.c, * m32c-ibld.c,
* m32r-ibld.c, * mep-ibld.c, * mt-ibld.c, * or1k-ibld.c,
* xc16x-ibld.c, * xstormy16-ibld.c: Regenerate.
2020-08-28 22:13:16 +08:00
|
|
|
|
2020-08-28 Alan Modra <amodra@gmail.com>
|
|
|
|
|
|
|
|
|
|
PR 26449
|
|
|
|
|
PR 26450
|
|
|
|
|
* cgen-ibld.in (insert_1): Use 1UL in forming mask.
|
|
|
|
|
(extract_normal): Likewise.
|
|
|
|
|
(insert_normal): Likewise, and move past zero length test.
|
|
|
|
|
(put_insn_int_value): Handle mask for zero length, use 1UL.
|
|
|
|
|
* bpf-ibld.c, * epiphany-ibld.c, * fr30-ibld.c, * frv-ibld.c,
|
|
|
|
|
* ip2k-ibld.c, * iq2000-ibld.c, * lm32-ibld.c, * m32c-ibld.c,
|
|
|
|
|
* m32r-ibld.c, * mep-ibld.c, * mt-ibld.c, * or1k-ibld.c,
|
|
|
|
|
* xc16x-ibld.c, * xstormy16-ibld.c: Regenerate.
|
|
|
|
|
|
2020-08-26 11:21:14 +08:00
|
|
|
|
2020-08-28 Cooper Qu <cooper.qu@linux.alibaba.com>
|
|
|
|
|
|
|
|
|
|
* csky-dis.c (CSKY_DEFAULT_ISA): Define.
|
|
|
|
|
(csky_dis_info): Add member isa.
|
|
|
|
|
(csky_find_inst_info): Skip instructions that do not belong to
|
|
|
|
|
current CPU.
|
|
|
|
|
(csky_get_disassembler): Get infomation from attribute section.
|
|
|
|
|
(print_insn_csky): Set defualt ISA flag.
|
|
|
|
|
* csky.h (CSKY_ISA_VDSP_2): Rename from CSKY_ISA_VDSP_V2.
|
|
|
|
|
* csky-opc.h (struct csky_opcode): Change isa_flag16 and
|
|
|
|
|
isa_flag32'type to unsigned 64 bits.
|
|
|
|
|
|
2020-08-26 22:48:39 +08:00
|
|
|
|
2020-08-26 Jose E. Marchesi <jemarch@gnu.org>
|
|
|
|
|
|
|
|
|
|
* disassemble.c (enum epbf_isa_attr): Add ISA_XBPFBE, ISA_EBPFMAX.
|
|
|
|
|
|
bpf: add xBPF ISA
This patch adds support for xBPF, another ISA targetting the BPF
virtual architecture. For now, the primary difference between eBPF
and xBPF is that xBPF supports indirect calls through the
'call %reg' form of the call instruction.
bfd/
* archures.c (bfd_mach_xbpf): Define.
* bfd-in2.h: Regenerate.
* cpu-bpf.c (bfd_xbpf_arch) New.
(bfd_bpf_arch) Update next in list field to point to xbpf arch.
cpu/
* bpf.cpu (arch bpf): Add xbpf mach and isas.
(define-xbpf-isa) New pmacro.
(all-isas) Add xbpfle,xbpfbe.
(endian-isas): New pmacro.
(mach xbpf): New.
(model xbpf-def): Likewise.
(h-gpr): Add xbpf mach.
(f-dstle, f-srcle, dstle, srcle): Add xbpfle isa.
(f-dstbe, f-srcbe, dstbe, srcbe): Add xbpfbe isa.
(define-alu-insn-un): Use new endian-isas pmacro.
(define-alu-insn-bin, define-alu-insn-mov): Likewise.
(define-endian-insn, define-lddw): Likewise.
(dlind, dxli, dxsi, dsti): Likewise.
(define-cond-jump-insn, define-call-insn): Likewise.
(define-atomic-insns): Likewise.
gas/
* config/tc-bpf.c: Add option -mxbpf to select xbpf isa.
* testsuite/gas/bpf/indcall-1.d: New file.
* testsuite/gas/bpf/indcall-1.s: Likewise.
* testsuite/gas/bpf/indcall-bad-1.l: Likewise.
* testsuite/gas/bpf/indcall-bad-1.s: Likewise.
* testsuite/gas/bpf/bpf.exp: Run new tests.
opcodes/
* bpf-desc.c: Regenerate.
* bpf-desc.h: Likewise.
* bpf-opc.c: Likewise.
* bpf-opc.h: Likewise.
* disassemble.c (disassemble_init_for_target): Set bits for xBPF
ISA when appropriate.
2020-08-26 21:39:00 +08:00
|
|
|
|
2020-08-26 David Faust <david.faust@oracle.com>
|
|
|
|
|
|
|
|
|
|
* bpf-desc.c: Regenerate.
|
|
|
|
|
* bpf-desc.h: Likewise.
|
|
|
|
|
* bpf-opc.c: Likewise.
|
|
|
|
|
* bpf-opc.h: Likewise.
|
|
|
|
|
* disassemble.c (disassemble_init_for_target): Set bits for xBPF
|
|
|
|
|
ISA when appropriate.
|
|
|
|
|
|
2020-08-25 16:16:59 +08:00
|
|
|
|
2020-08-25 Alan Modra <amodra@gmail.com>
|
|
|
|
|
|
|
|
|
|
PR 26504
|
|
|
|
|
* vax-dis.c (parse_disassembler_options): Always add at least one
|
|
|
|
|
to entry_addr_total_slots.
|
|
|
|
|
|
2020-08-24 20:13:47 +08:00
|
|
|
|
2020-08-24 Cooper Qu <cooper.qu@linux.alibaba.com>
|
|
|
|
|
|
|
|
|
|
* csky-dis.c (csky_find_inst_info): Skip CK860's instructions
|
|
|
|
|
in other CPUs to speed up disassembling.
|
|
|
|
|
* csky-opc.h (csky_v2_opcodes): Add CK860's instructions,
|
|
|
|
|
Change plsli.u16 to plsli.16, change sync's operand format.
|
|
|
|
|
|
2020-08-21 18:08:10 +08:00
|
|
|
|
2020-08-21 Cooper Qu <cooper.qu@linux.alibaba.com>
|
|
|
|
|
|
|
|
|
|
* csky-opc.h (csky_v2_opcodes): Add instruction bnezad.
|
|
|
|
|
|
2020-08-21 22:32:20 +08:00
|
|
|
|
2020-08-21 Nick Clifton <nickc@redhat.com>
|
|
|
|
|
|
|
|
|
|
* aarch64-dis.c (get_sym_code_type): Return FALSE for non-ELF
|
|
|
|
|
symbols.
|
|
|
|
|
|
2020-08-21 16:17:36 +08:00
|
|
|
|
2020-08-21 Cooper Qu <cooper.qu@linux.alibaba.com>
|
|
|
|
|
|
|
|
|
|
* csky-opc.h (csky_v2_opcodes): Add two operands form for bloop.
|
|
|
|
|
|
2020-08-19 07:17:35 +08:00
|
|
|
|
2020-08-19 Alan Modra <amodra@gmail.com>
|
|
|
|
|
|
|
|
|
|
* ppc-opc.c (powerpc_opcodes): Replace OBF with BF for vcmpsq,
|
|
|
|
|
vcmpuq and xvtlsbb.
|
|
|
|
|
|
2020-08-19 01:48:42 +08:00
|
|
|
|
2020-08-18 Peter Bergner <bergner@linux.ibm.com>
|
|
|
|
|
|
|
|
|
|
* ppc-opc.c (powerpc_opcodes) <xvcvbf16sp>: Rename from this...
|
|
|
|
|
<xvcvbf16spn>: ...to this.
|
|
|
|
|
|
2020-08-12 20:49:54 +08:00
|
|
|
|
2020-08-12 Alex Coplan <alex.coplan@arm.com>
|
|
|
|
|
|
|
|
|
|
* aarch64-opc.c (aarch64_sys_regs): Add MPAM registers.
|
|
|
|
|
|
2020-08-12 18:25:38 +08:00
|
|
|
|
2020-08-12 Nick Clifton <nickc@redhat.com>
|
|
|
|
|
|
|
|
|
|
* po/sr.po: Updated Serbian translation.
|
|
|
|
|
|
2020-08-11 15:50:04 +08:00
|
|
|
|
2020-08-11 Alan Modra <amodra@gmail.com>
|
|
|
|
|
|
|
|
|
|
* ppc-opc.c (powerpc_opcodes): Move cctpl, cctpm and cctph.
|
|
|
|
|
|
2020-08-10 23:20:17 +08:00
|
|
|
|
2020-08-10 Przemyslaw Wirkus <przemyslaw.wirkus@arm.com>
|
|
|
|
|
|
|
|
|
|
* aarch64-opc.c (aarch64_print_operand):
|
|
|
|
|
(aarch64_sys_reg_deprecated_p): Functions paramaters changed.
|
|
|
|
|
(aarch64_sys_reg_supported_p): Function removed.
|
|
|
|
|
(aarch64_sys_ins_reg_supported_p): Functions paramaters changed.
|
|
|
|
|
(aarch64_sys_ins_reg_supported_p): Merged aarch64_sys_reg_supported_p
|
|
|
|
|
into this function.
|
|
|
|
|
|
2020-08-10 20:11:36 +08:00
|
|
|
|
2020-08-10 Alan Modra <amodra@gmail.com>
|
|
|
|
|
|
|
|
|
|
* ppc-opc.c (powerpc_opcodes): Add many mtspr and mfspr extended
|
|
|
|
|
instructions.
|
|
|
|
|
|
2020-08-10 13:38:27 +08:00
|
|
|
|
2020-08-10 Alan Modra <amodra@gmail.com>
|
|
|
|
|
|
|
|
|
|
* ppc-opc.c (powerpc_opcodes): Add exser, msgsndu, msgclru.
|
|
|
|
|
Enable icbt for power5, miso for power8.
|
|
|
|
|
|
2020-08-10 13:37:33 +08:00
|
|
|
|
2020-08-10 Alan Modra <amodra@gmail.com>
|
|
|
|
|
|
|
|
|
|
* ppc-opc.c (powerpc_opcodes): Prioritise mtfprd and mtvrd over
|
|
|
|
|
mtvsrd, and similarly for mfvsrd.
|
|
|
|
|
|
2020-08-05 04:29:15 +08:00
|
|
|
|
2020-08-04 Christian Groessler <chris@groessler.org>
|
|
|
|
|
Tadashi G. Takaoka <tadashi.g.takaoka@gmail.com>
|
|
|
|
|
|
|
|
|
|
* z8kgen.c (opt): Fix "sout imm16,rs" and "soutb imm16,rbs"
|
|
|
|
|
opcodes (special "out" to absolute address).
|
|
|
|
|
* z8k-opc.h: Regenerate.
|
|
|
|
|
|
2020-07-31 07:13:02 +08:00
|
|
|
|
2020-07-30 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
PR gas/26305
|
|
|
|
|
* i386-opc.h (Prefix_Disp8): New.
|
|
|
|
|
(Prefix_Disp16): Likewise.
|
|
|
|
|
(Prefix_Disp32): Likewise.
|
|
|
|
|
(Prefix_Load): Likewise.
|
|
|
|
|
(Prefix_Store): Likewise.
|
|
|
|
|
(Prefix_VEX): Likewise.
|
|
|
|
|
(Prefix_VEX3): Likewise.
|
|
|
|
|
(Prefix_EVEX): Likewise.
|
|
|
|
|
(Prefix_REX): Likewise.
|
|
|
|
|
(Prefix_NoOptimize): Likewise.
|
|
|
|
|
* i386-opc.tbl: Use Prefix_XXX on pseudo prefixes. Add {disp16}.
|
|
|
|
|
* i386-tbl.h: Regenerated.
|
|
|
|
|
|
2020-07-30 01:46:44 +08:00
|
|
|
|
2020-07-29 Andreas Arnez <arnez@linux.ibm.com>
|
|
|
|
|
|
|
|
|
|
* s390-mkopc.c (insertExpandedMnemonic): Handle unreachable
|
|
|
|
|
default case with abort() instead of printing an error message and
|
|
|
|
|
continuing, to avoid a maybe-uninitialized warning.
|
|
|
|
|
|
2020-07-24 17:14:22 +08:00
|
|
|
|
2020-07-24 Nick Clifton <nickc@redhat.com>
|
|
|
|
|
|
|
|
|
|
* po/de.po: Updated German translation.
|
|
|
|
|
|
2020-07-21 20:20:11 +08:00
|
|
|
|
2020-07-21 Jan Beulich <jbeulich@suse.com>
|
|
|
|
|
|
|
|
|
|
* i386-dis.c (OP_E_memory): Revert previous change.
|
|
|
|
|
|
2020-07-15 21:49:45 +08:00
|
|
|
|
2020-07-15 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
PR gas/26237
|
|
|
|
|
* i386-dis.c (OP_E_memory): Don't display eiz with no scale
|
|
|
|
|
without base nor index registers.
|
|
|
|
|
|
2020-07-15 14:55:53 +08:00
|
|
|
|
2020-07-15 Jan Beulich <jbeulich@suse.com>
|
|
|
|
|
|
|
|
|
|
* i386-dis.c (putop): Move 'V' and 'W' handling.
|
|
|
|
|
|
2020-07-15 14:55:20 +08:00
|
|
|
|
2020-07-15 Jan Beulich <jbeulich@suse.com>
|
|
|
|
|
|
|
|
|
|
* i386-dis.c (dis386): Adjust 'V' description. Use P-based
|
|
|
|
|
construct for push/pop of register.
|
|
|
|
|
(putop): Honor cond when handling 'P'. Drop handling of plain
|
|
|
|
|
'V'.
|
|
|
|
|
|
2020-07-15 14:53:55 +08:00
|
|
|
|
2020-07-15 Jan Beulich <jbeulich@suse.com>
|
|
|
|
|
|
|
|
|
|
* i386-dis.c (dis386): Adjust 'P', 'T', 'U', and '@'
|
|
|
|
|
description. Drop '&' description. Use P for push of immediate,
|
|
|
|
|
pushf/popf, enter, and leave. Use %LP for lret/retf.
|
|
|
|
|
(dis386_twobyte): Use P for push/pop of fs/gs.
|
|
|
|
|
(reg_table): Use P for push/pop. Use @ for near call/jmp.
|
|
|
|
|
(x86_64_table): Use P for far call/jmp.
|
|
|
|
|
(putop): Drop handling of 'U' and '&'. Move and adjust handling
|
|
|
|
|
of '@'. Adjust handling of 'P' and 'T'. Drop case_P and case_Q
|
|
|
|
|
labels.
|
|
|
|
|
(OP_J): Drop marking of REX_W as used for v_mode (ISA-dependent)
|
|
|
|
|
and dqw_mode (unconditional).
|
|
|
|
|
|
2020-07-15 00:57:52 +08:00
|
|
|
|
2020-07-14 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
PR gas/26237
|
|
|
|
|
* i386-dis.c (OP_E_memory): Without base nor index registers,
|
|
|
|
|
32-bit displacement to 64 bits.
|
|
|
|
|
|
2020-07-14 19:51:15 +08:00
|
|
|
|
2020-07-14 Claudiu Zissulescu <claziss@gmail.com>
|
|
|
|
|
|
|
|
|
|
* arc-dis.c (print_insn_arc): Detect and emit a warning when a
|
|
|
|
|
faulty double register pair is detected.
|
|
|
|
|
|
2020-07-14 16:43:38 +08:00
|
|
|
|
2020-07-14 Jan Beulich <jbeulich@suse.com>
|
|
|
|
|
|
|
|
|
|
* i386-dis.c (OP_D): Print dr<N> instead of db<N> in Intel mode.
|
|
|
|
|
|
2020-07-14 16:43:03 +08:00
|
|
|
|
2020-07-14 Jan Beulich <jbeulich@suse.com>
|
|
|
|
|
|
|
|
|
|
* i386-dis.c (OP_R, Rm): Delete.
|
|
|
|
|
(MOD_0F24, MOD_0F26): Rename to ...
|
|
|
|
|
(X86_64_0F24, X86_64_0F26): ... respectively.
|
|
|
|
|
(dis386): Update 'L' and 'Z' comments.
|
|
|
|
|
(dis386_twobyte): Replace Rm by Em. Change opcode 0F24 and 0F26
|
|
|
|
|
table references.
|
|
|
|
|
(mod_table): Move opcode 0F24 and 0F26 entries ...
|
|
|
|
|
(x86_64_table): ... here.
|
|
|
|
|
(putop): Drop handling of 'L'. Set modrm.mod to 3 for 'Z'. Move
|
|
|
|
|
'Z' case block.
|
|
|
|
|
|
2020-07-14 16:42:33 +08:00
|
|
|
|
2020-07-14 Jan Beulich <jbeulich@suse.com>
|
|
|
|
|
|
|
|
|
|
* i386-dis.c (Rd, Rdq, MaskR): Delete.
|
|
|
|
|
(MOD_EVEX_0F3828_P_1, MOD_EVEX_0F382A_P_1_W_1,
|
|
|
|
|
MOD_EVEX_0F3838_P_1, MOD_EVEX_0F383A_P_1_W_0,
|
|
|
|
|
MOD_EVEX_0F387A_W_0, MOD_EVEX_0F387B_W_0,
|
|
|
|
|
MOD_EVEX_0F387C): New enumerators.
|
|
|
|
|
(reg_table): Use Edq for rdssp.
|
|
|
|
|
(prefix_table): Use Edq for incssp.
|
|
|
|
|
(mod_table): Use Rm for move to/from %tr. Use MaskE for kand*,
|
|
|
|
|
kandn*, knot*, kor*, kxnor*, kxor*, kadd*, kunpck*, kortest*,
|
|
|
|
|
ktest*, and kshift*. Use Edq / MaskE for kmov*.
|
|
|
|
|
* i386-dis-evex.h: Reference mod_table[] for opcode 0F387C.
|
|
|
|
|
* i386-dis-evex-mod.h: New entries for opcodes 0F3828, 0F382A,
|
|
|
|
|
0F3838, 0F383A, 0F387A, 0F387B, and 0F387C.
|
|
|
|
|
* i386-dis-evex-prefix.h: Reference mod_table[] for opcodes
|
|
|
|
|
0F3828_P_1 and 0F3838_P_1.
|
|
|
|
|
* i386-dis-evex-w.h: Reference mod_table[] for opcodes
|
|
|
|
|
0F382A_P_1, 0F383A_P_1, 0F387A, and 0F387B.
|
|
|
|
|
|
2020-07-14 16:42:03 +08:00
|
|
|
|
2020-07-14 Jan Beulich <jbeulich@suse.com>
|
|
|
|
|
|
|
|
|
|
* i386-dis.c (PREFIX_0F01_REG_7_MOD_3_RM_3,
|
|
|
|
|
PREFIX_0FAE_REG_5_MOD_0, PREFIX_0FC3_MOD_0, PREFIX_0F38C8,
|
|
|
|
|
PREFIX_0F38C9, PREFIX_0F38CA, PREFIX_0F38CB, PREFIX_0F38CC,
|
|
|
|
|
PREFIX_0F38CD, PREFIX_0F38F9, PREFIX_0F3ACC, PREFIX_VEX_0F77,
|
|
|
|
|
PREFIX_VEX_0F38F2, PREFIX_VEX_0F38F3_REG_1,
|
|
|
|
|
PREFIX_VEX_0F38F3_REG_2, PREFIX_VEX_0F38F3_REG_3): Delete.
|
|
|
|
|
(MOD_0F38F9_PREFIX_0, VEX_LEN_0F77_P_0, VEX_LEN_0F38F2_P_0,
|
|
|
|
|
VEX_LEN_0F38F3_R_1_P_0, VEX_LEN_0F38F3_R_2_P_0,
|
|
|
|
|
VEX_LEN_0F38F3_R_3_P_0): Rename to ...
|
|
|
|
|
(MOD_0F38F9, VEX_LEN_0F77, VEX_LEN_0F38F2, VEX_LEN_0F38F3_R_1,
|
|
|
|
|
VEX_LEN_0F38F3_R_2, VEX_LEN_0F38F3_R_3): ... these respectively.
|
|
|
|
|
(reg_table, prefix_table, three_byte_table, vex_table,
|
|
|
|
|
vex_len_table, mod_table, rm_table): Replace / remove respective
|
|
|
|
|
entries.
|
|
|
|
|
(intel_operand_size, OP_E_register, OP_G): Avoid undue setting
|
|
|
|
|
of PREFIX_DATA in used_prefixes.
|
|
|
|
|
|
2020-07-14 16:41:30 +08:00
|
|
|
|
2020-07-14 Jan Beulich <jbeulich@suse.com>
|
|
|
|
|
|
|
|
|
|
* i386-dis.c (MOD_VEX_0F3A30_L_0_W_0, MOD_VEX_0F3A30_L_0_W_1,
|
|
|
|
|
MOD_VEX_0F3A31_L_0_W_0, MOD_VEX_0F3A31_L_0_W_1,
|
|
|
|
|
MOD_VEX_0F3A32_L_0_W_0, MOD_VEX_0F3A32_L_0_W_1,
|
|
|
|
|
MOD_VEX_0F3A33_L_0_W_0, MOD_VEX_0F3A33_L_0_W_1): Replace by ...
|
|
|
|
|
(MOD_VEX_0F3A30_L_0, MOD_VEX_0F3A31_L_0,
|
|
|
|
|
MOD_VEX_0F3A32_L_0, MOD_VEX_0F3A33_L_0): ... these.
|
|
|
|
|
(VEX_W_0F3A30_L_0, VEX_W_0F3A31_L_0, VEX_W_0F3A32_L_0,
|
|
|
|
|
VEX_W_0F3A33_L_0): Delete.
|
|
|
|
|
(dis386): Adjust "BW" description.
|
|
|
|
|
(vex_len_table): Refer to mod_table[] for opcodes 0F3A30,
|
|
|
|
|
0F3A31, 0F3A32, and 0F3A33.
|
|
|
|
|
(vex_w_table): Delete opcode 0F3A30, 0F3A31, 0F3A32, and 0F3A33
|
|
|
|
|
entries.
|
|
|
|
|
(mod_table): Replace opcode 0F3A30, 0F3A31, 0F3A32, and 0F3A33
|
|
|
|
|
entries.
|
|
|
|
|
|
2020-07-14 16:33:40 +08:00
|
|
|
|
2020-07-14 Jan Beulich <jbeulich@suse.com>
|
|
|
|
|
|
|
|
|
|
* i386-dis.c (PREFIX_0F6C, PREFIX_0F6D, PREFIX_0F73_REG_3,
|
|
|
|
|
PREFIX_0F73_REG_7, PREFIX_0F3810, PREFIX_0F3814, PREFIX_0F3815,
|
|
|
|
|
PREFIX_0F3817, PREFIX_0F3820, PREFIX_0F3821, PREFIX_0F3822,
|
|
|
|
|
PREFIX_0F3823, PREFIX_0F3824, PREFIX_0F3825, PREFIX_0F3828,
|
|
|
|
|
PREFIX_0F3829, PREFIX_0F382A, PREFIX_0F382B, PREFIX_0F3830,
|
|
|
|
|
PREFIX_0F3831, PREFIX_0F3832, PREFIX_0F3833, PREFIX_0F3834,
|
|
|
|
|
PREFIX_0F3835, PREFIX_0F3837, PREFIX_0F3838, PREFIX_0F3839,
|
|
|
|
|
PREFIX_0F383A, PREFIX_0F383B, PREFIX_0F383C, PREFIX_0F383D,
|
|
|
|
|
PREFIX_0F383E, PREFIX_0F383F, PREFIX_0F3840, PREFIX_0F3841,
|
|
|
|
|
PREFIX_0F3880, PREFIX_0F3881, PREFIX_0F3882, PREFIX_0F38CF,
|
|
|
|
|
PREFIX_0F38DB, PREFIX_0F38DC, PREFIX_0F38DD, PREFIX_0F38DE,
|
|
|
|
|
PREFIX_0F38DF, PREFIX_0F38F5, PREFIX_0F3A08, PREFIX_0F3A09,
|
|
|
|
|
PREFIX_0F3A0A, PREFIX_0F3A0B, PREFIX_0F3A0C, PREFIX_0F3A0D,
|
|
|
|
|
PREFIX_0F3A0E, PREFIX_0F3A14, PREFIX_0F3A15, PREFIX_0F3A16,
|
|
|
|
|
PREFIX_0F3A17, PREFIX_0F3A20, PREFIX_0F3A21, PREFIX_0F3A22,
|
|
|
|
|
PREFIX_0F3A40, PREFIX_0F3A41, PREFIX_0F3A42, PREFIX_0F3A44,
|
|
|
|
|
PREFIX_0F3A60, PREFIX_0F3A61, PREFIX_0F3A62, PREFIX_0F3A63,
|
|
|
|
|
PREFIX_0F3ACE, PREFIX_0F3ACF, PREFIX_0F3ADF, PREFIX_VEX_0F60,
|
|
|
|
|
PREFIX_VEX_0F61, PREFIX_VEX_0F62, PREFIX_VEX_0F63,
|
|
|
|
|
PREFIX_VEX_0F64, PREFIX_VEX_0F65, PREFIX_VEX_0F66,
|
|
|
|
|
PREFIX_VEX_0F67, PREFIX_VEX_0F68, PREFIX_VEX_0F69,
|
|
|
|
|
PREFIX_VEX_0F6A, PREFIX_VEX_0F6B, PREFIX_VEX_0F6C,
|
|
|
|
|
PREFIX_VEX_0F6D, PREFIX_VEX_0F6E, PREFIX_VEX_0F71_REG_2,
|
|
|
|
|
PREFIX_VEX_0F71_REG_4, PREFIX_VEX_0F71_REG_6,
|
|
|
|
|
PREFIX_VEX_0F72_REG_2, PREFIX_VEX_0F72_REG_4,
|
|
|
|
|
PREFIX_VEX_0F72_REG_6, PREFIX_VEX_0F73_REG_2,
|
|
|
|
|
PREFIX_VEX_0F73_REG_3, PREFIX_VEX_0F73_REG_6,
|
|
|
|
|
PREFIX_VEX_0F73_REG_7, PREFIX_VEX_0F74,
|
|
|
|
|
PREFIX_VEX_0F75, PREFIX_VEX_0F76, PREFIX_VEX_0FC4,
|
|
|
|
|
PREFIX_VEX_0FC5, PREFIX_VEX_0FD1, PREFIX_VEX_0FD2,
|
|
|
|
|
PREFIX_VEX_0FD3, PREFIX_VEX_0FD4, PREFIX_VEX_0FD5,
|
|
|
|
|
PREFIX_VEX_0FD6, PREFIX_VEX_0FD7, PREFIX_VEX_0FD8,
|
|
|
|
|
PREFIX_VEX_0FD9, PREFIX_VEX_0FDA, PREFIX_VEX_0FDB,
|
|
|
|
|
PREFIX_VEX_0FDC, PREFIX_VEX_0FDD, PREFIX_VEX_0FDE,
|
|
|
|
|
PREFIX_VEX_0FDF, PREFIX_VEX_0FE0, PREFIX_VEX_0FE1,
|
|
|
|
|
PREFIX_VEX_0FE2, PREFIX_VEX_0FE3, PREFIX_VEX_0FE4,
|
|
|
|
|
PREFIX_VEX_0FE5, PREFIX_VEX_0FE7, PREFIX_VEX_0FE8,
|
|
|
|
|
PREFIX_VEX_0FE9, PREFIX_VEX_0FEA, PREFIX_VEX_0FEB,
|
|
|
|
|
PREFIX_VEX_0FEC, PREFIX_VEX_0FED, PREFIX_VEX_0FEE,
|
|
|
|
|
PREFIX_VEX_0FEF, PREFIX_VEX_0FF1, PREFIX_VEX_0FF2,
|
|
|
|
|
PREFIX_VEX_0FF3, PREFIX_VEX_0FF4, PREFIX_VEX_0FF5,
|
|
|
|
|
PREFIX_VEX_0FF6, PREFIX_VEX_0FF7, PREFIX_VEX_0FF8,
|
|
|
|
|
PREFIX_VEX_0FF9, PREFIX_VEX_0FFA, PREFIX_VEX_0FFB,
|
|
|
|
|
PREFIX_VEX_0FFC, PREFIX_VEX_0FFD, PREFIX_VEX_0FFE,
|
|
|
|
|
PREFIX_VEX_0F3800, PREFIX_VEX_0F3801, PREFIX_VEX_0F3802,
|
|
|
|
|
PREFIX_VEX_0F3803, PREFIX_VEX_0F3804, PREFIX_VEX_0F3805,
|
|
|
|
|
PREFIX_VEX_0F3806, PREFIX_VEX_0F3807, PREFIX_VEX_0F3808,
|
|
|
|
|
PREFIX_VEX_0F3809, PREFIX_VEX_0F380A, PREFIX_VEX_0F380B,
|
|
|
|
|
PREFIX_VEX_0F380C, PREFIX_VEX_0F380D, PREFIX_VEX_0F380E,
|
|
|
|
|
PREFIX_VEX_0F380F, PREFIX_VEX_0F3813, PREFIX_VEX_0F3816,
|
|
|
|
|
PREFIX_VEX_0F3817, PREFIX_VEX_0F3818, PREFIX_VEX_0F3819,
|
|
|
|
|
PREFIX_VEX_0F381A, PREFIX_VEX_0F381C, PREFIX_VEX_0F381D,
|
|
|
|
|
PREFIX_VEX_0F381E, PREFIX_VEX_0F3820, PREFIX_VEX_0F3821,
|
|
|
|
|
PREFIX_VEX_0F3822, PREFIX_VEX_0F3823, PREFIX_VEX_0F3824,
|
|
|
|
|
PREFIX_VEX_0F3825, PREFIX_VEX_0F3828, PREFIX_VEX_0F3829,
|
|
|
|
|
PREFIX_VEX_0F382A, PREFIX_VEX_0F382B, PREFIX_VEX_0F382C,
|
|
|
|
|
PREFIX_VEX_0F382D, PREFIX_VEX_0F382E, PREFIX_VEX_0F382F,
|
|
|
|
|
PREFIX_VEX_0F3830, PREFIX_VEX_0F3831, PREFIX_VEX_0F3832,
|
|
|
|
|
PREFIX_VEX_0F3833, PREFIX_VEX_0F3834, PREFIX_VEX_0F3835,
|
|
|
|
|
PREFIX_VEX_0F3836, PREFIX_VEX_0F3837, PREFIX_VEX_0F3838,
|
|
|
|
|
PREFIX_VEX_0F3839, PREFIX_VEX_0F383A, PREFIX_VEX_0F383B,
|
|
|
|
|
PREFIX_VEX_0F383C, PREFIX_VEX_0F383D, PREFIX_VEX_0F383E,
|
|
|
|
|
PREFIX_VEX_0F383F, PREFIX_VEX_0F3840, PREFIX_VEX_0F3841,
|
|
|
|
|
PREFIX_VEX_0F3845, PREFIX_VEX_0F3846, PREFIX_VEX_0F3847,
|
|
|
|
|
PREFIX_VEX_0F3858, PREFIX_VEX_0F3859, PREFIX_VEX_0F385A,
|
|
|
|
|
PREFIX_VEX_0F3878, PREFIX_VEX_0F3879, PREFIX_VEX_0F388C,
|
|
|
|
|
PREFIX_VEX_0F388E, PREFIX_VEX_0F3890, PREFIX_VEX_0F3891,
|
|
|
|
|
PREFIX_VEX_0F3892, PREFIX_VEX_0F3893, PREFIX_VEX_0F3896,
|
|
|
|
|
PREFIX_VEX_0F3897, PREFIX_VEX_0F3898, PREFIX_VEX_0F3899,
|
|
|
|
|
PREFIX_VEX_0F389A, PREFIX_VEX_0F389B, PREFIX_VEX_0F389C,
|
|
|
|
|
PREFIX_VEX_0F389D, PREFIX_VEX_0F389E, PREFIX_VEX_0F389F,
|
|
|
|
|
PREFIX_VEX_0F38A6, PREFIX_VEX_0F38A7, PREFIX_VEX_0F38A8,
|
|
|
|
|
PREFIX_VEX_0F38A9, PREFIX_VEX_0F38AA, PREFIX_VEX_0F38AB,
|
|
|
|
|
PREFIX_VEX_0F38AC, PREFIX_VEX_0F38AD, PREFIX_VEX_0F38AE,
|
|
|
|
|
PREFIX_VEX_0F38AF, PREFIX_VEX_0F38B6, PREFIX_VEX_0F38B7,
|
|
|
|
|
PREFIX_VEX_0F38B8, PREFIX_VEX_0F38B9, PREFIX_VEX_0F38BA,
|
|
|
|
|
PREFIX_VEX_0F38BB, PREFIX_VEX_0F38BC, PREFIX_VEX_0F38BD,
|
|
|
|
|
PREFIX_VEX_0F38BE, PREFIX_VEX_0F38BF, PREFIX_VEX_0F38CF,
|
|
|
|
|
PREFIX_VEX_0F38DB, PREFIX_VEX_0F38DC, PREFIX_VEX_0F38DD,
|
|
|
|
|
PREFIX_VEX_0F38DE, PREFIX_VEX_0F38DF, PREFIX_VEX_0F3A00,
|
|
|
|
|
PREFIX_VEX_0F3A01, PREFIX_VEX_0F3A02, PREFIX_VEX_0F3A04,
|
|
|
|
|
PREFIX_VEX_0F3A05, PREFIX_VEX_0F3A06, PREFIX_VEX_0F3A08,
|
|
|
|
|
PREFIX_VEX_0F3A09, PREFIX_VEX_0F3A0A, PREFIX_VEX_0F3A0B,
|
|
|
|
|
PREFIX_VEX_0F3A0C, PREFIX_VEX_0F3A0D, PREFIX_VEX_0F3A0E,
|
|
|
|
|
PREFIX_VEX_0F3A0F, PREFIX_VEX_0F3A14, PREFIX_VEX_0F3A15,
|
|
|
|
|
PREFIX_VEX_0F3A16, PREFIX_VEX_0F3A17, PREFIX_VEX_0F3A18,
|
|
|
|
|
PREFIX_VEX_0F3A19, PREFIX_VEX_0F3A1D, PREFIX_VEX_0F3A20,
|
|
|
|
|
PREFIX_VEX_0F3A21, PREFIX_VEX_0F3A22, PREFIX_VEX_0F3A30,
|
|
|
|
|
PREFIX_VEX_0F3A31, PREFIX_VEX_0F3A32, PREFIX_VEX_0F3A33,
|
|
|
|
|
PREFIX_VEX_0F3A38, PREFIX_VEX_0F3A39, PREFIX_VEX_0F3A40,
|
|
|
|
|
PREFIX_VEX_0F3A41, PREFIX_VEX_0F3A42, PREFIX_VEX_0F3A44,
|
|
|
|
|
PREFIX_VEX_0F3A46, PREFIX_VEX_0F3A48, PREFIX_VEX_0F3A49,
|
|
|
|
|
PREFIX_VEX_0F3A4A, PREFIX_VEX_0F3A4B, PREFIX_VEX_0F3A4C,
|
|
|
|
|
PREFIX_VEX_0F3A5C, PREFIX_VEX_0F3A5D, PREFIX_VEX_0F3A5E,
|
|
|
|
|
PREFIX_VEX_0F3A5F, PREFIX_VEX_0F3A60, PREFIX_VEX_0F3A61,
|
|
|
|
|
PREFIX_VEX_0F3A62, PREFIX_VEX_0F3A63, PREFIX_VEX_0F3A68,
|
|
|
|
|
PREFIX_VEX_0F3A69, PREFIX_VEX_0F3A6A, PREFIX_VEX_0F3A6B,
|
|
|
|
|
PREFIX_VEX_0F3A6C, PREFIX_VEX_0F3A6D, PREFIX_VEX_0F3A6E,
|
|
|
|
|
PREFIX_VEX_0F3A6F, PREFIX_VEX_0F3A78, PREFIX_VEX_0F3A79,
|
|
|
|
|
PREFIX_VEX_0F3A7A, PREFIX_VEX_0F3A7B, PREFIX_VEX_0F3A7C,
|
|
|
|
|
PREFIX_VEX_0F3A7D, PREFIX_VEX_0F3A7E, PREFIX_VEX_0F3A7F,
|
|
|
|
|
PREFIX_VEX_0F3ACE, PREFIX_VEX_0F3ACF, PREFIX_VEX_0F3ADF,
|
|
|
|
|
PREFIX_EVEX_0F64, PREFIX_EVEX_0F65, PREFIX_EVEX_0F66,
|
|
|
|
|
PREFIX_EVEX_0F6E, PREFIX_EVEX_0F71_REG_2,
|
|
|
|
|
PREFIX_EVEX_0F71_REG_4, PREFIX_EVEX_0F71_REG_6,
|
|
|
|
|
PREFIX_EVEX_0F72_REG_0, PREFIX_EVEX_0F72_REG_1,
|
|
|
|
|
PREFIX_EVEX_0F72_REG_2, PREFIX_EVEX_0F72_REG_4,
|
|
|
|
|
PREFIX_EVEX_0F72_REG_6, PREFIX_EVEX_0F73_REG_2,
|
|
|
|
|
PREFIX_EVEX_0F73_REG_3, PREFIX_EVEX_0F73_REG_6,
|
|
|
|
|
PREFIX_EVEX_0F73_REG_7, PREFIX_EVEX_0F74, PREFIX_EVEX_0F75,
|
|
|
|
|
PREFIX_EVEX_0F76, PREFIX_EVEX_0FC4, PREFIX_EVEX_0FC5,
|
|
|
|
|
PREFIX_EVEX_0FD6, PREFIX_EVEX_0FDB, PREFIX_EVEX_0FDF,
|
|
|
|
|
PREFIX_EVEX_0FE2, PREFIX_EVEX_0FE7, PREFIX_EVEX_0FEB,
|
|
|
|
|
PREFIX_EVEX_0FEF, PREFIX_EVEX_0F380D, PREFIX_EVEX_0F3816,
|
|
|
|
|
PREFIX_EVEX_0F3819, PREFIX_EVEX_0F381A, PREFIX_EVEX_0F381B,
|
|
|
|
|
PREFIX_EVEX_0F381E, PREFIX_EVEX_0F381F, PREFIX_EVEX_0F382C,
|
|
|
|
|
PREFIX_EVEX_0F382D, PREFIX_EVEX_0F3836, PREFIX_EVEX_0F3837,
|
|
|
|
|
PREFIX_EVEX_0F383B, PREFIX_EVEX_0F383D, PREFIX_EVEX_0F383F,
|
|
|
|
|
PREFIX_EVEX_0F3840, PREFIX_EVEX_0F3842, PREFIX_EVEX_0F3843,
|
|
|
|
|
PREFIX_EVEX_0F3844, PREFIX_EVEX_0F3845, PREFIX_EVEX_0F3846,
|
|
|
|
|
PREFIX_EVEX_0F3847, PREFIX_EVEX_0F384C, PREFIX_EVEX_0F384D,
|
|
|
|
|
PREFIX_EVEX_0F384E, PREFIX_EVEX_0F384F, PREFIX_EVEX_0F3850,
|
|
|
|
|
PREFIX_EVEX_0F3851, PREFIX_EVEX_0F3854, PREFIX_EVEX_0F3855,
|
|
|
|
|
PREFIX_EVEX_0F3859, PREFIX_EVEX_0F385A, PREFIX_EVEX_0F385B,
|
|
|
|
|
PREFIX_EVEX_0F3862, PREFIX_EVEX_0F3863, PREFIX_EVEX_0F3864,
|
|
|
|
|
PREFIX_EVEX_0F3865, PREFIX_EVEX_0F3866, PREFIX_EVEX_0F3870,
|
|
|
|
|
PREFIX_EVEX_0F3871, PREFIX_EVEX_0F3873, PREFIX_EVEX_0F3875,
|
|
|
|
|
PREFIX_EVEX_0F3876, PREFIX_EVEX_0F3877, PREFIX_EVEX_0F387A,
|
|
|
|
|
PREFIX_EVEX_0F387B, PREFIX_EVEX_0F387C, PREFIX_EVEX_0F387D,
|
|
|
|
|
PREFIX_EVEX_0F387E, PREFIX_EVEX_0F387F, PREFIX_EVEX_0F3883,
|
|
|
|
|
PREFIX_EVEX_0F3888, PREFIX_EVEX_0F3889, PREFIX_EVEX_0F388A,
|
|
|
|
|
PREFIX_EVEX_0F388B, PREFIX_EVEX_0F388D, PREFIX_EVEX_0F388F,
|
|
|
|
|
PREFIX_EVEX_0F3890, PREFIX_EVEX_0F3891, PREFIX_EVEX_0F3892,
|
|
|
|
|
PREFIX_EVEX_0F3893, PREFIX_EVEX_0F38A0, PREFIX_EVEX_0F38A1,
|
|
|
|
|
PREFIX_EVEX_0F38A2, PREFIX_EVEX_0F38A3, PREFIX_EVEX_0F38B4,
|
|
|
|
|
PREFIX_EVEX_0F38B5, PREFIX_EVEX_0F38C4,
|
|
|
|
|
PREFIX_EVEX_0F38C6_REG_1, PREFIX_EVEX_0F38C6_REG_2,
|
|
|
|
|
PREFIX_EVEX_0F38C6_REG_5, PREFIX_EVEX_0F38C6_REG_6,
|
|
|
|
|
PREFIX_EVEX_0F38C7_REG_1, PREFIX_EVEX_0F38C7_REG_2,
|
|
|
|
|
PREFIX_EVEX_0F38C7_REG_5, PREFIX_EVEX_0F38C7_REG_6,
|
|
|
|
|
PREFIX_EVEX_0F38C8, PREFIX_EVEX_0F38CA, PREFIX_EVEX_0F38CB,
|
|
|
|
|
PREFIX_EVEX_0F38CC, PREFIX_EVEX_0F38CD, PREFIX_EVEX_0F3A00,
|
|
|
|
|
PREFIX_EVEX_0F3A01, PREFIX_EVEX_0F3A03, PREFIX_EVEX_0F3A05,
|
|
|
|
|
PREFIX_EVEX_0F3A08, PREFIX_EVEX_0F3A09, PREFIX_EVEX_0F3A0A,
|
|
|
|
|
PREFIX_EVEX_0F3A0B, PREFIX_EVEX_0F3A14, PREFIX_EVEX_0F3A15,
|
|
|
|
|
PREFIX_EVEX_0F3A16, PREFIX_EVEX_0F3A17, PREFIX_EVEX_0F3A18,
|
|
|
|
|
PREFIX_EVEX_0F3A19, PREFIX_EVEX_0F3A1A, PREFIX_EVEX_0F3A1B,
|
|
|
|
|
PREFIX_EVEX_0F3A1E, PREFIX_EVEX_0F3A1F, PREFIX_EVEX_0F3A20,
|
|
|
|
|
PREFIX_EVEX_0F3A21, PREFIX_EVEX_0F3A22, PREFIX_EVEX_0F3A23,
|
|
|
|
|
PREFIX_EVEX_0F3A25, PREFIX_EVEX_0F3A26, PREFIX_EVEX_0F3A27,
|
|
|
|
|
PREFIX_EVEX_0F3A38, PREFIX_EVEX_0F3A39, PREFIX_EVEX_0F3A3A,
|
|
|
|
|
PREFIX_EVEX_0F3A3B, PREFIX_EVEX_0F3A3E, PREFIX_EVEX_0F3A3F,
|
|
|
|
|
PREFIX_EVEX_0F3A42, PREFIX_EVEX_0F3A43, PREFIX_EVEX_0F3A50,
|
|
|
|
|
PREFIX_EVEX_0F3A51, PREFIX_EVEX_0F3A54, PREFIX_EVEX_0F3A55,
|
|
|
|
|
PREFIX_EVEX_0F3A56, PREFIX_EVEX_0F3A57, PREFIX_EVEX_0F3A66,
|
|
|
|
|
PREFIX_EVEX_0F3A67, PREFIX_EVEX_0F3A70, PREFIX_EVEX_0F3A71,
|
|
|
|
|
PREFIX_EVEX_0F3A72, PREFIX_EVEX_0F3A73): Delete.
|
|
|
|
|
(MOD_0F382A_PREFIX_2, MOD_0F38F5_PREFIX_2,
|
|
|
|
|
MOD_VEX_0FD7_PREFIX_2, MOD_VEX_0FE7_PREFIX_2,
|
|
|
|
|
MOD_VEX_0F381A_PREFIX_2, MOD_VEX_0F382A_PREFIX_2,
|
|
|
|
|
MOD_VEX_0F382C_PREFIX_2, MOD_VEX_0F382D_PREFIX_2,
|
|
|
|
|
MOD_VEX_0F382E_PREFIX_2, MOD_VEX_0F382F_PREFIX_2,
|
|
|
|
|
MOD_VEX_0F385A_PREFIX_2, MOD_VEX_0F388C_PREFIX_2,
|
|
|
|
|
MOD_VEX_0F388E_PREFIX_2, MOD_VEX_W_0_0F3A30_P_2_LEN_0,
|
|
|
|
|
MOD_VEX_W_1_0F3A30_P_2_LEN_0, MOD_VEX_W_0_0F3A31_P_2_LEN_0,
|
|
|
|
|
MOD_VEX_W_1_0F3A31_P_2_LEN_0, MOD_VEX_W_0_0F3A32_P_2_LEN_0,
|
|
|
|
|
MOD_VEX_W_1_0F3A32_P_2_LEN_0, MOD_VEX_W_0_0F3A33_P_2_LEN_0,
|
|
|
|
|
MOD_VEX_W_1_0F3A33_P_2_LEN_0, MOD_EVEX_0F381A_P_2_W_0,
|
|
|
|
|
MOD_EVEX_0F381A_P_2_W_1, MOD_EVEX_0F381B_P_2_W_0,
|
|
|
|
|
MOD_EVEX_0F381B_P_2_W_1, MOD_EVEX_0F385A_P_2_W_0,
|
|
|
|
|
MOD_EVEX_0F385A_P_2_W_1, MOD_EVEX_0F385B_P_2_W_0,
|
|
|
|
|
MOD_EVEX_0F385B_P_2_W_1, VEX_LEN_0F6E_P_2,
|
|
|
|
|
VEX_LEN_0FC4_P_2, VEX_LEN_0FC5_P_2, VEX_LEN_0FD6_P_2,
|
|
|
|
|
VEX_LEN_0FF7_P_2, VEX_LEN_0F3816_P_2, VEX_LEN_0F3819_P_2,
|
|
|
|
|
VEX_LEN_0F381A_P_2_M_0, VEX_LEN_0F3836_P_2,
|
|
|
|
|
VEX_LEN_0F3841_P_2, VEX_LEN_0F385A_P_2_M_0,
|
|
|
|
|
VEX_LEN_0F38DB_P_2, VEX_LEN_0F3A00_P_2, VEX_LEN_0F3A01_P_2,
|
|
|
|
|
VEX_LEN_0F3A06_P_2, VEX_LEN_0F3A14_P_2, VEX_LEN_0F3A15_P_2,
|
|
|
|
|
VEX_LEN_0F3A16_P_2, VEX_LEN_0F3A17_P_2, VEX_LEN_0F3A18_P_2,
|
|
|
|
|
VEX_LEN_0F3A19_P_2, VEX_LEN_0F3A20_P_2, VEX_LEN_0F3A21_P_2,
|
|
|
|
|
VEX_LEN_0F3A22_P_2, VEX_LEN_0F3A30_P_2, VEX_LEN_0F3A31_P_2,
|
|
|
|
|
VEX_LEN_0F3A32_P_2, VEX_LEN_0F3A33_P_2, VEX_LEN_0F3A38_P_2,
|
|
|
|
|
VEX_LEN_0F3A39_P_2, VEX_LEN_0F3A41_P_2, VEX_LEN_0F3A46_P_2,
|
|
|
|
|
VEX_LEN_0F3A60_P_2, VEX_LEN_0F3A61_P_2, VEX_LEN_0F3A62_P_2,
|
|
|
|
|
VEX_LEN_0F3A63_P_2, VEX_LEN_0F3ADF_P_2, EVEX_LEN_0F6E_P_2,
|
|
|
|
|
EVEX_LEN_0FC4_P_2, EVEX_LEN_0FC5_P_2, EVEX_LEN_0FD6_P_2,
|
|
|
|
|
EVEX_LEN_0F3816_P_2, EVEX_LEN_0F3819_P_2_W_0,
|
|
|
|
|
EVEX_LEN_0F3819_P_2_W_1, EVEX_LEN_0F381A_P_2_W_0_M_0,
|
|
|
|
|
EVEX_LEN_0F381A_P_2_W_1_M_0, EVEX_LEN_0F381B_P_2_W_0_M_0,
|
|
|
|
|
EVEX_LEN_0F381B_P_2_W_1_M_0, EVEX_LEN_0F3836_P_2,
|
|
|
|
|
EVEX_LEN_0F385A_P_2_W_0_M_0, EVEX_LEN_0F385A_P_2_W_1_M_0,
|
|
|
|
|
EVEX_LEN_0F385B_P_2_W_0_M_0, EVEX_LEN_0F385B_P_2_W_1_M_0,
|
|
|
|
|
EVEX_LEN_0F38C6_REG_1_PREFIX_2, EVEX_LEN_0F38C6_REG_2_PREFIX_2,
|
|
|
|
|
EVEX_LEN_0F38C6_REG_5_PREFIX_2, EVEX_LEN_0F38C6_REG_6_PREFIX_2,
|
|
|
|
|
EVEX_LEN_0F38C7_R_1_P_2_W_0, EVEX_LEN_0F38C7_R_1_P_2_W_1,
|
|
|
|
|
EVEX_LEN_0F38C7_R_2_P_2_W_0, EVEX_LEN_0F38C7_R_2_P_2_W_1,
|
|
|
|
|
EVEX_LEN_0F38C7_R_5_P_2_W_0, EVEX_LEN_0F38C7_R_5_P_2_W_1,
|
|
|
|
|
EVEX_LEN_0F38C7_R_6_P_2_W_0, EVEX_LEN_0F38C7_R_6_P_2_W_1,
|
|
|
|
|
EVEX_LEN_0F3A00_P_2_W_1, EVEX_LEN_0F3A01_P_2_W_1,
|
|
|
|
|
EVEX_LEN_0F3A14_P_2, EVEX_LEN_0F3A15_P_2, EVEX_LEN_0F3A16_P_2,
|
|
|
|
|
EVEX_LEN_0F3A17_P_2, EVEX_LEN_0F3A18_P_2_W_0,
|
|
|
|
|
EVEX_LEN_0F3A18_P_2_W_1, EVEX_LEN_0F3A19_P_2_W_0,
|
|
|
|
|
EVEX_LEN_0F3A19_P_2_W_1, EVEX_LEN_0F3A1A_P_2_W_0,
|
|
|
|
|
EVEX_LEN_0F3A1A_P_2_W_1, EVEX_LEN_0F3A1B_P_2_W_0,
|
|
|
|
|
EVEX_LEN_0F3A1B_P_2_W_1, EVEX_LEN_0F3A20_P_2,
|
|
|
|
|
EVEX_LEN_0F3A21_P_2_W_0, EVEX_LEN_0F3A22_P_2,
|
|
|
|
|
EVEX_LEN_0F3A23_P_2_W_0, EVEX_LEN_0F3A23_P_2_W_1,
|
|
|
|
|
EVEX_LEN_0F3A38_P_2_W_0, EVEX_LEN_0F3A38_P_2_W_1,
|
|
|
|
|
EVEX_LEN_0F3A39_P_2_W_0, EVEX_LEN_0F3A39_P_2_W_1,
|
|
|
|
|
EVEX_LEN_0F3A3A_P_2_W_0, EVEX_LEN_0F3A3A_P_2_W_1,
|
|
|
|
|
EVEX_LEN_0F3A3B_P_2_W_0, EVEX_LEN_0F3A3B_P_2_W_1,
|
|
|
|
|
EVEX_LEN_0F3A43_P_2_W_0, EVEX_LEN_0F3A43_P_2_W_1
|
|
|
|
|
VEX_W_0F380C_P_2, VEX_W_0F380D_P_2, VEX_W_0F380E_P_2,
|
|
|
|
|
VEX_W_0F380F_P_2, VEX_W_0F3813_P_2, VEX_W_0F3816_P_2,
|
|
|
|
|
VEX_W_0F3818_P_2, VEX_W_0F3819_P_2,
|
|
|
|
|
VEX_W_0F381A_P_2_M_0_L_0, VEX_W_0F382C_P_2_M_0,
|
|
|
|
|
VEX_W_0F382D_P_2_M_0, VEX_W_0F382E_P_2_M_0,
|
|
|
|
|
VEX_W_0F382F_P_2_M_0, VEX_W_0F3836_P_2,
|
|
|
|
|
VEX_W_0F3846_P_2, VEX_W_0F3858_P_2, VEX_W_0F3859_P_2,
|
|
|
|
|
VEX_W_0F385A_P_2_M_0_L_0, VEX_W_0F3878_P_2,
|
|
|
|
|
VEX_W_0F3879_P_2, VEX_W_0F38CF_P_2, VEX_W_0F3A00_P_2,
|
|
|
|
|
VEX_W_0F3A01_P_2, VEX_W_0F3A02_P_2, VEX_W_0F3A04_P_2,
|
|
|
|
|
VEX_W_0F3A05_P_2, VEX_W_0F3A06_P_2_L_0,
|
|
|
|
|
VEX_W_0F3A18_P_2_L_0, VEX_W_0F3A19_P_2_L_0,
|
|
|
|
|
VEX_W_0F3A1D_P_2, VEX_W_0F3A30_P_2_LEN_0,
|
|
|
|
|
VEX_W_0F3A31_P_2_LEN_0, VEX_W_0F3A32_P_2_LEN_0,
|
|
|
|
|
VEX_W_0F3A33_P_2_LEN_0, VEX_W_0F3A38_P_2_L_0,
|
|
|
|
|
VEX_W_0F3A39_P_2_L_0, VEX_W_0F3A46_P_2_L_0,
|
|
|
|
|
VEX_W_0F3A4A_P_2, VEX_W_0F3A4B_P_2, VEX_W_0F3A4C_P_2,
|
|
|
|
|
VEX_W_0F3ACE_P_2, VEX_W_0F3ACF_P_2, EVEX_W_0F66_P_2,
|
|
|
|
|
EVEX_W_0F72_R_2_P_2, EVEX_W_0F72_R_6_P_2,
|
|
|
|
|
EVEX_W_0F73_R_2_P_2, EVEX_W_0F73_R_6_P_2,
|
|
|
|
|
EVEX_W_0F76_P_2, EVEX_W_0FD6_P_2, EVEX_W_0FE7_P_2,
|
|
|
|
|
EVEX_W_0F380D_P_2, EVEX_W_0F3819_P_2,
|
|
|
|
|
EVEX_W_0F381A_P_2, EVEX_W_0F381B_P_2,
|
|
|
|
|
EVEX_W_0F381E_P_2, EVEX_W_0F381F_P_2,
|
|
|
|
|
EVEX_W_0F3837_P_2, EVEX_W_0F3859_P_2,
|
|
|
|
|
EVEX_W_0F385A_P_2, EVEX_W_0F385B_P_2,
|
|
|
|
|
EVEX_W_0F3870_P_2, EVEX_W_0F387A_P_2,
|
|
|
|
|
EVEX_W_0F387B_P_2, EVEX_W_0F3883_P_2,
|
|
|
|
|
EVEX_W_0F3891_P_2, EVEX_W_0F3893_P_2,
|
|
|
|
|
EVEX_W_0F38A1_P_2, EVEX_W_0F38A3_P_2,
|
|
|
|
|
EVEX_W_0F38C7_R_1_P_2, EVEX_W_0F38C7_R_2_P_2,
|
|
|
|
|
EVEX_W_0F38C7_R_5_P_2, EVEX_W_0F38C7_R_6_P_2,
|
|
|
|
|
EVEX_W_0F3A00_P_2, EVEX_W_0F3A01_P_2,
|
|
|
|
|
EVEX_W_0F3A05_P_2, EVEX_W_0F3A08_P_2,
|
|
|
|
|
EVEX_W_0F3A09_P_2, EVEX_W_0F3A0A_P_2,
|
|
|
|
|
EVEX_W_0F3A0B_P_2, EVEX_W_0F3A18_P_2,
|
|
|
|
|
EVEX_W_0F3A19_P_2, EVEX_W_0F3A1A_P_2,
|
|
|
|
|
EVEX_W_0F3A1B_P_2, EVEX_W_0F3A21_P_2,
|
|
|
|
|
EVEX_W_0F3A23_P_2, EVEX_W_0F3A38_P_2,
|
|
|
|
|
EVEX_W_0F3A39_P_2, EVEX_W_0F3A3A_P_2,
|
|
|
|
|
EVEX_W_0F3A3B_P_2, EVEX_W_0F3A42_P_2,
|
|
|
|
|
EVEX_W_0F3A43_P_2, EVEX_W_0F3A70_P_2,
|
|
|
|
|
EVEX_W_0F3A72_P_2): Rename to ...
|
|
|
|
|
(MOD_0F382A, MOD_0F38F5, MOD_VEX_0FD7, MOD_VEX_0FE7,
|
|
|
|
|
MOD_VEX_0F381A, MOD_VEX_0F382A, MOD_VEX_0F382C, MOD_VEX_0F382D,
|
|
|
|
|
MOD_VEX_0F382E, MOD_VEX_0F382F, MOD_VEX_0F385A, MOD_VEX_0F388C,
|
|
|
|
|
MOD_VEX_0F388E, MOD_VEX_0F3A30_L_0_W_0,
|
|
|
|
|
MOD_VEX_0F3A30_L_0_W_1, MOD_VEX_0F3A31_L_0_W_0,
|
|
|
|
|
MOD_VEX_0F3A31_L_0_W_1, MOD_VEX_0F3A32_L_0_W_0,
|
|
|
|
|
MOD_VEX_0F3A32_L_0_W_1, MOD_VEX_0F3A33_L_0_W_0,
|
|
|
|
|
MOD_VEX_0F3A33_L_0_W_1, MOD_EVEX_0F381A_W_0,
|
|
|
|
|
MOD_EVEX_0F381A_W_1, MOD_EVEX_0F381B_W_0, MOD_EVEX_0F381B_W_1,
|
|
|
|
|
MOD_EVEX_0F385A_W_0, MOD_EVEX_0F385A_W_1, MOD_EVEX_0F385B_W_0,
|
|
|
|
|
MOD_EVEX_0F385B_W_1, VEX_LEN_0F6E, VEX_LEN_0FC4, VEX_LEN_0FC5,
|
|
|
|
|
VEX_LEN_0FD6, VEX_LEN_0FF7, VEX_LEN_0F3816, VEX_LEN_0F3819,
|
|
|
|
|
VEX_LEN_0F381A_M_0, VEX_LEN_0F3836, VEX_LEN_0F3841,
|
|
|
|
|
VEX_LEN_0F385A_M_0, VEX_LEN_0F38DB, VEX_LEN_0F3A00,
|
|
|
|
|
VEX_LEN_0F3A01, VEX_LEN_0F3A06, VEX_LEN_0F3A14, VEX_LEN_0F3A15,
|
|
|
|
|
VEX_LEN_0F3A16, VEX_LEN_0F3A17, VEX_LEN_0F3A18, VEX_LEN_0F3A19,
|
|
|
|
|
VEX_LEN_0F3A20, VEX_LEN_0F3A21, VEX_LEN_0F3A22, VEX_LEN_0F3A30,
|
|
|
|
|
VEX_LEN_0F3A31, VEX_LEN_0F3A32, VEX_LEN_0F3A33, VEX_LEN_0F3A38,
|
|
|
|
|
VEX_LEN_0F3A39, VEX_LEN_0F3A41, VEX_LEN_0F3A46, VEX_LEN_0F3A60,
|
|
|
|
|
VEX_LEN_0F3A61, VEX_LEN_0F3A62, VEX_LEN_0F3A63, VEX_LEN_0F3ADF,
|
|
|
|
|
EVEX_LEN_0F6E, EVEX_LEN_0FC4, EVEX_LEN_0FC5, EVEX_LEN_0FD6,
|
|
|
|
|
EVEX_LEN_0F3816, EVEX_LEN_0F3819_W_0, EVEX_LEN_0F3819_W_1,
|
|
|
|
|
EVEX_LEN_0F381A_W_0_M_0, EVEX_LEN_0F381A_W_1_M_0,
|
|
|
|
|
EVEX_LEN_0F381B_W_0_M_0, EVEX_LEN_0F381B_W_1_M_0,
|
|
|
|
|
EVEX_LEN_0F3836, EVEX_LEN_0F385A_W_0_M_0,
|
|
|
|
|
EVEX_LEN_0F385A_W_1_M_0, EVEX_LEN_0F385B_W_0_M_0,
|
|
|
|
|
EVEX_LEN_0F385B_W_1_M_0, EVEX_LEN_0F38C6_R_1_M_0,
|
|
|
|
|
EVEX_LEN_0F38C6_R_2_M_0, EVEX_LEN_0F38C6_R_5_M_0,
|
|
|
|
|
EVEX_LEN_0F38C6_R_6_M_0, EVEX_LEN_0F38C7_R_1_M_0_W_0,
|
|
|
|
|
EVEX_LEN_0F38C7_R_1_M_0_W_1, EVEX_LEN_0F38C7_R_2_M_0_W_0,
|
|
|
|
|
EVEX_LEN_0F38C7_R_2_M_0_W_1, EVEX_LEN_0F38C7_R_5_M_0_W_0,
|
|
|
|
|
EVEX_LEN_0F38C7_R_5_M_0_W_1, EVEX_LEN_0F38C7_R_6_M_0_W_0,
|
|
|
|
|
EVEX_LEN_0F38C7_R_6_M_0_W_1, EVEX_LEN_0F3A00_W_1,
|
|
|
|
|
EVEX_LEN_0F3A01_W_1, EVEX_LEN_0F3A14, EVEX_LEN_0F3A15,
|
|
|
|
|
EVEX_LEN_0F3A16, EVEX_LEN_0F3A17, EVEX_LEN_0F3A18_W_0,
|
|
|
|
|
EVEX_LEN_0F3A18_W_1, EVEX_LEN_0F3A19_W_0,
|
|
|
|
|
EVEX_LEN_0F3A19_W_1, EVEX_LEN_0F3A1A_W_0,
|
|
|
|
|
EVEX_LEN_0F3A1A_W_1, EVEX_LEN_0F3A1B_W_0,
|
|
|
|
|
EVEX_LEN_0F3A1B_W_1, EVEX_LEN_0F3A20, EVEX_LEN_0F3A21_W_0,
|
|
|
|
|
EVEX_LEN_0F3A22, EVEX_LEN_0F3A23_W_0, EVEX_LEN_0F3A23_W_1,
|
|
|
|
|
EVEX_LEN_0F3A38_W_0, EVEX_LEN_0F3A38_W_1,
|
|
|
|
|
EVEX_LEN_0F3A39_W_0, EVEX_LEN_0F3A39_W_1,
|
|
|
|
|
EVEX_LEN_0F3A3A_W_0, EVEX_LEN_0F3A3A_W_1,
|
|
|
|
|
EVEX_LEN_0F3A3B_W_0, EVEX_LEN_0F3A3B_W_1,
|
|
|
|
|
EVEX_LEN_0F3A43_W_0, EVEX_LEN_0F3A43_W_1
|
|
|
|
|
VEX_W_0F380C, VEX_W_0F380D, VEX_W_0F380E, VEX_W_0F380F,
|
|
|
|
|
VEX_W_0F3813, VEX_W_0F3816_L_1, VEX_W_0F3818,
|
|
|
|
|
VEX_W_0F3819_L_1, VEX_W_0F381A_M_0_L_1, VEX_W_0F382C_M_0,
|
|
|
|
|
VEX_W_0F382D_M_0, VEX_W_0F382E_M_0, VEX_W_0F382F_M_0,
|
|
|
|
|
VEX_W_0F3836, VEX_W_0F3846, VEX_W_0F3858, VEX_W_0F3859,
|
|
|
|
|
VEX_W_0F385A_M_0_L_0, VEX_W_0F3878, VEX_W_0F3879,
|
|
|
|
|
VEX_W_0F38CF, VEX_W_0F3A00_L_1, VEX_W_0F3A01_L_1,
|
|
|
|
|
VEX_W_0F3A02, VEX_W_0F3A04, VEX_W_0F3A05, VEX_W_0F3A06_L_1,
|
|
|
|
|
VEX_W_0F3A18_L_1, VEX_W_0F3A19_L_1, VEX_W_0F3A1D,
|
|
|
|
|
VEX_W_0F3A30_L_0, VEX_W_0F3A31_L_0, VEX_W_0F3A32_L_0,
|
|
|
|
|
VEX_W_0F3A33_L_0, VEX_W_0F3A38_L_1, VEX_W_0F3A39_L_1,
|
|
|
|
|
VEX_W_0F3A46_L_1, VEX_W_0F3A4A, VEX_W_0F3A4B, VEX_W_0F3A4C,
|
|
|
|
|
VEX_W_0F3ACE, VEX_W_0F3ACF, EVEX_W_0F66, EVEX_W_0F72_R_2,
|
|
|
|
|
EVEX_W_0F72_R_6, EVEX_W_0F73_R_2, EVEX_W_0F73_R_6,
|
|
|
|
|
EVEX_W_0F76, EVEX_W_0FD6_L_0, EVEX_W_0FE7, EVEX_W_0F380D,
|
|
|
|
|
EVEX_W_0F3819, EVEX_W_0F381A, EVEX_W_0F381B, EVEX_W_0F381E,
|
|
|
|
|
EVEX_W_0F381F, EVEX_W_0F3837, EVEX_W_0F3859, EVEX_W_0F385A,
|
|
|
|
|
EVEX_W_0F385B, EVEX_W_0F3870, EVEX_W_0F387A, EVEX_W_0F387B,
|
|
|
|
|
EVEX_W_0F3883, EVEX_W_0F3891, EVEX_W_0F3893, EVEX_W_0F38A1,
|
|
|
|
|
EVEX_W_0F38A3, EVEX_W_0F38C7_R_1_M_0,
|
|
|
|
|
EVEX_W_0F38C7_R_2_M_0, EVEX_W_0F38C7_R_5_M_0,
|
|
|
|
|
EVEX_W_0F38C7_R_6_M_0, EVEX_W_0F3A00, EVEX_W_0F3A01,
|
|
|
|
|
EVEX_W_0F3A05, EVEX_W_0F3A08, EVEX_W_0F3A09, EVEX_W_0F3A0A,
|
|
|
|
|
EVEX_W_0F3A0B, EVEX_W_0F3A18, EVEX_W_0F3A19, EVEX_W_0F3A1A,
|
|
|
|
|
EVEX_W_0F3A1B, EVEX_W_0F3A21, EVEX_W_0F3A23, EVEX_W_0F3A38,
|
|
|
|
|
EVEX_W_0F3A39, EVEX_W_0F3A3A, EVEX_W_0F3A3B, EVEX_W_0F3A42,
|
|
|
|
|
EVEX_W_0F3A43, EVEX_W_0F3A70, EVEX_W_0F3A72): ... these
|
2020-09-25 19:22:46 +08:00
|
|
|
|
respectively.
|
2020-07-14 16:33:40 +08:00
|
|
|
|
(dis386_twobyte, three_byte_table, vex_table, vex_len_table,
|
|
|
|
|
vex_w_table, mod_table): Replace / remove respective entries.
|
|
|
|
|
(print_insn): Move up dp->prefix_requirement handling. Handle
|
|
|
|
|
PREFIX_DATA.
|
|
|
|
|
* i386-dis-evex.h, i386-dis-evex-len.h, i386-dis-evex-mod.h,
|
|
|
|
|
i386-dis-evex-prefix.h, i386-dis-evex-reg.h, i386-dis-evex-w.h:
|
|
|
|
|
Replace / remove respective entries.
|
|
|
|
|
|
2020-07-14 16:32:51 +08:00
|
|
|
|
2020-07-14 Jan Beulich <jbeulich@suse.com>
|
|
|
|
|
|
|
|
|
|
* i386-dis.c (PREFIX_EVEX_0F2C, PREFIX_EVEX_0F2D,
|
|
|
|
|
PREFIX_EVEX_0F2E, PREFIX_EVEX_0F2F): Delete.
|
|
|
|
|
(prefix_table): Add EXxEVexS operand to vcvttss2si, vcvttsd2si,
|
|
|
|
|
vcvtss2si, vcvtsd2si, vucomiss, and vucomisd table entries.
|
|
|
|
|
Retain X macro and PREFIX_OPCODE use from tjhe EVEX table for
|
|
|
|
|
the latter two.
|
|
|
|
|
* i386-dis-evex.h (evex_table): Reference VEX table for opcodes
|
|
|
|
|
0F2C, 0F2D, 0F2E, and 0F2F.
|
|
|
|
|
* i386-dis-evex-prefix.h: Delete opcode 0F2C, 0F2D, 0F2E, and
|
|
|
|
|
0F2F table entries.
|
|
|
|
|
|
2020-07-14 16:32:19 +08:00
|
|
|
|
2020-07-14 Jan Beulich <jbeulich@suse.com>
|
|
|
|
|
|
|
|
|
|
* i386-dis.c (OP_VexR, VexScalarR): New.
|
|
|
|
|
(OP_EX_Vex, OP_XMM_Vex, EXdVexScalarS, EXqVexScalarS,
|
|
|
|
|
XMVexScalar, d_scalar_swap_mode, q_scalar_swap_mode,
|
|
|
|
|
need_vex_reg): Delete.
|
|
|
|
|
(prefix_table): Replace VexScalar by VexScalarR and
|
|
|
|
|
XMVexScalar by XMScalar for vmovss and vmovsd. Replace
|
|
|
|
|
EXdVexScalarS by EXdS and EXqVexScalarS by EXqS.
|
|
|
|
|
(vex_len_table): Replace EXqVexScalarS by EXqS.
|
|
|
|
|
(get_valid_dis386): Don't set need_vex_reg.
|
|
|
|
|
(print_insn): Don't initialize need_vex_reg.
|
|
|
|
|
(intel_operand_size, OP_E_memory): Drop d_scalar_swap_mode and
|
|
|
|
|
q_scalar_swap_mode cases.
|
|
|
|
|
(OP_EX): Don't check for d_scalar_swap_mode and
|
|
|
|
|
q_scalar_swap_mode.
|
|
|
|
|
(OP_VEX): Done check need_vex_reg.
|
|
|
|
|
* i386-dis-evex-w.h: Replace VexScalar by VexScalarR and
|
|
|
|
|
XMVexScalar by XMScalar for vmovss and vmovsd. Replace
|
|
|
|
|
EXdVexScalarS by EXdS and EXqVexScalarS by EXqS.
|
|
|
|
|
|
2020-07-14 16:31:49 +08:00
|
|
|
|
2020-07-14 Jan Beulich <jbeulich@suse.com>
|
|
|
|
|
|
|
|
|
|
* i386-dis.c (Vex128, Vex256, vex128_mode, vex256_mode): Delete.
|
|
|
|
|
(VEX_W_0F381A_P_2_M_0, VEX_W_0F385A_P_2_M_0, VEX_W_0F3A06_P_2,
|
|
|
|
|
VEX_W_0F3A18_P_2, VEX_W_0F3A19_P_2, VEX_W_0F3A38_P_2,
|
|
|
|
|
VEX_W_0F3A39_P_2, VEX_W_0F3A46_P_2): Rename to ...
|
|
|
|
|
(VEX_W_0F381A_P_2_M_0_L_0, VEX_W_0F385A_P_2_M_0_L_0,
|
|
|
|
|
VEX_W_0F3A06_P_2_L_0, VEX_W_0F3A18_P_2_L_0,
|
|
|
|
|
VEX_W_0F3A19_P_2_L_0, VEX_W_0F3A38_P_2_L_0,
|
|
|
|
|
VEX_W_0F3A39_P_2_L_0, VEX_W_0F3A46_P_2_L_0): ... respectively.
|
|
|
|
|
(vex_table): Replace Vex128 by Vex.
|
|
|
|
|
(vex_len_table): Likewise. Adjust referenced enum names.
|
|
|
|
|
(vex_w_table): Replace Vex128 and Vex256 by Vex. Adjust
|
|
|
|
|
referenced enum names.
|
|
|
|
|
(OP_VEX): Drop vex128_mode and vex256_mode cases.
|
|
|
|
|
* i386-dis-evex-len.h (evex_len_table): Replace Vex128 by Vex.
|
|
|
|
|
|
2020-07-14 16:30:26 +08:00
|
|
|
|
2020-07-14 Jan Beulich <jbeulich@suse.com>
|
|
|
|
|
|
|
|
|
|
* i386-dis.c (dis386): "LW" description now applies to "DQ".
|
|
|
|
|
(putop): Handle "DQ". Don't handle "LW" anymore.
|
|
|
|
|
(prefix_table, mod_table): Replace %LW by %DQ.
|
|
|
|
|
* i386-dis-evex-len.h, i386-dis-evex-prefix.h: Likewise.
|
|
|
|
|
|
2020-07-14 16:29:55 +08:00
|
|
|
|
2020-07-14 Jan Beulich <jbeulich@suse.com>
|
|
|
|
|
|
|
|
|
|
* i386-dis.c (OP_E_memory): Move xmm_mw_mode, xmm_mb_mode,
|
|
|
|
|
dqd_mode, xmm_md_mode, d_mode, d_swap_mode, and
|
|
|
|
|
d_scalar_swap_mode case handling. Move shift adjsutment into
|
|
|
|
|
the case its applicable to.
|
|
|
|
|
|
2020-07-14 16:29:25 +08:00
|
|
|
|
2020-07-14 Jan Beulich <jbeulich@suse.com>
|
|
|
|
|
|
|
|
|
|
* i386-dis.c (EVEX_W_0F3862_P_2, EVEX_W_0F3863_P_2): Delete.
|
|
|
|
|
(EXbScalar, EXwScalar): Fold to ...
|
|
|
|
|
(EXbwUnit): ... this.
|
|
|
|
|
(b_scalar_mode, w_scalar_mode): Fold to ...
|
|
|
|
|
(bw_unit_mode): ... this.
|
|
|
|
|
(intel_operand_size, OP_E_memory): Replace b_scalar_mode /
|
|
|
|
|
w_scalar_mode handling by bw_unit_mode one.
|
|
|
|
|
* i386-dis-evex-w.h: Move entries for opcodes 0F3862 and 0F3863
|
|
|
|
|
...
|
|
|
|
|
* i386-dis-evex-prefix.h: ... here.
|
|
|
|
|
|
2020-07-14 16:28:12 +08:00
|
|
|
|
2020-07-14 Jan Beulich <jbeulich@suse.com>
|
|
|
|
|
|
|
|
|
|
* i386-dis.c (PCMPESTR_Fixup): Delete.
|
|
|
|
|
(dis386): Adjust "LQ" description.
|
|
|
|
|
(prefix_table): Make %LQ apply to AT&T case only for cvtsi2ss,
|
|
|
|
|
cvtsi2sd, ptwrite, vcvtsi2ss, and vcvtsi2sd. Replace use of
|
|
|
|
|
PCMPESTR_Fixup by !%LQ and EXx for pcmpestrm, pcmpestri,
|
|
|
|
|
vpcmpestrm, and vpcmpestri.
|
|
|
|
|
(putop): Honor "cond" when handling LQ.
|
|
|
|
|
* i386-dis-evex-prefix.h: Make %LQ apply to AT&T case only for
|
|
|
|
|
vcvtsi2ss and vcvtusi2ss.
|
|
|
|
|
* i386-dis-evex-w.h: Make %LQ apply to AT&T case only for
|
|
|
|
|
vcvtsi2sd and vcvtusi2sd.
|
|
|
|
|
|
2020-07-14 16:27:32 +08:00
|
|
|
|
2020-07-14 Jan Beulich <jbeulich@suse.com>
|
|
|
|
|
|
|
|
|
|
* i386-dis.c (VCMP_Fixup, VCMP): Delete.
|
|
|
|
|
(simd_cmp_op): Add const.
|
|
|
|
|
(vex_cmp_op): Move up and drop initial 8 entries. Add const.
|
|
|
|
|
(CMP_Fixup): Handle VEX case.
|
|
|
|
|
(prefix_table): Replace VCMP by CMP.
|
|
|
|
|
* i386-dis-evex-prefix.h, i386-dis-evex-w.h: Likewise.
|
|
|
|
|
|
2020-07-14 16:26:51 +08:00
|
|
|
|
2020-07-14 Jan Beulich <jbeulich@suse.com>
|
|
|
|
|
|
|
|
|
|
* i386-dis.c (MOVBE_Fixup): Delete.
|
|
|
|
|
(Mv): Define.
|
|
|
|
|
(prefix_table): Use Mv for movbe entries.
|
|
|
|
|
|
2020-07-14 16:25:43 +08:00
|
|
|
|
2020-07-14 Jan Beulich <jbeulich@suse.com>
|
|
|
|
|
|
|
|
|
|
* i386-dis.c (CRC32_Fixup): Delete.
|
|
|
|
|
(prefix_table): Use Eb/Ev for crc32 entries.
|
|
|
|
|
|
2020-07-14 16:24:26 +08:00
|
|
|
|
2020-07-14 Jan Beulich <jbeulich@suse.com>
|
|
|
|
|
|
|
|
|
|
* i386-dis.c (OP_E_register, OP_G, OP_REG, CRC32_Fixup):
|
|
|
|
|
Conditionalize invocations of "USED_REX (0)".
|
|
|
|
|
|
2020-07-14 16:23:36 +08:00
|
|
|
|
2020-07-14 Jan Beulich <jbeulich@suse.com>
|
|
|
|
|
|
|
|
|
|
* i386-dis.c (eBX, eCX, eDX, eSP, eBP, eSI, eDI, DL, BL, AH,
|
|
|
|
|
CH, DH, BH, AX, DX): Delete.
|
|
|
|
|
(OP_IMREG): Drop handling of eBX_reg, eCX_reg, eDX_reg, eSP_reg,
|
|
|
|
|
eBP_reg, eSI_reg, eDI_reg, dl_reg, bl_reg, ah_reg, ch_reg,
|
|
|
|
|
dh_reg, bh_reg, ax_reg, and dx_reg. Simplify what's left.
|
|
|
|
|
|
2020-07-10 20:17:29 +08:00
|
|
|
|
2020-07-10 Lili Cui <lili.cui@intel.com>
|
|
|
|
|
|
|
|
|
|
* i386-dis.c (TMM): New.
|
|
|
|
|
(EXtmm): Likewise.
|
|
|
|
|
(VexTmm): Likewise.
|
|
|
|
|
(MVexSIBMEM): Likewise.
|
|
|
|
|
(tmm_mode): Likewise.
|
|
|
|
|
(vex_sibmem_mode): Likewise.
|
|
|
|
|
(REG_VEX_0F3849_X86_64_P_0_W_0_M_1): Likewise.
|
|
|
|
|
(MOD_VEX_0F3849_X86_64_P_0_W_0): Likewise.
|
|
|
|
|
(MOD_VEX_0F3849_X86_64_P_2_W_0): Likewise.
|
|
|
|
|
(MOD_VEX_0F3849_X86_64_P_3_W_0): Likewise.
|
|
|
|
|
(MOD_VEX_0F384B_X86_64_P_1_W_0): Likewise.
|
|
|
|
|
(MOD_VEX_0F384B_X86_64_P_2_W_0): Likewise.
|
|
|
|
|
(MOD_VEX_0F384B_X86_64_P_3_W_0): Likewise.
|
|
|
|
|
(MOD_VEX_0F385C_X86_64_P_1_W_0): Likewise.
|
|
|
|
|
(MOD_VEX_0F385E_X86_64_P_0_W_0): Likewise.
|
|
|
|
|
(MOD_VEX_0F385E_X86_64_P_1_W_0): Likewise.
|
|
|
|
|
(MOD_VEX_0F385E_X86_64_P_2_W_0): Likewise.
|
|
|
|
|
(MOD_VEX_0F385E_X86_64_P_3_W_0): Likewise.
|
|
|
|
|
(RM_VEX_0F3849_X86_64_P_0_W_0_M_1_R_0): Likewise.
|
|
|
|
|
(PREFIX_VEX_0F3849_X86_64): Likewise.
|
|
|
|
|
(PREFIX_VEX_0F384B_X86_64): Likewise.
|
|
|
|
|
(PREFIX_VEX_0F385C_X86_64): Likewise.
|
|
|
|
|
(PREFIX_VEX_0F385E_X86_64): Likewise.
|
|
|
|
|
(X86_64_VEX_0F3849): Likewise.
|
|
|
|
|
(X86_64_VEX_0F384B): Likewise.
|
|
|
|
|
(X86_64_VEX_0F385C): Likewise.
|
|
|
|
|
(X86_64_VEX_0F385E): Likewise.
|
|
|
|
|
(VEX_LEN_0F3849_X86_64_P_0_W_0_M_0): Likewise.
|
|
|
|
|
(VEX_LEN_0F3849_X86_64_P_0_W_0_M_1_REG_0_RM_0): Likewise.
|
|
|
|
|
(VEX_LEN_0F3849_X86_64_P_2_W_0_M_0): Likewise.
|
|
|
|
|
(VEX_LEN_0F3849_X86_64_P_3_W_0_M_0): Likewise.
|
|
|
|
|
(VEX_LEN_0F384B_X86_64_P_1_W_0_M_0): Likewise.
|
|
|
|
|
(VEX_LEN_0F384B_X86_64_P_2_W_0_M_0): Likewise.
|
|
|
|
|
(VEX_LEN_0F384B_X86_64_P_3_W_0_M_0): Likewise.
|
|
|
|
|
(VEX_LEN_0F385C_X86_64_P_1_W_0_M_0): Likewise.
|
|
|
|
|
(VEX_LEN_0F385E_X86_64_P_0_W_0_M_0): Likewise.
|
|
|
|
|
(VEX_LEN_0F385E_X86_64_P_1_W_0_M_0): Likewise.
|
|
|
|
|
(VEX_LEN_0F385E_X86_64_P_2_W_0_M_0): Likewise.
|
|
|
|
|
(VEX_LEN_0F385E_X86_64_P_3_W_0_M_0): Likewise.
|
|
|
|
|
(VEX_W_0F3849_X86_64_P_0): Likewise.
|
|
|
|
|
(VEX_W_0F3849_X86_64_P_2): Likewise.
|
|
|
|
|
(VEX_W_0F3849_X86_64_P_3): Likewise.
|
|
|
|
|
(VEX_W_0F384B_X86_64_P_1): Likewise.
|
|
|
|
|
(VEX_W_0F384B_X86_64_P_2): Likewise.
|
|
|
|
|
(VEX_W_0F384B_X86_64_P_3): Likewise.
|
|
|
|
|
(VEX_W_0F385C_X86_64_P_1): Likewise.
|
|
|
|
|
(VEX_W_0F385E_X86_64_P_0): Likewise.
|
|
|
|
|
(VEX_W_0F385E_X86_64_P_1): Likewise.
|
|
|
|
|
(VEX_W_0F385E_X86_64_P_2): Likewise.
|
|
|
|
|
(VEX_W_0F385E_X86_64_P_3): Likewise.
|
|
|
|
|
(names_tmm): Likewise.
|
|
|
|
|
(att_names_tmm): Likewise.
|
|
|
|
|
(intel_operand_size): Handle void_mode.
|
|
|
|
|
(OP_XMM): Handle tmm_mode.
|
|
|
|
|
(OP_EX): Likewise.
|
|
|
|
|
(OP_VEX): Likewise.
|
|
|
|
|
* i386-gen.c (cpu_flag_init): Add entries for CpuAMX_INT8,
|
|
|
|
|
CpuAMX_BF16 and CpuAMX_TILE.
|
|
|
|
|
(operand_type_shorthands): Add RegTMM.
|
|
|
|
|
(operand_type_init): Likewise.
|
|
|
|
|
(operand_types): Add Tmmword.
|
|
|
|
|
(cpu_flag_init): Add CPU_AMX_INT8, CpuAMX_BF16 and CpuAMX_TILE.
|
|
|
|
|
(cpu_flags): Add CpuAMX_INT8, CpuAMX_BF16 and CpuAMX_TILE.
|
|
|
|
|
* i386-opc.h (CpuAMX_INT8): New.
|
|
|
|
|
(CpuAMX_BF16): Likewise.
|
|
|
|
|
(CpuAMX_TILE): Likewise.
|
|
|
|
|
(SIBMEM): Likewise.
|
|
|
|
|
(Tmmword): Likewise.
|
|
|
|
|
(i386_cpu_flags): Add cpuamx_int8, cpuamx_bf16 and cpuamx_tile.
|
|
|
|
|
(i386_opcode_modifier): Extend width of fields vexvvvv and sib.
|
|
|
|
|
(i386_operand_type): Add tmmword.
|
|
|
|
|
* i386-opc.tbl: Add AMX instructions.
|
|
|
|
|
* i386-reg.tbl: Add AMX registers.
|
|
|
|
|
* i386-init.h: Regenerated.
|
|
|
|
|
* i386-tbl.h: Likewise.
|
|
|
|
|
|
2020-07-08 17:20:09 +08:00
|
|
|
|
2020-07-08 Jan Beulich <jbeulich@suse.com>
|
|
|
|
|
|
|
|
|
|
* i386-dis.c (OP_LWPCB_E, OP_LWP_E): Delete.
|
|
|
|
|
(REG_XOP_LWPCB, REG_XOP_LWP, REG_XOP_TBM_01, REG_XOP_TBM_02):
|
|
|
|
|
Rename to ...
|
|
|
|
|
(REG_0FXOP_09_12_M_1_L_0, REG_0FXOP_0A_12_L_0,
|
|
|
|
|
REG_0FXOP_09_01_L_0, REG_0FXOP_09_02_L_0): ... these
|
|
|
|
|
respectively.
|
|
|
|
|
(MOD_VEX_0FXOP_09_12, VEX_LEN_0FXOP_08_85, VEX_LEN_0FXOP_08_86,
|
|
|
|
|
VEX_LEN_0FXOP_08_87, VEX_LEN_0FXOP_08_8E, VEX_LEN_0FXOP_08_8F,
|
|
|
|
|
VEX_LEN_0FXOP_08_95, VEX_LEN_0FXOP_08_96, VEX_LEN_0FXOP_08_97,
|
|
|
|
|
VEX_LEN_0FXOP_08_9E, VEX_LEN_0FXOP_08_9F, VEX_LEN_0FXOP_08_A3,
|
|
|
|
|
VEX_LEN_0FXOP_08_A6, VEX_LEN_0FXOP_08_B6, VEX_LEN_0FXOP_08_C0,
|
|
|
|
|
VEX_LEN_0FXOP_08_C1, VEX_LEN_0FXOP_08_C2, VEX_LEN_0FXOP_08_C3,
|
|
|
|
|
VEX_LEN_0FXOP_09_01, VEX_LEN_0FXOP_09_02, VEX_LEN_0FXOP_09_12_M_1,
|
|
|
|
|
VEX_LEN_0FXOP_09_90, VEX_LEN_0FXOP_09_91, VEX_LEN_0FXOP_09_92,
|
|
|
|
|
VEX_LEN_0FXOP_09_93, VEX_LEN_0FXOP_09_94, VEX_LEN_0FXOP_09_95,
|
|
|
|
|
VEX_LEN_0FXOP_09_96, VEX_LEN_0FXOP_09_97, VEX_LEN_0FXOP_09_98,
|
|
|
|
|
VEX_LEN_0FXOP_09_99, VEX_LEN_0FXOP_09_9A, VEX_LEN_0FXOP_09_9B,
|
|
|
|
|
VEX_LEN_0FXOP_09_C1, VEX_LEN_0FXOP_09_C2, VEX_LEN_0FXOP_09_C3,
|
|
|
|
|
VEX_LEN_0FXOP_09_C6, VEX_LEN_0FXOP_09_C7, VEX_LEN_0FXOP_09_CB,
|
|
|
|
|
VEX_LEN_0FXOP_09_D1, VEX_LEN_0FXOP_09_D2, VEX_LEN_0FXOP_09_D3,
|
|
|
|
|
VEX_LEN_0FXOP_09_D6, VEX_LEN_0FXOP_09_D7, VEX_LEN_0FXOP_09_DB,
|
|
|
|
|
VEX_LEN_0FXOP_09_E1, VEX_LEN_0FXOP_09_E2, VEX_LEN_0FXOP_09_E3,
|
|
|
|
|
VEX_LEN_0FXOP_0A_12, VEX_W_0FXOP_08_85_L_0,
|
|
|
|
|
VEX_W_0FXOP_08_86_L_0, VEX_W_0FXOP_08_87_L_0,
|
|
|
|
|
VEX_W_0FXOP_08_8E_L_0, VEX_W_0FXOP_08_8F_L_0,
|
|
|
|
|
VEX_W_0FXOP_08_95_L_0, VEX_W_0FXOP_08_96_L_0,
|
|
|
|
|
VEX_W_0FXOP_08_97_L_0, VEX_W_0FXOP_08_9E_L_0,
|
|
|
|
|
VEX_W_0FXOP_08_9F_L_0, VEX_W_0FXOP_08_A6_L_0,
|
|
|
|
|
VEX_W_0FXOP_08_B6_L_0, VEX_W_0FXOP_08_C0_L_0,
|
|
|
|
|
VEX_W_0FXOP_08_C1_L_0, VEX_W_0FXOP_08_C2_L_0,
|
|
|
|
|
VEX_W_0FXOP_08_C3_L_0, VEX_W_0FXOP_08_CC_L_0,
|
|
|
|
|
VEX_W_0FXOP_08_CD_L_0, VEX_W_0FXOP_08_CE_L_0,
|
|
|
|
|
VEX_W_0FXOP_08_CF_L_0, VEX_W_0FXOP_08_EC_L_0,
|
|
|
|
|
VEX_W_0FXOP_08_ED_L_0, VEX_W_0FXOP_08_EE_L_0,
|
|
|
|
|
VEX_W_0FXOP_08_EF_L_0, VEX_W_0FXOP_09_C1_L_0,
|
|
|
|
|
VEX_W_0FXOP_09_C2_L_0, VEX_W_0FXOP_09_C3_L_0,
|
|
|
|
|
VEX_W_0FXOP_09_C6_L_0, VEX_W_0FXOP_09_C7_L_0,
|
|
|
|
|
VEX_W_0FXOP_09_CB_L_0, VEX_W_0FXOP_09_D1_L_0,
|
|
|
|
|
VEX_W_0FXOP_09_D2_L_0, VEX_W_0FXOP_09_D3_L_0,
|
|
|
|
|
VEX_W_0FXOP_09_D6_L_0, VEX_W_0FXOP_09_D7_L_0,
|
|
|
|
|
VEX_W_0FXOP_09_DB_L_0, VEX_W_0FXOP_09_E1_L_0,
|
|
|
|
|
VEX_W_0FXOP_09_E2_L_0, VEX_W_0FXOP_09_E3_L_0): New enumerators.
|
|
|
|
|
(reg_table): Re-order XOP entries. Adjust their operands.
|
|
|
|
|
(xop_table): Replace 08_85, 08_86, 08_87, 08_8E, 08_8F, 08_95,
|
|
|
|
|
08_96, 08_97, 08_9E, 08_9F, 08_A3, 08_A6, 08_B6, 08_C0, 08_C1,
|
|
|
|
|
08_C2, 08_C3, 09_01, 09_02, 09_12, 09_90, 09_91, 09_92, 09_93,
|
|
|
|
|
09_94, 09_95, 09_96, 09_97, 09_98, 09_99, 09_9A, 09_9B, 09_C1,
|
|
|
|
|
09_C2, 09_C3, 09_C6, 09_C7, 09_CB, 09_D1, 09_D2, 09_D3, 09_D6,
|
|
|
|
|
09_D7, 09_DB, 09_E1, 09_E2, 09_E3, and VEX_LEN_0FXOP_0A_12
|
|
|
|
|
entries by references ...
|
|
|
|
|
(vex_len_table): ... to resepctive new entries here. For several
|
|
|
|
|
new and existing entries reference ...
|
|
|
|
|
(vex_w_table): ... new entries here.
|
|
|
|
|
(mod_table): New MOD_VEX_0FXOP_09_12 entry.
|
|
|
|
|
|
2020-07-08 17:19:26 +08:00
|
|
|
|
2020-07-08 Jan Beulich <jbeulich@suse.com>
|
|
|
|
|
|
|
|
|
|
* i386-dis.c (XMVexScalarI4): Define.
|
|
|
|
|
(VEX_LEN_0F3A6A_P_2, VEX_LEN_0F3A6B_P_2, VEX_LEN_0F3A6E_P_2,
|
|
|
|
|
VEX_LEN_0F3A6F_P_2, VEX_LEN_0F3A7A_P_2, VEX_LEN_0F3A7B_P_2,
|
|
|
|
|
VEX_LEN_0F3A7E_P_2, VEX_LEN_0F3A7F_P_2): Delete.
|
|
|
|
|
(vex_len_table): Move scalar FMA4 entries ...
|
|
|
|
|
(prefix_table): ... here.
|
|
|
|
|
(OP_REG_VexI4): Handle scalar_mode.
|
|
|
|
|
* i386-opc.tbl: Use VexLIG for scalar FMA4 insns.
|
|
|
|
|
* i386-tbl.h: Re-generate.
|
|
|
|
|
|
2020-07-08 17:03:07 +08:00
|
|
|
|
2020-07-08 Jan Beulich <jbeulich@suse.com>
|
|
|
|
|
|
|
|
|
|
* i386-dis.c (OP_Vex_2src_1, OP_Vex_2src_2, Vex_2src_1,
|
|
|
|
|
Vex_2src_2): Delete.
|
|
|
|
|
(OP_VexW, VexW): New.
|
|
|
|
|
(xop_table): Use EXx for rotates by immediate. Use EXx and VexW
|
|
|
|
|
for shifts and rotates by register.
|
|
|
|
|
|
2020-07-08 17:02:40 +08:00
|
|
|
|
2020-07-08 Jan Beulich <jbeulich@suse.com>
|
|
|
|
|
|
|
|
|
|
* i386-dis.c (OP_EX_VexImmW, OP_XMM_VexW, EXVexImmW, XMVexW,
|
|
|
|
|
VEX_W_0F3A48_P_2, VEX_W_0F3A49_P_2, vex_w_done, get_vex_imm8,
|
|
|
|
|
OP_EX_VexReg): Delete.
|
|
|
|
|
(OP_VexI4, VexI4): New.
|
|
|
|
|
(vex_w_table): Move vpermil2ps and vpermil2pd entries ...
|
|
|
|
|
(prefix_table): ... here.
|
|
|
|
|
(print_insn): Drop setting of vex_w_done.
|
|
|
|
|
|
2020-07-08 17:02:08 +08:00
|
|
|
|
2020-07-08 Jan Beulich <jbeulich@suse.com>
|
|
|
|
|
|
|
|
|
|
* i386-dis.c (OP_EX_VexW, EXVexW, EXdVexW, EXqVexW): Delete.
|
|
|
|
|
(prefix_table, vex_len_table): Replace operands for FMA4 insns.
|
|
|
|
|
(xop_table): Replace operands of 4-operand insns.
|
|
|
|
|
(OP_REG_VexI4): Move VEX.W based operand swaping here.
|
|
|
|
|
|
2020-07-07 21:01:48 +08:00
|
|
|
|
2020-07-07 Claudiu Zissulescu <claziss@synopsys.com>
|
|
|
|
|
|
|
|
|
|
* arc-opc.c (insert_rbd): New function.
|
|
|
|
|
(RBD): Define.
|
|
|
|
|
(RBDdup): Likewise.
|
|
|
|
|
* arc-tbl.h (vadd2, vadd4h, vmac2h, vmpy2h, vsub4h): Update
|
|
|
|
|
instructions.
|
|
|
|
|
|
2020-07-07 14:08:09 +08:00
|
|
|
|
2020-07-07 Jan Beulich <jbeulich@suse.com>
|
|
|
|
|
|
|
|
|
|
* i386-dis.c (EVEX_W_0F3826_P_1, EVEX_W_0F3826_P_2,
|
|
|
|
|
EVEX_W_0F3828_P_1, EVEX_W_0F3829_P_1, EVEX_W_0F3854_P_2,
|
|
|
|
|
EVEX_W_0F3866_P_2, EVEX_W_0F3875_P_2, EVEX_W_0F387D_P_2,
|
|
|
|
|
EVEX_W_0F388D_P_2, EVEX_W_0F3A3E_P_2, EVEX_W_0F3A3F_P_2):
|
|
|
|
|
Delete.
|
|
|
|
|
(putop): Handle "BW".
|
|
|
|
|
* i386-dis-evex-w.h: Move entries for opcodes 0F3826, 0F3826,
|
|
|
|
|
0F3828, 0F3829, 0F3854, 0F3866, 0F3875, 0F387D, 0F388D, 0F3A3E,
|
|
|
|
|
and 0F3A3F ...
|
|
|
|
|
* i386-dis-evex-prefix.h: ... here.
|
|
|
|
|
|
2020-07-06 19:44:35 +08:00
|
|
|
|
2020-07-06 Jan Beulich <jbeulich@suse.com>
|
|
|
|
|
|
|
|
|
|
* i386-dis.c (VEX_LEN_0FXOP_09_80, VEX_LEN_0FXOP_09_81): Delete.
|
|
|
|
|
(VEX_LEN_0FXOP_09_82_W_0, VEX_LEN_0FXOP_09_83_W_0,
|
|
|
|
|
VEX_W_0FXOP_09_80, VEX_W_0FXOP_09_81, VEX_W_0FXOP_09_82,
|
|
|
|
|
VEX_W_0FXOP_09_83): New enumerators.
|
|
|
|
|
(xop_table): Reference the above.
|
|
|
|
|
(vex_len_table): Replace vfrczp* entries by vfrczs* ones.
|
|
|
|
|
(vex_w_table): New VEX_W_0FXOP_09_80, VEX_W_0FXOP_09_81,
|
|
|
|
|
VEX_W_0FXOP_09_82, and VEX_W_0FXOP_09_83 entries.
|
|
|
|
|
(get_valid_dis386): Return bad_opcode for XOP.PP != 0.
|
|
|
|
|
|
2020-07-06 19:44:03 +08:00
|
|
|
|
2020-07-06 Jan Beulich <jbeulich@suse.com>
|
|
|
|
|
|
|
|
|
|
* i386-dis.c (EVEX_W_0F3838_P_1,
|
|
|
|
|
EVEX_W_0F3839_P_1, EVEX_W_0F3840_P_2, EVEX_W_0F3855_P_2,
|
|
|
|
|
EVEX_W_0F3868_P_3, EVEX_W_0F3871_P_2, EVEX_W_0F3873_P_2,
|
|
|
|
|
EVEX_W_0F3A50_P_2, EVEX_W_0F3A51_P_2, EVEX_W_0F3A56_P_2,
|
|
|
|
|
EVEX_W_0F3A57_P_2, EVEX_W_0F3A66_P_2, EVEX_W_0F3A67_P_2,
|
|
|
|
|
EVEX_W_0F3A71_P_2, EVEX_W_0F3A73_P_2): Delete.
|
|
|
|
|
(putop): Centralize management of last[]. Delete SAVE_LAST.
|
|
|
|
|
* i386-dis-evex-w.h: Move entries for opcodes 0F3838, 0F3839,
|
|
|
|
|
0F3840, 0F3855, 0F3868, 0F3871, 0F3873, 0F3A50, 0F3A51, 0F3A56,
|
|
|
|
|
0F3A57, 0F3A66, 0F3A67, 0F3A71, and 0F3A73 ...
|
|
|
|
|
* i386-dis-evex-prefix.h: here.
|
|
|
|
|
|
2020-07-06 19:43:34 +08:00
|
|
|
|
2020-07-06 Jan Beulich <jbeulich@suse.com>
|
|
|
|
|
|
|
|
|
|
* i386-dis.c (MOD_EVEX_0F381A_P_2_W_0, MOD_EVEX_0F381A_P_2_W_1,
|
|
|
|
|
MOD_EVEX_0F381B_P_2_W_0, MOD_EVEX_0F381B_P_2_W_1,
|
|
|
|
|
MOD_EVEX_0F385A_P_2_W_0, MOD_EVEX_0F385A_P_2_W_1,
|
|
|
|
|
MOD_EVEX_0F385B_P_2_W_0, MOD_EVEX_0F385B_P_2_W_1): New
|
|
|
|
|
enumerators.
|
|
|
|
|
(EVEX_LEN_0F381A_P_2_W_0, EVEX_LEN_0F381A_P_2_W_1,
|
|
|
|
|
EVEX_LEN_0F381B_P_2_W_0, EVEX_LEN_0F381B_P_2_W_1,
|
|
|
|
|
EVEX_LEN_0F385A_P_2_W_0, EVEX_LEN_0F385A_P_2_W_1,
|
|
|
|
|
EVEX_LEN_0F385B_P_2_W_0, EVEX_LEN_0F385B_P_2_W_1): Rename to ...
|
|
|
|
|
(EVEX_LEN_0F381A_P_2_W_0_M_0, EVEX_LEN_0F381A_P_2_W_1_M_0,
|
|
|
|
|
EVEX_LEN_0F381B_P_2_W_0_M_0, EVEX_LEN_0F381B_P_2_W_1_M_0,
|
|
|
|
|
EVEX_LEN_0F385A_P_2_W_0_M_0, EVEX_LEN_0F385A_P_2_W_1_M_0,
|
|
|
|
|
EVEX_LEN_0F385B_P_2_W_0_M_0, EVEX_LEN_0F385B_P_2_W_1_M_0): ...
|
|
|
|
|
these, respectively.
|
|
|
|
|
* i386-dis-evex-len.h: Adjust comments.
|
|
|
|
|
* i386-dis-evex-mod.h: New MOD_EVEX_0F381A_P_2_W_0,
|
|
|
|
|
MOD_EVEX_0F381A_P_2_W_1, MOD_EVEX_0F381B_P_2_W_0,
|
|
|
|
|
MOD_EVEX_0F381B_P_2_W_1, MOD_EVEX_0F385A_P_2_W_0,
|
|
|
|
|
MOD_EVEX_0F385A_P_2_W_1, MOD_EVEX_0F385B_P_2_W_0, and
|
|
|
|
|
MOD_EVEX_0F385B_P_2_W_1 table entries.
|
|
|
|
|
* i386-dis-evex-w.h: Reference mod_table[] for
|
|
|
|
|
EVEX_W_0F381A_P_2, EVEX_W_0F381B_P_2, EVEX_W_0F385A_P_2, and
|
|
|
|
|
EVEX_W_0F385B_P_2.
|
|
|
|
|
|
2020-07-06 19:43:05 +08:00
|
|
|
|
2020-07-06 Jan Beulich <jbeulich@suse.com>
|
|
|
|
|
|
|
|
|
|
* i386-dis-evex-len.h (vbroadcastf32x8, vbroadcasti32x8,
|
|
|
|
|
vinsertf32x8, vinsertf64x4, vextractf32x8, vextractf64x4): Use
|
|
|
|
|
EXymm.
|
|
|
|
|
(vinserti32x8, vinserti64x4, vextracti32x8, vextracti64x4):
|
|
|
|
|
Likewise. Mark 256-bit entries invalid.
|
|
|
|
|
|
2020-07-06 19:42:33 +08:00
|
|
|
|
2020-07-06 Jan Beulich <jbeulich@suse.com>
|
|
|
|
|
|
|
|
|
|
* i386-dis.c (PREFIX_EVEX_0F62, PREFIX_EVEX_0F6A,
|
|
|
|
|
PREFIX_EVEX_0F6B, PREFIX_EVEX_0F6C, PREFIX_EVEX_0F6D,
|
|
|
|
|
PREFIX_EVEX_0FD2, PREFIX_EVEX_0FD3, PREFIX_EVEX_0FD4,
|
|
|
|
|
PREFIX_EVEX_0FF2, PREFIX_EVEX_0FF3, PREFIX_EVEX_0FF4,
|
|
|
|
|
PREFIX_EVEX_0FFA, PREFIX_EVEX_0FFB, PREFIX_EVEX_0FFE,
|
|
|
|
|
PREFIX_EVEX_0F382B): Delete.
|
|
|
|
|
(EVEX_W_0F62_P_2, EVEX_W_0F6A_P_2, EVEX_W_0F6B_P_2,
|
|
|
|
|
EVEX_W_0F6C_P_2, EVEX_W_0F6D_P_2, EVEX_W_0FD2_P_2,
|
|
|
|
|
EVEX_W_0FD3_P_2, EVEX_W_0FD4_P_2, EVEX_W_0FF2_P_2,
|
|
|
|
|
EVEX_W_0FF3_P_2, EVEX_W_0FF4_P_2, EVEX_W_0FFA_P_2,
|
|
|
|
|
EVEX_W_0FFB_P_2, EVEX_W_0FFE_P_2, EVEX_W_0F382B_P_2): Rename
|
|
|
|
|
to ...
|
|
|
|
|
(EVEX_W_0F62, EVEX_W_0F6A, EVEX_W_0F6B, EVEX_W_0F6C,
|
|
|
|
|
EVEX_W_0F6D, EVEX_W_0FD2, EVEX_W_0FD3, EVEX_W_0FD4,
|
|
|
|
|
EVEX_W_0FF2, EVEX_W_0FF3, EVEX_W_0FF4, EVEX_W_0FFA,
|
|
|
|
|
EVEX_W_0FFB, EVEX_W_0FFE, EVEX_W_0F382B): ... these
|
|
|
|
|
respectively.
|
|
|
|
|
* i386-dis-evex.h (evex_table): Reference VEX_W table entries
|
|
|
|
|
for opcodes 0F62, 0F6A, 0F6B, 0F6C, 0F6D, 0FD2, 0FD3, 0FD4,
|
|
|
|
|
0FF2, 0FF3, 0FF4, 0FFA, 0FFB, 0FFE, 0F382B.
|
|
|
|
|
* i386-dis-evex-prefix.h (PREFIX_EVEX_0F62, PREFIX_EVEX_0F6A,
|
|
|
|
|
PREFIX_EVEX_0F6B, PREFIX_EVEX_0F6C, PREFIX_EVEX_0F6D,
|
|
|
|
|
PREFIX_EVEX_0FD2, PREFIX_EVEX_0FD3, PREFIX_EVEX_0FD4,
|
|
|
|
|
PREFIX_EVEX_0FF2, PREFIX_EVEX_0FF3, PREFIX_EVEX_0FF4,
|
|
|
|
|
PREFIX_EVEX_0FFA, PREFIX_EVEX_0FFB, PREFIX_EVEX_0FFE,
|
|
|
|
|
PREFIX_EVEX_0F382B): Remove table entries.
|
|
|
|
|
* i386-dis-evex-w.h: Reference VEX table entries for opcodes
|
|
|
|
|
0F62, 0F6A, 0F6B, 0F6C, 0F6D, 0FD2, 0FD3, 0FD4, 0FF2, 0FF3,
|
|
|
|
|
0FF4, 0FFA, 0FFB, 0FFE, 0F382B.
|
|
|
|
|
|
2020-07-06 19:41:58 +08:00
|
|
|
|
2020-07-06 Jan Beulich <jbeulich@suse.com>
|
|
|
|
|
|
|
|
|
|
* i386-dis.c (EVEX_LEN_0F3816_P_2, EVEX_LEN_0F3836_P_2,
|
|
|
|
|
EVEX_LEN_0F3A00_P_2_W_1, EVEX_LEN_0F3A01_P_2_W_1): New
|
|
|
|
|
enumerators.
|
|
|
|
|
* i386-dis-evex-len.h (evex_len_table): New EVEX_LEN_0F3816_P_2,
|
|
|
|
|
EVEX_LEN_0F3836_P_2, EVEX_LEN_0F3A00_P_2_W_1, and
|
|
|
|
|
EVEX_LEN_0F3A01_P_2_W_1 table entries.
|
|
|
|
|
* i386-dis-evex-prefix.h, i386-dis-evex-w.h: Reference the above
|
|
|
|
|
entries.
|
|
|
|
|
|
2020-07-06 19:41:27 +08:00
|
|
|
|
2020-07-06 Jan Beulich <jbeulich@suse.com>
|
|
|
|
|
|
|
|
|
|
* i386-dis.c (EVEX_LEN_0FC4_P_2, EVEX_LEN_0FC5_P_2,
|
|
|
|
|
EVEX_LEN_0F3A14_P_2, EVEX_LEN_0F3A15_P_2, EVEX_LEN_0F3A16_P_2,
|
|
|
|
|
EVEX_LEN_0F3A17_P_2, EVEX_LEN_0F3A20_P_2,
|
|
|
|
|
EVEX_LEN_0F3A21_P_2_W_0, EVEX_LEN_0F3A22_P_2): New enumerators.
|
|
|
|
|
* i386-dis-evex-len.h (evex_len_table): New EVEX_LEN_0FC4_P_2,
|
|
|
|
|
EVEX_LEN_0FC5_P_2, EVEX_LEN_0F3A14_P_2, EVEX_LEN_0F3A15_P_2,
|
|
|
|
|
EVEX_LEN_0F3A16_P_2, EVEX_LEN_0F3A17_P_2, EVEX_LEN_0F3A20_P_2,
|
|
|
|
|
EVEX_LEN_0F3A21_P_2_W_0, and EVEX_LEN_0F3A22_P_2 table entries.
|
|
|
|
|
* i386-dis-evex-prefix.h, i386-dis-evex-w.h: Reference the above
|
|
|
|
|
entries.
|
|
|
|
|
|
2020-07-06 19:40:40 +08:00
|
|
|
|
2020-07-06 Jan Beulich <jbeulich@suse.com>
|
|
|
|
|
|
|
|
|
|
* i386-dis.c (PREFIX_EVEX_0F3A1D, EVEX_W_0F3A1D_P_2): Delete.
|
|
|
|
|
(VEX_W_0F3813_P_2, VEX_W_0F3A1D_P_2): New enumerators.
|
|
|
|
|
(prefix_table): Reference VEX_W_0F3813_P_2 and VEX_W_0F3A1D_P_2
|
|
|
|
|
respectively.
|
|
|
|
|
(vex_w_table): New VEX_W_0F3813_P_2 and VEX_W_0F3A1D_P_2 table
|
|
|
|
|
entries.
|
|
|
|
|
* i386-dis-evex.h (evex_table): Reference VEX table entry for
|
|
|
|
|
opcode 0F3A1D.
|
|
|
|
|
* i386-dis-evex-prefix.h (PREFIX_EVEX_0F3A1D): Delete table
|
|
|
|
|
entry.
|
|
|
|
|
* i386-dis-evex-w.h (EVEX_W_0F3A1D_P_2): Likewise.
|
|
|
|
|
|
2020-07-06 19:40:13 +08:00
|
|
|
|
2020-07-06 Jan Beulich <jbeulich@suse.com>
|
|
|
|
|
|
|
|
|
|
* i386-dis.c (PREFIX_EVEX_0F60, PREFIX_EVEX_0F61,
|
|
|
|
|
PREFIX_EVEX_0F63, PREFIX_EVEX_0F67, PREFIX_EVEX_0F68,
|
|
|
|
|
PREFIX_EVEX_0F69, PREFIX_EVEX_0FD1, PREFIX_EVEX_0FD5,
|
|
|
|
|
PREFIX_EVEX_0FD8, PREFIX_EVEX_0FD9, PREFIX_EVEX_0FDA,
|
|
|
|
|
PREFIX_EVEX_0FDC, PREFIX_EVEX_0FDD, PREFIX_EVEX_0FDE,
|
|
|
|
|
PREFIX_EVEX_0FE0, PREFIX_EVEX_0FE1, PREFIX_EVEX_0FE3,
|
|
|
|
|
PREFIX_EVEX_0FE4, PREFIX_EVEX_0FE5, PREFIX_EVEX_0FE8,
|
|
|
|
|
PREFIX_EVEX_0FE9, PREFIX_EVEX_0FEA, PREFIX_EVEX_0FEC,
|
|
|
|
|
PREFIX_EVEX_0FED, PREFIX_EVEX_0FEE, PREFIX_EVEX_0FF1,
|
|
|
|
|
PREFIX_EVEX_0FF5, PREFIX_EVEX_0FF6, PREFIX_EVEX_0FF8,
|
|
|
|
|
PREFIX_EVEX_0FF9, PREFIX_EVEX_0FFC, PREFIX_EVEX_0FFD,
|
|
|
|
|
PREFIX_EVEX_0F3800, PREFIX_EVEX_0F3804, PREFIX_EVEX_0F380B,
|
|
|
|
|
PREFIX_EVEX_0F380C, PREFIX_EVEX_0F3818, PREFIX_EVEX_0F381C,
|
|
|
|
|
PREFIX_EVEX_0F381D, PREFIX_EVEX_0F383C, PREFIX_EVEX_0F383E,
|
|
|
|
|
PREFIX_EVEX_0F3858, PREFIX_EVEX_0F3878, PREFIX_EVEX_0F3879,
|
|
|
|
|
PREFIX_EVEX_0F3896, PREFIX_EVEX_0F3897, PREFIX_EVEX_0F3898,
|
|
|
|
|
PREFIX_EVEX_0F3899, PREFIX_EVEX_0F389C, PREFIX_EVEX_0F389D,
|
|
|
|
|
PREFIX_EVEX_0F389E, PREFIX_EVEX_0F389F, PREFIX_EVEX_0F38A6,
|
|
|
|
|
PREFIX_EVEX_0F38A7, PREFIX_EVEX_0F38A8, PREFIX_EVEX_0F38A9,
|
|
|
|
|
PREFIX_EVEX_0F38AC, PREFIX_EVEX_0F38AD, PREFIX_EVEX_0F38AE,
|
|
|
|
|
PREFIX_EVEX_0F38AF, PREFIX_EVEX_0F38B6, PREFIX_EVEX_0F38B7,
|
|
|
|
|
PREFIX_EVEX_0F38B8, PREFIX_EVEX_0F38B9, PREFIX_EVEX_0F38BA,
|
|
|
|
|
PREFIX_EVEX_0F38BB, PREFIX_EVEX_0F38BC, PREFIX_EVEX_0F38BD,
|
|
|
|
|
PREFIX_EVEX_0F38BE, PREFIX_EVEX_0F38BF, PREFIX_EVEX_0F38CF,
|
|
|
|
|
PREFIX_EVEX_0F38DC, PREFIX_EVEX_0F38DD, PREFIX_EVEX_0F38DE,
|
|
|
|
|
PREFIX_EVEX_0F38DF, PREFIX_EVEX_0F3A04, PREFIX_EVEX_0F3A0F,
|
|
|
|
|
PREFIX_EVEX_0F3A44, PREFIX_EVEX_0F3ACE, PREFIX_EVEX_0F3ACF,
|
|
|
|
|
EVEX_W_0F380C_P_2, EVEX_W_0F3818_P_2, EVEX_W_0F3858_P_2,
|
|
|
|
|
EVEX_W_0F3878_P_2, EVEX_W_0F3879_P_2, EVEX_W_0F3A04_P_2,
|
|
|
|
|
EVEX_W_0F3ACE_P_2, EVEX_W_0F3ACF_P_2): Delete.
|
|
|
|
|
(prefix_table): Add EXxEVexR to FMA table entries.
|
|
|
|
|
(OP_Rounding): Move abort() invocation.
|
|
|
|
|
* i386-dis-evex.h (evex_table): Reference VEX table for opcodes
|
|
|
|
|
0F60, 0F61, 0F63, 0F67, 0F68, 0F69, 0FD1, 0FD5, 0FD8, 0FD9,
|
|
|
|
|
0FDA, 0FDC, 0FDD, 0FDE, 0FE0, 0FE1, 0FE3, 0FE4, 0FE5, 0FE8,
|
|
|
|
|
0FE9, 0FEA, 0FEC, 0FED, 0FEE, 0FF1, 0FF5, 0FF6, 0FF8, 0FF9,
|
|
|
|
|
0FFC, 0FFD, 0F3800, 0F3804, 0F380B, 0F380C, 0F3818, 0F381C,
|
|
|
|
|
0F381D, 0F383C, 0F383E, 0F3858, 0F3878, 0F3879, 0F3896, 0F3897,
|
|
|
|
|
0F3898, 0F3899, 0F389C, 0F389D, 0F389E, 0F389F, 0F38A6, 0F38A7,
|
|
|
|
|
0F38A8, 0F38A9, 0F38AC, 0F38AD, 0F38AE, 0F38AF, 0F38B6, 0F38B7,
|
|
|
|
|
0F38B8, 0F38B9, 0F38BA, 0F38BB, 0F38BC, 0F38BD, 0F38BE, 0F38BF,
|
|
|
|
|
0F38CF, 0F38DC, 0F38DD, 0F38DE, 0F38DF, 0F3A04, 0F3A0F, 0F3A44,
|
|
|
|
|
0F3ACE, 0F3ACF.
|
|
|
|
|
* i386-dis-evex-prefix.h (PREFIX_EVEX_0F60, PREFIX_EVEX_0F61,
|
|
|
|
|
PREFIX_EVEX_0F63, PREFIX_EVEX_0F67, PREFIX_EVEX_0F68,
|
|
|
|
|
PREFIX_EVEX_0F69, PREFIX_EVEX_0FD1, PREFIX_EVEX_0FD5,
|
|
|
|
|
PREFIX_EVEX_0FD8, PREFIX_EVEX_0FD9, PREFIX_EVEX_0FDA,
|
|
|
|
|
PREFIX_EVEX_0FDC, PREFIX_EVEX_0FDD, PREFIX_EVEX_0FDE,
|
|
|
|
|
PREFIX_EVEX_0FE0, PREFIX_EVEX_0FE1, PREFIX_EVEX_0FE3,
|
|
|
|
|
PREFIX_EVEX_0FE4, PREFIX_EVEX_0FE5, PREFIX_EVEX_0FE8,
|
|
|
|
|
PREFIX_EVEX_0FE9, PREFIX_EVEX_0FEA, PREFIX_EVEX_0FEC,
|
|
|
|
|
PREFIX_EVEX_0FED, PREFIX_EVEX_0FEE, PREFIX_EVEX_0FF1,
|
|
|
|
|
PREFIX_EVEX_0FF5, PREFIX_EVEX_0FF6, PREFIX_EVEX_0FF8,
|
|
|
|
|
PREFIX_EVEX_0FF9, PREFIX_EVEX_0FFC, PREFIX_EVEX_0FFD,
|
|
|
|
|
PREFIX_EVEX_0F3800, PREFIX_EVEX_0F3804, PREFIX_EVEX_0F380B,
|
|
|
|
|
PREFIX_EVEX_0F380C, PREFIX_EVEX_0F3818, PREFIX_EVEX_0F381C,
|
|
|
|
|
PREFIX_EVEX_0F381D, PREFIX_EVEX_0F383C, PREFIX_EVEX_0F383E,
|
|
|
|
|
PREFIX_EVEX_0F3858, PREFIX_EVEX_0F3878, PREFIX_EVEX_0F3879,
|
|
|
|
|
PREFIX_EVEX_0F3896, PREFIX_EVEX_0F3897, PREFIX_EVEX_0F3898,
|
|
|
|
|
PREFIX_EVEX_0F3899, PREFIX_EVEX_0F389C, PREFIX_EVEX_0F389D,
|
|
|
|
|
PREFIX_EVEX_0F389E, PREFIX_EVEX_0F389F, PREFIX_EVEX_0F38A6,
|
|
|
|
|
PREFIX_EVEX_0F38A7, PREFIX_EVEX_0F38A8, PREFIX_EVEX_0F38A9,
|
|
|
|
|
PREFIX_EVEX_0F38AC, PREFIX_EVEX_0F38AD, PREFIX_EVEX_0F38AE,
|
|
|
|
|
PREFIX_EVEX_0F38AF, PREFIX_EVEX_0F38B6, PREFIX_EVEX_0F38B7,
|
|
|
|
|
PREFIX_EVEX_0F38B8, PREFIX_EVEX_0F38B9, PREFIX_EVEX_0F38BA,
|
|
|
|
|
PREFIX_EVEX_0F38BB, PREFIX_EVEX_0F38BC, PREFIX_EVEX_0F38BD,
|
|
|
|
|
PREFIX_EVEX_0F38BE, PREFIX_EVEX_0F38BF, PREFIX_EVEX_0F38CF,
|
|
|
|
|
PREFIX_EVEX_0F38DC, PREFIX_EVEX_0F38DD, PREFIX_EVEX_0F38DE,
|
|
|
|
|
PREFIX_EVEX_0F38DF, PREFIX_EVEX_0F3A04, PREFIX_EVEX_0F3A0F,
|
|
|
|
|
PREFIX_EVEX_0F3A44, PREFIX_EVEX_0F3ACE, PREFIX_EVEX_0F3ACF):
|
|
|
|
|
Delete table entries.
|
|
|
|
|
* i386-dis-evex-w.h (EVEX_W_0F380C_P_2, EVEX_W_0F3818_P_2,
|
|
|
|
|
EVEX_W_0F3858_P_2, EVEX_W_0F3878_P_2, EVEX_W_0F3879_P_2,
|
|
|
|
|
EVEX_W_0F3A04_P_2, EVEX_W_0F3ACE_P_2, EVEX_W_0F3ACF_P_2):
|
|
|
|
|
Likewise.
|
|
|
|
|
|
2020-07-06 19:35:38 +08:00
|
|
|
|
2020-07-06 Jan Beulich <jbeulich@suse.com>
|
|
|
|
|
|
|
|
|
|
* i386-dis.c (EXqScalarS): Delete.
|
|
|
|
|
(vex_len_table): Replace EXqScalarS by EXqVexScalarS.
|
|
|
|
|
* i386-dis-evex-w.h (vmovq): Use EXqVexScalarS.
|
|
|
|
|
|
2020-07-06 19:34:36 +08:00
|
|
|
|
2020-07-06 Jan Beulich <jbeulich@suse.com>
|
|
|
|
|
|
|
|
|
|
* i386-dis.c (safe-ctype.h): Include.
|
|
|
|
|
(EXdScalar, EXqScalar): Delete.
|
|
|
|
|
(d_scalar_mode, q_scalar_mode): Delete.
|
|
|
|
|
(prefix_table, vex_len_table): Use EXxmm_md in place of
|
|
|
|
|
EXdScalar and EXxmm_mq in place of EXqScalar.
|
|
|
|
|
(intel_operand_size, OP_E_memory, OP_EX): Remove uses of
|
|
|
|
|
d_scalar_mode and q_scalar_mode.
|
|
|
|
|
* i386-dis-evex-w.h (vmovss): Use EXxmm_md.
|
|
|
|
|
(vmovsd): Use EXxmm_mq.
|
|
|
|
|
|
2020-07-06 17:54:36 +08:00
|
|
|
|
2020-07-06 Yuri Chornoivan <yurchor@ukr.net>
|
|
|
|
|
|
|
|
|
|
PR 26204
|
|
|
|
|
* arc-dis.c: Fix spelling mistake.
|
|
|
|
|
* po/opcodes.pot: Regenerate.
|
|
|
|
|
|
2020-07-06 17:43:35 +08:00
|
|
|
|
2020-07-06 Nick Clifton <nickc@redhat.com>
|
|
|
|
|
|
|
|
|
|
* po/pt_BR.po: Updated Brazilian Portugugese translation.
|
|
|
|
|
* po/uk.po: Updated Ukranian translation.
|
|
|
|
|
|
2020-07-04 17:34:23 +08:00
|
|
|
|
2020-07-04 Nick Clifton <nickc@redhat.com>
|
|
|
|
|
|
|
|
|
|
* configure: Regenerate.
|
|
|
|
|
* po/opcodes.pot: Regenerate.
|
|
|
|
|
|
2020-07-04 17:16:22 +08:00
|
|
|
|
2020-07-04 Nick Clifton <nickc@redhat.com>
|
|
|
|
|
|
|
|
|
|
Binutils 2.35 branch created.
|
|
|
|
|
|
2020-07-02 21:30:00 +08:00
|
|
|
|
2020-07-02 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
* i386-gen.c (opcode_modifiers): Add VexSwapSources.
|
|
|
|
|
* i386-opc.h (VexSwapSources): New.
|
|
|
|
|
(i386_opcode_modifier): Add vexswapsources.
|
|
|
|
|
* i386-opc.tbl: Add VexSwapSources to BMI2 and BMI instructions
|
|
|
|
|
with two source operands swapped.
|
|
|
|
|
* i386-tbl.h: Regenerated.
|
|
|
|
|
|
2020-06-08 10:54:53 +08:00
|
|
|
|
2020-06-30 Nelson Chu <nelson.chu@sifive.com>
|
|
|
|
|
|
|
|
|
|
* riscv-dis.c (print_insn_args, case 'E'): Updated. Let the
|
|
|
|
|
unprivileged CSR can also be initialized.
|
|
|
|
|
|
2020-06-29 08:37:56 +08:00
|
|
|
|
2020-06-29 Alan Modra <amodra@gmail.com>
|
|
|
|
|
|
|
|
|
|
* arm-dis.c: Use C style comments.
|
|
|
|
|
* cr16-opc.c: Likewise.
|
|
|
|
|
* ft32-dis.c: Likewise.
|
|
|
|
|
* moxie-opc.c: Likewise.
|
|
|
|
|
* tic54x-dis.c: Likewise.
|
|
|
|
|
* s12z-opc.c: Remove useless comment.
|
|
|
|
|
* xgate-dis.c: Likewise.
|
|
|
|
|
|
2020-06-27 00:24:19 +08:00
|
|
|
|
2020-06-26 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
* i386-opc.tbl: Add a blank line.
|
|
|
|
|
|
2020-06-26 23:24:30 +08:00
|
|
|
|
2020-06-26 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
* i386-gen.c (opcode_modifiers): Replace VecSIB with SIB.
|
|
|
|
|
(VecSIB128): Renamed to ...
|
|
|
|
|
(VECSIB128): This.
|
|
|
|
|
(VecSIB256): Renamed to ...
|
|
|
|
|
(VECSIB256): This.
|
|
|
|
|
(VecSIB512): Renamed to ...
|
|
|
|
|
(VECSIB512): This.
|
|
|
|
|
(VecSIB): Renamed to ...
|
|
|
|
|
(SIB): This.
|
|
|
|
|
(i386_opcode_modifier): Replace vecsib with sib.
|
2020-06-27 00:20:28 +08:00
|
|
|
|
* i386-opc.tbl (VecSIB128): New.
|
2020-06-26 23:24:30 +08:00
|
|
|
|
(VecSIB256): Likewise.
|
|
|
|
|
(VecSIB512): Likewise.
|
2020-06-27 00:20:28 +08:00
|
|
|
|
Replace VecSIB=1, VecSIB=2 and VecSIB=3 with VecSIB128, VecSIB256
|
2020-06-26 23:24:30 +08:00
|
|
|
|
and VecSIB512, respectively.
|
|
|
|
|
|
2020-06-26 22:44:31 +08:00
|
|
|
|
2020-06-26 Jan Beulich <jbeulich@suse.com>
|
|
|
|
|
|
|
|
|
|
* i386-dis.c: Adjust description of I macro.
|
|
|
|
|
(x86_64_table): Drop use of I.
|
|
|
|
|
(float_mem): Replace use of I.
|
|
|
|
|
(putop): Remove handling of I. Adjust setting/clearing of "alt".
|
|
|
|
|
|
2020-06-26 22:42:55 +08:00
|
|
|
|
2020-06-26 Jan Beulich <jbeulich@suse.com>
|
|
|
|
|
|
|
|
|
|
* i386-dis.c: (print_insn): Avoid straight assignment to
|
|
|
|
|
priv.orig_sizeflag when processing -M sub-options.
|
|
|
|
|
|
2020-06-25 15:31:50 +08:00
|
|
|
|
2020-06-25 Jan Beulich <jbeulich@suse.com>
|
|
|
|
|
|
|
|
|
|
* i386-dis.c: Adjust description of J macro.
|
|
|
|
|
(dis386, x86_64_table, mod_table): Replace J.
|
|
|
|
|
(putop): Remove handling of J.
|
|
|
|
|
|
2020-06-25 15:30:39 +08:00
|
|
|
|
2020-06-25 Jan Beulich <jbeulich@suse.com>
|
|
|
|
|
|
|
|
|
|
* i386-dis.c: (float_mem): Reduce alternatives for fstpt and fldpt.
|
|
|
|
|
|
2020-06-25 15:27:21 +08:00
|
|
|
|
2020-06-25 Jan Beulich <jbeulich@suse.com>
|
|
|
|
|
|
|
|
|
|
* i386-dis.c: Adjust description of "LQ" macro.
|
|
|
|
|
(dis386_twobyte): Use LQ for sysret.
|
|
|
|
|
(putop): Adjust handling of LQ.
|
|
|
|
|
|
RISC-V: Report warning when linking the objects with different priv specs.
We do know some conflicts among different privileged specs. For linker,
the safest approach is that don't allow the object linked with others which
may cause conflicts. But this may cause inconvenience since not all objects
with conflicting priv specs are linked will cause problems. But it is hard
to know the detailed conflict cases for linker, so we probably need a option
to tell linker that we do know there are no conflicts, or we are willing to
take risks to link the objects with conflicted priv specs. But the option
is still under discussion.
Therefore, we can report warnings rather than errors when linking the objects
with conflicted priv specs. This not only makes the linker more flexible,
but also warns people that the conflicts may happen. We also need to update
the output priv spec version once the input priv spec is newer.
bfd/
* elfxx-riscv.c (struct priv_spec_t priv_specs[]): Move them from
opcodes/riscv-opc.c to bfd/elfxx-riscv.c, since we need it in linker.
(riscv_get_priv_spec_class): Likewise.
(riscv_get_priv_spec_name): Likewise.
(riscv_get_priv_spec_class_from_numbers): New function, convert
the version numbers into string, then call riscv_get_priv_spec_class
to get the priv spec class.
* elfxx-riscv.h (riscv_get_priv_spec_class): Move forward declaration
from include/opcode/riscv.h to bfd/elfxx-riscv.h.
(riscv_get_priv_spec_name): Likewise.
(riscv_get_priv_spec_class_from_numbers): New forward declaration.
(opcode/riscv.h): Include it in the header rather than elfxx-riscv.c.
* elfnn-riscv.c (riscv_merge_attributes): Get the priv spec classes
of input and output objects form their priv spec attributes by
riscv_get_priv_spec_class_from_numbers. Report warning rather than
errors when linking objects with differnet priv spec versions. We do
know v1.9.1 may have conflicts to other versions, so report the
warning, too. After that, update the output priv spec version to the
newest one so far.
gas/
* config/tc-riscv.c (buf_size, buf): Remove the unused variables.
(riscv_set_default_priv_spec): Get the priv spec version from the
priv spec attributes by riscv_get_priv_spec_class_from_numbers.
include/
* opcode/riscv.h (riscv_get_priv_spec_class): Move the function
forward declarations to bfd/elfxx-riscv.h.
(riscv_get_priv_spec_name): Likewise.
opcodes/
* riscv-opc.c: Move the structures and functions to bfd/elfxx-riscv.c.
* riscv-dis.c: Include elfxx-riscv.h.
ld/
* testsuite/ld-riscv-elf/attr-merge-priv-spec-failed-01.d: Updated.
* testsuite/ld-riscv-elf/attr-merge-priv-spec-failed-02.d: Updated.
* testsuite/ld-riscv-elf/attr-merge-priv-spec-failed-03.d: Updated.
* testsuite/ld-riscv-elf/attr-merge-priv-spec-failed-04.d: Updated.
* testsuite/ld-riscv-elf/attr-merge-priv-spec-failed-05.d: Updated.
* testsuite/ld-riscv-elf/attr-merge-priv-spec-failed-06.d: Updated.
2020-06-12 23:06:49 +08:00
|
|
|
|
2020-06-22 Nelson Chu <nelson.chu@sifive.com>
|
|
|
|
|
|
|
|
|
|
* riscv-opc.c: Move the structures and functions to bfd/elfxx-riscv.c.
|
|
|
|
|
* riscv-dis.c: Include elfxx-riscv.h.
|
|
|
|
|
|
2020-06-18 15:13:49 +08:00
|
|
|
|
2020-06-18 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
* i386-dis.c (prefix_table): Revert the last vmgexit change.
|
|
|
|
|
|
2020-06-16 22:11:31 +08:00
|
|
|
|
2020-06-17 Lili Cui <lili.cui@intel.com>
|
|
|
|
|
|
|
|
|
|
* i386-dis.c (prefix_table): Delete the incorrect vmgexit.
|
|
|
|
|
|
2020-06-14 20:18:35 +08:00
|
|
|
|
2020-06-14 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
PR gas/26115
|
|
|
|
|
* i386-dis.c (prefix_table): Replace xsuspldtrk with xsusldtrk.
|
|
|
|
|
* i386-opc.tbl: Likewise.
|
|
|
|
|
* i386-tbl.h: Regenerated.
|
|
|
|
|
|
RISC-V: Drop the privileged spec v1.9 support.
There is a conflict between v1.9 and v1.9.1 - CSR MISA address. MISA is
0xf10 in v1.9, but change to 0x301 in v1.9.1. The change made MISA writable,
but may also cause risk of compatibility. Binutils already support the
-mpriv-spec options and ELF priv attributes, which can used to choose what
privileged spec you want, and then give a correponding CSR name and address
to use. But Gdb and other tools don't have the simialr mechanism for now.
However, there are two things can be confirmed,
1. If we don't have a way to control the priv specs, then the changes, like
MISA, will cause risk and hard to maintain.
2. We get the guarantee that the CSR address won't be reused in the future
specs, even if it is dropped.
I'm not sure if Gdb needs to care about the priv spec versions, it is still
discussing. But drop the priv spec v1.9, and make sure that we won't reuse
the CSR address is a useful solution for now. Also, we might drop the v1.9.1
in a year or two. After that, specs above v1.10 should be compatible anyway.
gas/
* testsuite/gas/riscv/priv-reg-fail-version-1p9.d: Removed.
* testsuite/gas/riscv/priv-reg-fail-version-1p9.l: Likewise.
* testsuite/gas/riscv/priv-reg-version-1p9.d: Likewise.
include/
* opcode/riscv-opc.h: Update the defined versions of CSR from
PRIV_SPEC_CLASS_1P9 to PRIV_SPEC_CLASS_1P9P1. Also, drop the
MISA DECLARE_CSR_ALIAS since it's aborted version is v1.9.
* opcode/riscv.h (enum riscv_priv_spec_class): Remove
PRIV_SPEC_CLASS_1P9.
opcodes/
* riscv-opc.c (priv_specs): Remove v1.9 and PRIV_SPEC_CLASS_1P9.
2020-06-10 14:07:54 +08:00
|
|
|
|
2020-06-12 Nelson Chu <nelson.chu@sifive.com>
|
|
|
|
|
|
|
|
|
|
* riscv-opc.c (priv_specs): Remove v1.9 and PRIV_SPEC_CLASS_1P9.
|
|
|
|
|
|
2020-06-11 19:34:37 +08:00
|
|
|
|
2020-06-11 Alex Coplan <alex.coplan@arm.com>
|
|
|
|
|
|
|
|
|
|
* aarch64-opc.c (SYSREG): New macro for describing system registers.
|
|
|
|
|
(SR_CORE): Likewise.
|
|
|
|
|
(SR_FEAT): Likewise.
|
|
|
|
|
(SR_RNG): Likewise.
|
|
|
|
|
(SR_V8_1): Likewise.
|
|
|
|
|
(SR_V8_2): Likewise.
|
|
|
|
|
(SR_V8_3): Likewise.
|
|
|
|
|
(SR_V8_4): Likewise.
|
|
|
|
|
(SR_PAN): Likewise.
|
|
|
|
|
(SR_RAS): Likewise.
|
|
|
|
|
(SR_SSBS): Likewise.
|
|
|
|
|
(SR_SVE): Likewise.
|
|
|
|
|
(SR_ID_PFR2): Likewise.
|
|
|
|
|
(SR_PROFILE): Likewise.
|
|
|
|
|
(SR_MEMTAG): Likewise.
|
|
|
|
|
(SR_SCXTNUM): Likewise.
|
|
|
|
|
(aarch64_sys_regs): Refactor to store feature information in the table.
|
|
|
|
|
(aarch64_sys_reg_supported_p): Collapse logic for system registers
|
|
|
|
|
that now describe their own features.
|
|
|
|
|
(aarch64_pstatefield_supported_p): Likewise.
|
|
|
|
|
|
2020-06-09 21:29:33 +08:00
|
|
|
|
2020-06-09 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
* i386-dis.c (prefix_table): Fix a typo in comments.
|
|
|
|
|
|
2020-06-09 14:59:04 +08:00
|
|
|
|
2020-06-09 Jan Beulich <jbeulich@suse.com>
|
|
|
|
|
|
|
|
|
|
* i386-dis.c (rex_ignored): Delete.
|
|
|
|
|
(ckprefix): Drop rex_ignored initialization.
|
|
|
|
|
(get_valid_dis386): Drop setting of rex_ignored.
|
|
|
|
|
(print_insn): Drop checking of rex_ignored. Don't record data
|
|
|
|
|
size prefix as used with VEX-and-alike encodings.
|
|
|
|
|
|
x86: fix {,V}MOV{L,H}PD disassembly
Neither the legacy nor the VEX-encoded forms are permitted with register
operands, just like is already the case for their store forms as well as
{,V}MOV{L,H}PS.
At the same time, besides folding respective vex_len_table[] entries,
adjust adjacent related legacy mod_table[] entries:
- when the prefix was already decoded, PREFIX_OPCODE is pointless,
- limit the amount of string literals by using X consistently on all
{,V}MOV{L,H}P{S,D} forms.
2020-06-09 14:57:55 +08:00
|
|
|
|
2020-06-09 Jan Beulich <jbeulich@suse.com>
|
|
|
|
|
|
|
|
|
|
* i386-dis.c (MOD_0F12_PREFIX_2, MOD_0F16_PREFIX_2,
|
|
|
|
|
MOD_VEX_0F12_PREFIX_2, MOD_VEX_0F16_PREFIX_2): New enumerators.
|
|
|
|
|
(VEX_LEN_0F12_P_2, VEX_LEN_0F16_P_2): Delete.
|
|
|
|
|
(VEX_LEN_0F12_P_2_M_0, VEX_LEN_0F16_P_2_M_0): Define.
|
|
|
|
|
(prefix_table): Decode MOD for cases 2 of opcodes 0F12, 0F16,
|
|
|
|
|
VEX_0F12, and VEX_0F16.
|
|
|
|
|
(vex_len_table): Use X for vmovlp* and vmovh*s. Drop
|
|
|
|
|
VEX_LEN_0F12_P_2 and VEX_LEN_0F16_P_2 entries.
|
|
|
|
|
(mod_table): Use X for movlpX and movhpX. Drop PREFIX_OPCODE
|
|
|
|
|
from movlps and movhlps. New MOD_0F12_PREFIX_2,
|
|
|
|
|
MOD_0F16_PREFIX_2, MOD_VEX_0F12_PREFIX_2, and
|
|
|
|
|
MOD_VEX_0F16_PREFIX_2 entries.
|
|
|
|
|
|
2020-06-09 14:57:22 +08:00
|
|
|
|
2020-06-09 Jan Beulich <jbeulich@suse.com>
|
|
|
|
|
|
|
|
|
|
* i386-dis.c (MOD_EVEX_0F12_PREFIX_2, MOD_EVEX_0F13,
|
|
|
|
|
MOD_EVEX_0F16_PREFIX_2, MOD_EVEX_0F17, MOD_EVEX_0F2B): New enumerators.
|
|
|
|
|
(PREFIX_EVEX_0F13, PREFIX_EVEX_0F14, PREFIX_EVEX_0F15,
|
|
|
|
|
PREFIX_EVEX_0F17, PREFIX_EVEX_0F28, PREFIX_EVEX_0F29,
|
|
|
|
|
PREFIX_EVEX_0F2B, PREFIX_EVEX_0F54, PREFIX_EVEX_0F55,
|
|
|
|
|
PREFIX_EVEX_0F56, PREFIX_EVEX_0F57, PREFIX_EVEX_0FC6,
|
|
|
|
|
EVEX_W_0F10_P_0, EVEX_W_0F10_P_2, EVEX_W_0F11_P_0,
|
|
|
|
|
EVEX_W_0F11_P_2, EVEX_W_0F12_P_0_M_0, EVEX_W_0F12_P_2,
|
|
|
|
|
EVEX_W_0F13_P_0, EVEX_W_0F13_P_2, EVEX_W_0F14_P_0,
|
|
|
|
|
EVEX_W_0F14_P_2, EVEX_W_0F15_P_0, EVEX_W_0F15_P_2,
|
|
|
|
|
EVEX_W_0F16_P_0_M_0, EVEX_W_0F16_P_2, EVEX_W_0F17_P_0,
|
|
|
|
|
EVEX_W_0F17_P_2, EVEX_W_0F28_P_0, EVEX_W_0F28_P_2,
|
|
|
|
|
EVEX_W_0F29_P_0, EVEX_W_0F29_P_2, EVEX_W_0F2B_P_0,
|
|
|
|
|
EVEX_W_0F2B_P_2, EVEX_W_0F2E_P_0, EVEX_W_0F2E_P_2,
|
|
|
|
|
EVEX_W_0F2F_P_0, EVEX_W_0F2F_P_2, EVEX_W_0F51_P_0,
|
|
|
|
|
EVEX_W_0F51_P_2, EVEX_W_0F54_P_0, EVEX_W_0F54_P_2,
|
|
|
|
|
EVEX_W_0F55_P_0, EVEX_W_0F55_P_2, EVEX_W_0F56_P_0,
|
|
|
|
|
EVEX_W_0F56_P_2, EVEX_W_0F57_P_0, EVEX_W_0F57_P_2,
|
|
|
|
|
EVEX_W_0F58_P_0, EVEX_W_0F58_P_2, EVEX_W_0F59_P_0,
|
|
|
|
|
EVEX_W_0F59_P_2, EVEX_W_0F5C_P_0, EVEX_W_0F5C_P_2,
|
|
|
|
|
EVEX_W_0F5D_P_0, EVEX_W_0F5D_P_2, EVEX_W_0F5E_P_0,
|
|
|
|
|
EVEX_W_0F5E_P_2, EVEX_W_0F5F_P_0, EVEX_W_0F5F_P_2,
|
|
|
|
|
EVEX_W_0FC2_P_0, EVEX_W_0FC2_P_2, EVEX_W_0FC6_P_0,
|
|
|
|
|
EVEX_W_0FC6_P_2): Delete.
|
|
|
|
|
(print_insn): Add EVEX.W vs embedded prefix consistency check
|
|
|
|
|
to prefix validation.
|
|
|
|
|
* i386-dis-evex.h (evex_table): Don't further descend for
|
|
|
|
|
vunpcklpX, vunpckhpX, vmovapX, vandpX, vandnpX, vorpX, vxorpX,
|
|
|
|
|
and vshufpX. Continue with MOD decoding for opcodes 0F13, 0F17,
|
|
|
|
|
and 0F2B.
|
|
|
|
|
* i386-dis-evex-mod.h: Add/adjust vmovlpX/vmovhpX entries.
|
|
|
|
|
* i386-dis-evex-prefix.h: Don't further descend for vmovupX,
|
|
|
|
|
vucomisX, vcomisX, vsqrtpX, vaddpX, vmulpX, vsubpX, vminpX,
|
|
|
|
|
vdivpX, vmaxpX, and vcmppX. Continue with MOD decoding for cases
|
|
|
|
|
2 of PREFIX_EVEX_0F12, PREFIX_EVEX_0F16, and PREFIX_EVEX_0F29.
|
|
|
|
|
Drop PREFIX_EVEX_0F13, PREFIX_EVEX_0F14, PREFIX_EVEX_0F15,
|
|
|
|
|
PREFIX_EVEX_0F17, PREFIX_EVEX_0F28, PREFIX_EVEX_0F2B,
|
|
|
|
|
PREFIX_EVEX_0F54, PREFIX_EVEX_0F55, PREFIX_EVEX_0F56,
|
|
|
|
|
PREFIX_EVEX_0F57, and PREFIX_EVEX_0FC6 entries.
|
|
|
|
|
* i386-dis-evex-w.h: Drop EVEX_W_0F10_P_0, EVEX_W_0F10_P_2,
|
|
|
|
|
EVEX_W_0F11_P_0, EVEX_W_0F11_P_2, EVEX_W_0F12_P_0_M_0,
|
|
|
|
|
EVEX_W_0F12_P_2, EVEX_W_0F12_P_3, EVEX_W_0F13_P_0,
|
|
|
|
|
EVEX_W_0F13_P_2, EVEX_W_0F14_P_0, EVEX_W_0F14_P_2,
|
|
|
|
|
EVEX_W_0F15_P_0, EVEX_W_0F15_P_2, EVEX_W_0F16_P_0_M_0,
|
|
|
|
|
EVEX_W_0F16_P_2, EVEX_W_0F17_P_0, EVEX_W_0F17_P_2,
|
|
|
|
|
EVEX_W_0F28_P_0, EVEX_W_0F28_P_2, EVEX_W_0F29_P_0,
|
|
|
|
|
EVEX_W_0F29_P_2, EVEX_W_0F2B_P_0, EVEX_W_0F2B_P_2,
|
|
|
|
|
EVEX_W_0F2E_P_0, EVEX_W_0F2E_P_2, EVEX_W_0F2F_P_0,
|
|
|
|
|
EVEX_W_0F2F_P_2, EVEX_W_0F51_P_0, EVEX_W_0F51_P_2,
|
|
|
|
|
EVEX_W_0F54_P_0, EVEX_W_0F54_P_2, EVEX_W_0F55_P_0,
|
|
|
|
|
EVEX_W_0F55_P_2, EVEX_W_0F56_P_0, EVEX_W_0F56_P_2,
|
|
|
|
|
EVEX_W_0F57_P_0, EVEX_W_0F57_P_2, EVEX_W_0F58_P_0,
|
|
|
|
|
EVEX_W_0F58_P_2, EVEX_W_0F59_P_0, EVEX_W_0F59_P_2,
|
|
|
|
|
EVEX_W_0F5C_P_0, EVEX_W_0F5C_P_2, EVEX_W_0F5D_P_0,
|
|
|
|
|
EVEX_W_0F5D_P_2, EVEX_W_0F5E_P_0, EVEX_W_0F5E_P_2,
|
|
|
|
|
EVEX_W_0F5F_P_0, EVEX_W_0F5F_P_2, EVEX_W_0FC2_P_0,
|
|
|
|
|
EVEX_W_0FC2_P_2, EVEX_W_0FC6_P_0, and EVEX_W_0FC6_P_2 entries.
|
|
|
|
|
|
2020-06-09 14:56:39 +08:00
|
|
|
|
2020-06-09 Jan Beulich <jbeulich@suse.com>
|
|
|
|
|
|
|
|
|
|
* i386-dis.c (vex_table): Use PREFIX_OPCODE for vunpcklpX,
|
|
|
|
|
vunpckhpX, vmovapX, vandpX, vandnpX, vorpX, vxorpX and vshufpX.
|
|
|
|
|
(vex_len_table) : Likewise for vmovlpX, vmovhpX, vmovntpX, and
|
|
|
|
|
vmovmskpX.
|
|
|
|
|
(print_insn): Drop pointless check against bad_opcode. Split
|
|
|
|
|
prefix validation into legacy and VEX-and-alike parts.
|
|
|
|
|
(putop): Re-work 'X' macro handling.
|
|
|
|
|
|
2020-06-09 14:55:50 +08:00
|
|
|
|
2020-06-09 Jan Beulich <jbeulich@suse.com>
|
|
|
|
|
|
|
|
|
|
* i386-dis.c (MOD_0F51): Rename to ...
|
|
|
|
|
(MOD_0F50): ... this.
|
|
|
|
|
|
2020-06-08 22:16:29 +08:00
|
|
|
|
2020-06-08 Alex Coplan <alex.coplan@arm.com>
|
|
|
|
|
|
|
|
|
|
* arm-dis.c (arm_opcodes): Add dfb.
|
|
|
|
|
(thumb32_opcodes): Add dfb.
|
|
|
|
|
|
2020-06-08 14:37:47 +08:00
|
|
|
|
2020-06-08 Jan Beulich <jbeulich@suse.com>
|
|
|
|
|
|
|
|
|
|
* i386-opc.h (reg_entry): Const-qualify reg_name field.
|
|
|
|
|
|
2020-06-06 12:52:37 +08:00
|
|
|
|
2020-06-06 Alan Modra <amodra@gmail.com>
|
|
|
|
|
|
|
|
|
|
* ppc-dis.c (ppc_opts): Accept -mpwr10/-Mpwr10.
|
|
|
|
|
|
2020-06-05 14:48:47 +08:00
|
|
|
|
2020-06-05 Alan Modra <amodra@gmail.com>
|
|
|
|
|
|
|
|
|
|
* cgen-dis.c (hash_insn_array): Increase size of buf. Assert
|
|
|
|
|
size is large enough.
|
|
|
|
|
|
2020-06-04 22:17:07 +08:00
|
|
|
|
2020-06-04 Jose E. Marchesi <jose.marchesi@oracle.com>
|
|
|
|
|
|
|
|
|
|
* disassemble.c (disassemble_init_for_target): Set endian_code for
|
|
|
|
|
bpf targets.
|
|
|
|
|
* bpf-desc.c: Regenerate.
|
|
|
|
|
* bpf-opc.c: Likewise.
|
|
|
|
|
* bpf-dis.c: Likewise.
|
|
|
|
|
|
opcodes: discriminate endianness and insn-endianness in CGEN ports
The CGEN support code in opcodes accesses instruction contents using a
couple of functions defined in cgen-opc.c: cgen_get_insn_value and
cgen_put_insn_value. These functions use the "instruction endianness"
in the CPU description to order the read/written bytes.
The process of writing an instruction to the object file is:
a) cgen_put_insn_value ;; Writes out the opcodes.
b) ARCH_cgen_insert_operand
insert_normal
insert_1
cgen_put_insn_value ;; Writes out the bytes of the
;; operand.
Likewise, the process of reading an instruction from the object file
is:
a) cgen_get_insn_value ;; Reads the opcodes.
b) ARCH_cgen_extract_operand
extract_normal
extract_1
cgen_get_insn_value ;; Reads in the bytes of the
;; operand.
As can be seen above, cgen_{get,put}_insn_value are used to both
process the instruction opcodes (the constant fields conforming the
base instruction) and also the values of the instruction operands,
such as immediates.
This is problematic for architectures in which the endianness of
instructions is different to the endianness of data. An example is
BPF, where instructions are always encoded big-endian but the data may
be either big or little.
This patch changes the cgen_{get,put}_insn_value functions in order to
get an extra argument with the endianness to use, and adapts the
existin callers to these functions in order to provide cd->endian or
cd->insn_endian, whatever appropriate. Callers like extract_1 and
insert_1 pass cd->endian (since they are reading/writing operand
values) while callers reading/writing the base instruction pass
cd->insn_endian instead.
A few little adjustments have been needed in some existing CGEN based
ports:
* The BPF assembler uses cgen_put_insn_value. It has been adapted to
pass the new endian argument.
* The mep port has code in mep.opc that uses cgen_{get,put}_insn_value.
It has been adapted to pass the new endianargument. Ditto for a
call in the assembler.
Tested with --enable-targets=all.
Regested in all supported targets.
No regressions.
include/ChangeLog:
2020-06-04 Jose E. Marchesi <jose.marchesi@oracle.com>
* opcode/cgen.h: Get an `endian' argument in both
cgen_get_insn_value and cgen_put_insn_value.
opcodes/ChangeLog:
2020-06-04 Jose E. Marchesi <jose.marchesi@oracle.com>
* cgen-opc.c (cgen_get_insn_value): Get an `endian' argument.
(cgen_put_insn_value): Likewise.
(cgen_lookup_insn): Pass endianness to cgen_{get,put}_insn_value.
* cgen-dis.in (print_insn): Likewise.
* cgen-ibld.in (insert_1): Likewise.
(insert_1): Likewise.
(insert_insn_normal): Likewise.
(extract_1): Likewise.
* bpf-dis.c: Regenerate.
* bpf-ibld.c: Likewise.
* bpf-ibld.c: Likewise.
* cgen-dis.in: Likewise.
* cgen-ibld.in: Likewise.
* cgen-opc.c: Likewise.
* epiphany-dis.c: Likewise.
* epiphany-ibld.c: Likewise.
* fr30-dis.c: Likewise.
* fr30-ibld.c: Likewise.
* frv-dis.c: Likewise.
* frv-ibld.c: Likewise.
* ip2k-dis.c: Likewise.
* ip2k-ibld.c: Likewise.
* iq2000-dis.c: Likewise.
* iq2000-ibld.c: Likewise.
* lm32-dis.c: Likewise.
* lm32-ibld.c: Likewise.
* m32c-dis.c: Likewise.
* m32c-ibld.c: Likewise.
* m32r-dis.c: Likewise.
* m32r-ibld.c: Likewise.
* mep-dis.c: Likewise.
* mep-ibld.c: Likewise.
* mt-dis.c: Likewise.
* mt-ibld.c: Likewise.
* or1k-dis.c: Likewise.
* or1k-ibld.c: Likewise.
* xc16x-dis.c: Likewise.
* xc16x-ibld.c: Likewise.
* xstormy16-dis.c: Likewise.
* xstormy16-ibld.c: Likewise.
gas/ChangeLog:
2020-06-04 Jose E. Marchesi <jose.marchesi@oracle.com>
* cgen.c (gas_cgen_finish_insn): Pass the endianness to
cgen_put_insn_value.
(gas_cgen_md_apply_fix): Likewise.
(gas_cgen_md_apply_fix): Likewise.
* config/tc-bpf.c (md_apply_fix): Pass data endianness to
cgen_put_insn_value.
* config/tc-mep.c (mep_check_ivc2_scheduling): Pass endianness to
cgen_put_insn_value.
cpu/ChangeLog:
2020-06-02 Jose E. Marchesi <jose.marchesi@oracle.com>
* mep.opc (print_slot_insn): Pass the insn endianness to
cgen_get_insn_value.
2020-06-04 22:15:53 +08:00
|
|
|
|
2020-06-03 Jose E. Marchesi <jose.marchesi@oracle.com>
|
|
|
|
|
|
|
|
|
|
* cgen-opc.c (cgen_get_insn_value): Get an `endian' argument.
|
|
|
|
|
(cgen_put_insn_value): Likewise.
|
|
|
|
|
(cgen_lookup_insn): Pass endianness to cgen_{get,put}_insn_value.
|
|
|
|
|
* cgen-dis.in (print_insn): Likewise.
|
|
|
|
|
* cgen-ibld.in (insert_1): Likewise.
|
|
|
|
|
(insert_1): Likewise.
|
|
|
|
|
(insert_insn_normal): Likewise.
|
|
|
|
|
(extract_1): Likewise.
|
|
|
|
|
* bpf-dis.c: Regenerate.
|
|
|
|
|
* bpf-ibld.c: Likewise.
|
|
|
|
|
* bpf-ibld.c: Likewise.
|
|
|
|
|
* cgen-dis.in: Likewise.
|
|
|
|
|
* cgen-ibld.in: Likewise.
|
|
|
|
|
* cgen-opc.c: Likewise.
|
|
|
|
|
* epiphany-dis.c: Likewise.
|
|
|
|
|
* epiphany-ibld.c: Likewise.
|
|
|
|
|
* fr30-dis.c: Likewise.
|
|
|
|
|
* fr30-ibld.c: Likewise.
|
|
|
|
|
* frv-dis.c: Likewise.
|
|
|
|
|
* frv-ibld.c: Likewise.
|
|
|
|
|
* ip2k-dis.c: Likewise.
|
|
|
|
|
* ip2k-ibld.c: Likewise.
|
|
|
|
|
* iq2000-dis.c: Likewise.
|
|
|
|
|
* iq2000-ibld.c: Likewise.
|
|
|
|
|
* lm32-dis.c: Likewise.
|
|
|
|
|
* lm32-ibld.c: Likewise.
|
|
|
|
|
* m32c-dis.c: Likewise.
|
|
|
|
|
* m32c-ibld.c: Likewise.
|
|
|
|
|
* m32r-dis.c: Likewise.
|
|
|
|
|
* m32r-ibld.c: Likewise.
|
|
|
|
|
* mep-dis.c: Likewise.
|
|
|
|
|
* mep-ibld.c: Likewise.
|
|
|
|
|
* mt-dis.c: Likewise.
|
|
|
|
|
* mt-ibld.c: Likewise.
|
|
|
|
|
* or1k-dis.c: Likewise.
|
|
|
|
|
* or1k-ibld.c: Likewise.
|
|
|
|
|
* xc16x-dis.c: Likewise.
|
|
|
|
|
* xc16x-ibld.c: Likewise.
|
|
|
|
|
* xstormy16-dis.c: Likewise.
|
|
|
|
|
* xstormy16-ibld.c: Likewise.
|
|
|
|
|
|
2020-06-04 22:14:41 +08:00
|
|
|
|
2020-06-04 Jose E. Marchesi <jemarch@gnu.org>
|
|
|
|
|
|
|
|
|
|
* cgen-dis.in (cpu_desc_list): New field `insn_endian'.
|
|
|
|
|
(print_insn_): Handle instruction endian.
|
|
|
|
|
* bpf-dis.c: Regenerate.
|
|
|
|
|
* bpf-desc.c: Regenerate.
|
|
|
|
|
* epiphany-dis.c: Likewise.
|
|
|
|
|
* epiphany-desc.c: Likewise.
|
|
|
|
|
* fr30-dis.c: Likewise.
|
|
|
|
|
* fr30-desc.c: Likewise.
|
|
|
|
|
* frv-dis.c: Likewise.
|
|
|
|
|
* frv-desc.c: Likewise.
|
|
|
|
|
* ip2k-dis.c: Likewise.
|
|
|
|
|
* ip2k-desc.c: Likewise.
|
|
|
|
|
* iq2000-dis.c: Likewise.
|
|
|
|
|
* iq2000-desc.c: Likewise.
|
|
|
|
|
* lm32-dis.c: Likewise.
|
|
|
|
|
* lm32-desc.c: Likewise.
|
|
|
|
|
* m32c-dis.c: Likewise.
|
|
|
|
|
* m32c-desc.c: Likewise.
|
|
|
|
|
* m32r-dis.c: Likewise.
|
|
|
|
|
* m32r-desc.c: Likewise.
|
|
|
|
|
* mep-dis.c: Likewise.
|
|
|
|
|
* mep-desc.c: Likewise.
|
|
|
|
|
* mt-dis.c: Likewise.
|
|
|
|
|
* mt-desc.c: Likewise.
|
|
|
|
|
* or1k-dis.c: Likewise.
|
|
|
|
|
* or1k-desc.c: Likewise.
|
|
|
|
|
* xc16x-dis.c: Likewise.
|
|
|
|
|
* xc16x-desc.c: Likewise.
|
|
|
|
|
* xstormy16-dis.c: Likewise.
|
|
|
|
|
* xstormy16-desc.c: Likewise.
|
|
|
|
|
|
2020-06-03 22:29:09 +08:00
|
|
|
|
2020-06-03 Nick Clifton <nickc@redhat.com>
|
|
|
|
|
|
|
|
|
|
* po/sr.po: Updated Serbian translation.
|
|
|
|
|
|
2020-06-02 09:44:13 +08:00
|
|
|
|
2020-06-03 Nelson Chu <nelson.chu@sifive.com>
|
|
|
|
|
|
|
|
|
|
* riscv-opc.c (riscv_get_isa_spec_class): Change bfd_boolean to int.
|
|
|
|
|
(riscv_get_priv_spec_class): Likewise.
|
|
|
|
|
|
2020-05-30 10:46:43 +08:00
|
|
|
|
2020-06-01 Alan Modra <amodra@gmail.com>
|
|
|
|
|
|
|
|
|
|
* bpf-desc.c: Regenerate.
|
|
|
|
|
|
2020-05-28 22:53:54 +08:00
|
|
|
|
2020-05-28 Jose E. Marchesi <jose.marchesi@oracle.com>
|
|
|
|
|
David Faust <david.faust@oracle.com>
|
|
|
|
|
|
|
|
|
|
* bpf-desc.c: Regenerate.
|
|
|
|
|
* bpf-opc.h: Likewise.
|
|
|
|
|
* bpf-opc.c: Likewise.
|
|
|
|
|
* bpf-dis.c: Likewise.
|
|
|
|
|
|
2020-05-28 20:37:11 +08:00
|
|
|
|
2020-05-28 Alan Modra <amodra@gmail.com>
|
|
|
|
|
|
|
|
|
|
* nios2-dis.c (nios2_print_insn_arg): Avoid shift left of negative
|
|
|
|
|
values.
|
|
|
|
|
|
2020-05-28 16:06:31 +08:00
|
|
|
|
2020-05-28 Alan Modra <amodra@gmail.com>
|
|
|
|
|
|
|
|
|
|
* ns32k-dis.c (print_insn_arg): Handle d value of 'f' for
|
|
|
|
|
immediates.
|
|
|
|
|
(print_insn_ns32k): Revert last change.
|
|
|
|
|
|
2020-05-28 18:04:27 +08:00
|
|
|
|
2020-05-28 Nick Clifton <nickc@redhat.com>
|
|
|
|
|
|
|
|
|
|
* ns32k-dis.c (print_insn_ns32k): Change the arg_bufs array to
|
|
|
|
|
static.
|
|
|
|
|
|
2020-05-27 14:23:03 +08:00
|
|
|
|
2020-05-26 Sandra Loosemore <sandra@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
Fix extraction of signed constants in nios2 disassembler (again).
|
|
|
|
|
|
|
|
|
|
* nios2-dis.c (nios2_print_insn_arg): Add explicit casts to
|
|
|
|
|
extractions of signed fields.
|
|
|
|
|
|
2020-05-27 00:34:39 +08:00
|
|
|
|
2020-05-26 Stefan Schulze Frielinghaus <stefansf@linux.ibm.com>
|
|
|
|
|
|
|
|
|
|
* s390-opc.txt: Relocate vector load/store instructions with
|
|
|
|
|
additional alignment parameter and change architecture level
|
|
|
|
|
constraint from z14 to z13.
|
|
|
|
|
|
2020-05-20 21:17:29 +08:00
|
|
|
|
2020-05-21 Alan Modra <amodra@gmail.com>
|
|
|
|
|
|
|
|
|
|
* arc-ext.c: Replace "if (x) free (x)" with "free (x)" throughout.
|
|
|
|
|
* sparc-dis.c: Likewise.
|
|
|
|
|
* tic4x-dis.c: Likewise.
|
|
|
|
|
* xtensa-dis.c: Likewise.
|
|
|
|
|
* bpf-desc.c: Regenerate.
|
|
|
|
|
* epiphany-desc.c: Regenerate.
|
|
|
|
|
* fr30-desc.c: Regenerate.
|
|
|
|
|
* frv-desc.c: Regenerate.
|
|
|
|
|
* ip2k-desc.c: Regenerate.
|
|
|
|
|
* iq2000-desc.c: Regenerate.
|
|
|
|
|
* lm32-desc.c: Regenerate.
|
|
|
|
|
* m32c-desc.c: Regenerate.
|
|
|
|
|
* m32r-desc.c: Regenerate.
|
|
|
|
|
* mep-asm.c: Regenerate.
|
|
|
|
|
* mep-desc.c: Regenerate.
|
|
|
|
|
* mt-desc.c: Regenerate.
|
|
|
|
|
* or1k-desc.c: Regenerate.
|
|
|
|
|
* xc16x-desc.c: Regenerate.
|
|
|
|
|
* xstormy16-desc.c: Regenerate.
|
|
|
|
|
|
[PATCH v2 0/9] RISC-V: Support version controling for ISA standard extensions and CSR
1. Remove the -mriscv-isa-version and --with-riscv-isa-version options.
We can still use -march to choose the version for each extensions, so there is
no need to add these.
2. Change the arguments of options from [1p9|1p9p1|...] to [1.9|1.9.1|...].
Unlike the architecture string has specified by spec, ther is no need to do
the same thing for options.
3. Spilt the patches to reduce the burdens of review.
[PATCH 3/7] RISC-V: Support new GAS options and configure options to set ISA versions
to
[PATCH v2 3/9] RISC-V: Support GAS option -misa-spec to set ISA versions
[PATCH v2 4/9] RISC-V: Support configure options to set ISA versions by default.
[PATCH 4/7] RISC-V: Support version checking for CSR according to privilege version.
to
[PATCH v2 5/9] RISC-V: Support version checking for CSR according to privilege spec version.
[PATCH v2 6/9] RISC-V: Support configure option to choose the privilege spec version.
4. Use enum class rather than string to compare the choosen ISA spec in opcodes/riscv-opc.c.
The behavior is same as comparing the choosen privilege spec.
include * opcode/riscv.h: Include "bfd.h" to support bfd_boolean.
(enum riscv_isa_spec_class): New enum class. All supported ISA spec
belong to one of the class
(struct riscv_ext_version): New structure holds version information
for the specific ISA.
* opcode/riscv-opc.h (DECLARE_CSR): There are two version information,
define_version and abort_version. The define_version means which
privilege spec is started to define the CSR, and the abort_version
means which privilege spec is started to abort the CSR. If the CSR is
valid for the newest spec, then the abort_version should be
PRIV_SPEC_CLASS_DRAFT.
(DECLARE_CSR_ALIAS): Same as DECLARE_CSR, but only for the obselete CSR.
* opcode/riscv.h (enum riscv_priv_spec_class): New enum class. Define
the current supported privilege spec versions.
(struct riscv_csr_extra): Add new fields to store more information
about the CSR. We use these information to find the suitable CSR
address when user choosing a specific privilege spec.
binutils * dwarf.c: Updated since DECLARE_CSR is changed.
opcodes * riscv-opc.c (riscv_ext_version_table): The table used to store
all information about the supported spec and the corresponding ISA
versions. Currently, only Zicsr is supported to verify the
correctness of Z sub extension settings. Others will be supported
in the future patches.
(struct isa_spec_t, isa_specs): List for all supported ISA spec
classes and the corresponding strings.
(riscv_get_isa_spec_class): New function. Get the corresponding ISA
spec class by giving a ISA spec string.
* riscv-opc.c (struct priv_spec_t): New structure.
(struct priv_spec_t priv_specs): List for all supported privilege spec
classes and the corresponding strings.
(riscv_get_priv_spec_class): New function. Get the corresponding
privilege spec class by giving a spec string.
(riscv_get_priv_spec_name): New function. Get the corresponding
privilege spec string by giving a CSR version class.
* riscv-dis.c: Updated since DECLARE_CSR is changed.
* riscv-dis.c: Add new disassembler option -Mpriv-spec to dump the CSR
according to the chosen version. Build a hash table riscv_csr_hash to
store the valid CSR for the chosen pirv verison. Dump the direct
CSR address rather than it's name if it is invalid.
(parse_riscv_dis_option_without_args): New function. Parse the options
without arguments.
(parse_riscv_dis_option): Call parse_riscv_dis_option_without_args to
parse the options without arguments first, and then handle the options
with arguments. Add the new option -Mpriv-spec, which has argument.
* riscv-dis.c (print_riscv_disassembler_options): Add description
about the new OBJDUMP option.
ld * testsuite/ld-riscv-elf/attr-merge-arch-01.d: Updated
priv attributes according to the -mpriv-spec option.
* testsuite/ld-riscv-elf/attr-merge-arch-02.d: Likewise.
* testsuite/ld-riscv-elf/attr-merge-arch-03.d: Likewise.
* testsuite/ld-riscv-elf/attr-merge-priv-spec-a.s: Likewise.
* testsuite/ld-riscv-elf/attr-merge-priv-spec-b.s: Likewise.
* testsuite/ld-riscv-elf/attr-merge-priv-spec.d: Likewise.
* testsuite/ld-riscv-elf/attr-merge-stack-align.d: Likewise.
* testsuite/ld-riscv-elf/attr-merge-strict-align-01.d: Likewise.
* testsuite/ld-riscv-elf/attr-merge-strict-align-02.d: Likewise.
* testsuite/ld-riscv-elf/attr-merge-strict-align-03.d: Likewise.
* testsuite/ld-riscv-elf/attr-merge-strict-align-04.d: Likewise.
* testsuite/ld-riscv-elf/attr-merge-strict-align-05.d: Likewise.
bfd * elfxx-riscv.h (riscv_parse_subset_t): Add new callback function
get_default_version. It is used to find the default version for
the specific extension.
* elfxx-riscv.c (riscv_parsing_subset_version): Remove the parameters
default_major_version and default_minor_version. Add new bfd_boolean
parameter *use_default_version. Set it to TRUE if we need to call
the callback rps->get_default_version to find the default version.
(riscv_parse_std_ext): Call rps->get_default_version if we fail to find
the default version in riscv_parsing_subset_version, and then call
riscv_add_subset to add the subset into subset list.
(riscv_parse_prefixed_ext): Likewise.
(riscv_std_z_ext_strtab): Support Zicsr extensions.
* elfnn-riscv.c (riscv_merge_std_ext): Use strcasecmp to compare the
strings rather than characters.
riscv_merge_arch_attr_info): The callback function get_default_version
is only needed for assembler, so set it to NULL int the linker.
* elfxx-riscv.c (riscv_estimate_digit): Remove the static.
* elfxx-riscv.h: Updated.
gas * testsuite/gas/riscv/priv-reg-fail-read-only-01.s: Updated.
* config/tc-riscv.c (default_arch_with_ext, default_isa_spec):
Static variables which are used to set the ISA extensions. You can
use -march (or ELF build attributes) and -misa-spec to set them,
respectively.
(ext_version_hash): The hash table used to handle the extensions
with versions.
(init_ext_version_hash): Initialize the ext_version_hash according
to riscv_ext_version_table.
(riscv_get_default_ext_version): The callback function of
riscv_parse_subset_t. According to the choosed ISA spec,
get the default version for the specific extension.
(riscv_set_arch): Set the callback function.
(enum options, struct option md_longopts): Add new option -misa-spec.
(md_parse_option): Do not call riscv_set_arch for -march. We will
call it later in riscv_after_parse_args. Call riscv_get_isa_spec_class
to set default_isa_spec class.
(riscv_after_parse_args): Call init_ext_version_hash to initialize the
ext_version_hash, and then call riscv_set_arch to set the architecture
with versions according to default_arch_with_ext.
* testsuite/gas/riscv/attribute-02.d: Set 0p0 as default version for
x extensions.
* testsuite/gas/riscv/attribute-03.d: Likewise.
* testsuite/gas/riscv/attribute-09.d: New testcase. For i-ext, we
already set it's version to 2p1 by march, so no need to use the default
2p2 version. For m-ext, we do not set the version by -march and ELF arch
attribute, so set the default 2p0 to it. For zicsr, it is not defined in
ISA spec 2p2, so set 0p0 to it.
* testsuite/gas/riscv/attribute-10.d: New testcase. The version of
zicsr is 2p0 according to ISA spec 20191213.
* config/tc-riscv.c (DEFAULT_RISCV_ARCH_WITH_EXT)
(DEFAULT_RISCV_ISA_SPEC): Default configure option settings.
You can set them by configure options --with-arch and
--with-isa-spec, respectively.
(riscv_set_default_isa_spec): New function used to set the
default ISA spec.
(md_parse_option): Call riscv_set_default_isa_spec rather than
call riscv_get_isa_spec_class directly.
(riscv_after_parse_args): If the -isa-spec is not set, then we
set the default ISA spec according to DEFAULT_RISCV_ISA_SPEC by
calling riscv_set_default_isa_spec.
* testsuite/gas/riscv/attribute-01.d: Add -misa-spec=2.2, since
the --with-isa-spec may be set to different ISA spec.
* testsuite/gas/riscv/attribute-02.d: Likewise.
* testsuite/gas/riscv/attribute-03.d: Likewise.
* testsuite/gas/riscv/attribute-04.d: Likewise.
* testsuite/gas/riscv/attribute-05.d: Likewise.
* testsuite/gas/riscv/attribute-06.d: Likewise.
* testsuite/gas/riscv/attribute-07.d: Likewise.
* configure.ac: Add configure options, --with-arch and
--with-isa-spec.
* configure: Regenerated.
* config.in: Regenerated.
* config/tc-riscv.c (default_priv_spec): Static variable which is
used to check if the CSR is valid for the chosen privilege spec. You
can use -mpriv-spec to set it.
(enum reg_class): We now get the CSR address from csr_extra_hash rather
than reg_names_hash. Therefore, move RCLASS_CSR behind RCLASS_MAX.
(riscv_init_csr_hashes): Only need to initialize one hash table
csr_extra_hash.
(riscv_csr_class_check): Change the return type to void. Don't check
the ISA dependency if -mcsr-check isn't set.
(riscv_csr_version_check): New function. Check and find the CSR address
from csr_extra_hash, according to default_priv_spec. Report warning
for the invalid CSR if -mcsr-check is set.
(reg_csr_lookup_internal): Updated.
(reg_lookup_internal): Likewise.
(md_begin): Updated since DECLARE_CSR and DECLARE_CSR_ALIAS are changed.
(enum options, struct option md_longopts): Add new GAS option -mpriv-spec.
(md_parse_option): Call riscv_set_default_priv_version to set
default_priv_spec.
(riscv_after_parse_args): If -mpriv-spec isn't set, then set the default
privilege spec to the newest one.
(enum riscv_csr_class, struct riscv_csr_extra): Move them to
include/opcode/riscv.h.
* testsuite/gas/riscv/priv-reg-fail-fext.d: This test case just want
to check the ISA dependency for CSR, so fix the spec version by adding
-mpriv-spec=1.11.
* testsuite/gas/riscv/priv-reg-fail-fext.l: Likewise. There are some
version warnings for the test case.
* gas/testsuite/gas/riscv/priv-reg-fail-read-only-01.d: Likewise.
* gas/testsuite/gas/riscv/priv-reg-fail-read-only-01.l: Likewise.
* gas/testsuite/gas/riscv/priv-reg-fail-read-only-02.d: Likewise.
* gas/testsuite/gas/riscv/priv-reg-fail-rv32-only.d: Likewise.
* gas/testsuite/gas/riscv/priv-reg-fail-rv32-only.l: Likewise.
* gas/testsuite/gas/riscv/priv-reg-fail-version-1p9.d: New test case.
Check whether the CSR is valid when privilege version 1.9 is choosed.
* gas/testsuite/gas/riscv/priv-reg-fail-version-1p9.l: Likewise.
* gas/testsuite/gas/riscv/priv-reg-fail-version-1p9p1.d: New test case.
Check whether the CSR is valid when privilege version 1.9.1 is choosed.
* gas/testsuite/gas/riscv/priv-reg-fail-version-1p9p1.l: Likewise.
* gas/testsuite/gas/riscv/priv-reg-fail-version-1p10.d: New test case.
Check whether the CSR is valid when privilege version 1.10 is choosed.
* gas/testsuite/gas/riscv/priv-reg-fail-version-1p10.l: Likewise.
* gas/testsuite/gas/riscv/priv-reg-fail-version-1p11.d: New test case.
Check whether the CSR is valid when privilege version 1.11 is choosed.
* gas/testsuite/gas/riscv/priv-reg-fail-version-1p11.l: Likewise.
* config/tc-riscv.c (DEFAULT_RISCV_ISA_SPEC): Default configure option
setting. You can set it by configure option --with-priv-spec.
(riscv_set_default_priv_spec): New function used to set the default
privilege spec.
(md_parse_option): Call riscv_set_default_priv_spec rather than
call riscv_get_priv_spec_class directly.
(riscv_after_parse_args): If -mpriv-spec isn't set, then we set the
default privilege spec according to DEFAULT_RISCV_PRIV_SPEC by
calling riscv_set_default_priv_spec.
* testsuite/gas/riscv/csr-dw-regnums.d: Add -mpriv-spec=1.11, since
the --with-priv-spec may be set to different privilege spec.
* testsuite/gas/riscv/priv-reg.d: Likewise.
* configure.ac: Add configure option --with-priv-spec.
* configure: Regenerated.
* config.in: Regenerated.
* config/tc-riscv.c (explicit_attr): Rename explicit_arch_attr to
explicit_attr. Set it to TRUE if any ELF attribute is found.
(riscv_set_default_priv_spec): Try to set the default_priv_spec if
the priv attributes are set.
(md_assemble): Set the default_priv_spec according to the priv
attributes when we start to assemble instruction.
(riscv_write_out_attrs): Rename riscv_write_out_arch_attr to
riscv_write_out_attrs. Update the arch and priv attributes. If we
don't set the corresponding ELF attributes, then try to output the
default ones.
(riscv_set_public_attributes): If any ELF attribute or -march-attr
options is set (explicit_attr is TRUE), then call riscv_write_out_attrs
to update the arch and priv attributes.
(s_riscv_attribute): Make sure all arch and priv attributes are set
before any instruction.
* testsuite/gas/riscv/attribute-01.d: Update the priv attributes if any
ELF attribute or -march-attr is set. If the priv attributes are not
set, then try to update them by the default setting (-mpriv-spec or
--with-priv-spec).
* testsuite/gas/riscv/attribute-02.d: Likewise.
* testsuite/gas/riscv/attribute-03.d: Likewise.
* testsuite/gas/riscv/attribute-04.d: Likewise.
* testsuite/gas/riscv/attribute-06.d: Likewise.
* testsuite/gas/riscv/attribute-07.d: Likewise.
* testsuite/gas/riscv/attribute-08.d: Likewise.
* testsuite/gas/riscv/attribute-09.d: Likewise.
* testsuite/gas/riscv/attribute-10.d: Likewise.
* testsuite/gas/riscv/attribute-unknown.d: Likewise.
* testsuite/gas/riscv/attribute-05.d: Likewise. Also, the priv spec
set by priv attributes must be supported.
* testsuite/gas/riscv/attribute-05.s: Likewise.
* testsuite/gas/riscv/priv-reg-fail-version-1p9.d: Likewise. Updated
priv attributes according to the -mpriv-spec option.
* testsuite/gas/riscv/priv-reg-fail-version-1p9p1.d: Likewise.
* testsuite/gas/riscv/priv-reg-fail-version-1p10.d: Likewise.
* testsuite/gas/riscv/priv-reg-fail-version-1p11.d: Likewise.
* testsuite/gas/riscv/priv-reg.d: Removed.
* testsuite/gas/riscv/priv-reg-version-1p9.d: New test case. Dump the
CSR according to the priv spec 1.9.
* testsuite/gas/riscv/priv-reg-version-1p9p1.d: New test case. Dump the
CSR according to the priv spec 1.9.1.
* testsuite/gas/riscv/priv-reg-version-1p10.d: New test case. Dump the
CSR according to the priv spec 1.10.
* testsuite/gas/riscv/priv-reg-version-1p11.d: New test case. Dump the
CSR according to the priv spec 1.11.
* config/tc-riscv.c (md_show_usage): Add descriptions about
the new GAS options.
* doc/c-riscv.texi: Likewise.
2020-05-21 00:22:48 +08:00
|
|
|
|
2020-05-20 Nelson Chu <nelson.chu@sifive.com>
|
|
|
|
|
|
|
|
|
|
* riscv-opc.c (riscv_ext_version_table): The table used to store
|
|
|
|
|
all information about the supported spec and the corresponding ISA
|
|
|
|
|
versions. Currently, only Zicsr is supported to verify the
|
|
|
|
|
correctness of Z sub extension settings. Others will be supported
|
|
|
|
|
in the future patches.
|
|
|
|
|
(struct isa_spec_t, isa_specs): List for all supported ISA spec
|
|
|
|
|
classes and the corresponding strings.
|
|
|
|
|
(riscv_get_isa_spec_class): New function. Get the corresponding ISA
|
|
|
|
|
spec class by giving a ISA spec string.
|
|
|
|
|
* riscv-opc.c (struct priv_spec_t): New structure.
|
|
|
|
|
(struct priv_spec_t priv_specs): List for all supported privilege spec
|
|
|
|
|
classes and the corresponding strings.
|
|
|
|
|
(riscv_get_priv_spec_class): New function. Get the corresponding
|
|
|
|
|
privilege spec class by giving a spec string.
|
|
|
|
|
(riscv_get_priv_spec_name): New function. Get the corresponding
|
|
|
|
|
privilege spec string by giving a CSR version class.
|
|
|
|
|
* riscv-dis.c: Updated since DECLARE_CSR is changed.
|
|
|
|
|
* riscv-dis.c: Add new disassembler option -Mpriv-spec to dump the CSR
|
|
|
|
|
according to the chosen version. Build a hash table riscv_csr_hash to
|
|
|
|
|
store the valid CSR for the chosen pirv verison. Dump the direct
|
|
|
|
|
CSR address rather than it's name if it is invalid.
|
|
|
|
|
(parse_riscv_dis_option_without_args): New function. Parse the options
|
|
|
|
|
without arguments.
|
|
|
|
|
(parse_riscv_dis_option): Call parse_riscv_dis_option_without_args to
|
|
|
|
|
parse the options without arguments first, and then handle the options
|
|
|
|
|
with arguments. Add the new option -Mpriv-spec, which has argument.
|
|
|
|
|
* riscv-dis.c (print_riscv_disassembler_options): Add description
|
|
|
|
|
about the new OBJDUMP option.
|
|
|
|
|
|
Power10 dcbf, sync, and wait extensions.
opcodes/
* ppc-opc.c (insert_ls, extract_ls): Handle 3-bit L fields and new
WC values on POWER10 sync, dcbf and wait instructions.
(insert_pl, extract_pl): New functions.
(L2OPT, LS, WC): Use insert_ls and extract_ls.
(LS3): New , 3-bit L for sync.
(LS3, L3OPT): New, 3-bit L for sync and dcbf.
(SC2, PL): New, 2-bit SC and PL for sync and wait.
(XWCPL_MASK, XL3RT_MASK, XSYNCLS_MASK): New instruction masks.
(XOPL3, XWCPL, XSYNCLS): New opcode macros.
(powerpc_opcodes) <dcbflp, dcbfps, dcbstps pause_short, phwsync,
plwsync, stcisync, stncisync, stsync, waitrsv>: New extended mnemonics.
<wait>: Enable PL operand on POWER10.
<dcbf>: Enable L3OPT operand on POWER10.
<sync>: Enable SC2 operand on POWER10.
gas/
* testsuite/gas/ppc/power9.s <dcbf, dcbfl, dcbflp>: Add tests.
* testsuite/gas/ppc/power9.d: Likewise.
* testsuite/gas/ppc/power10.s <dcbf, dcbfps, dcbstps, hwsync, lwsync,
pause_short, phwsync, plwsync, ptesync, stcisync, stncisync, stsync,
sync, wait, waitrsv>: Add tests.
* testsuite/gas/ppc/power10.d: Likewise.
2020-05-20 07:09:51 +08:00
|
|
|
|
2020-05-19 Peter Bergner <bergner@linux.ibm.com>
|
|
|
|
|
|
|
|
|
|
* ppc-opc.c (insert_ls, extract_ls): Handle 3-bit L fields and new
|
|
|
|
|
WC values on POWER10 sync, dcbf and wait instructions.
|
|
|
|
|
(insert_pl, extract_pl): New functions.
|
|
|
|
|
(L2OPT, LS, WC): Use insert_ls and extract_ls.
|
|
|
|
|
(LS3): New , 3-bit L for sync.
|
|
|
|
|
(LS3, L3OPT): New, 3-bit L for sync and dcbf.
|
|
|
|
|
(SC2, PL): New, 2-bit SC and PL for sync and wait.
|
|
|
|
|
(XWCPL_MASK, XL3RT_MASK, XSYNCLS_MASK): New instruction masks.
|
|
|
|
|
(XOPL3, XWCPL, XSYNCLS): New opcode macros.
|
|
|
|
|
(powerpc_opcodes) <dcbflp, dcbfps, dcbstps pause_short, phwsync,
|
|
|
|
|
plwsync, stcisync, stncisync, stsync, waitrsv>: New extended mnemonics.
|
|
|
|
|
<wait>: Enable PL operand on POWER10.
|
|
|
|
|
<dcbf>: Enable L3OPT operand on POWER10.
|
|
|
|
|
<sync>: Enable SC2 operand on POWER10.
|
|
|
|
|
|
2020-05-19 19:40:27 +08:00
|
|
|
|
2020-05-19 Stafford Horne <shorne@gmail.com>
|
|
|
|
|
|
|
|
|
|
PR 25184
|
|
|
|
|
* or1k-asm.c: Regenerate.
|
|
|
|
|
* or1k-desc.c: Regenerate.
|
|
|
|
|
* or1k-desc.h: Regenerate.
|
|
|
|
|
* or1k-dis.c: Regenerate.
|
|
|
|
|
* or1k-ibld.c: Regenerate.
|
|
|
|
|
* or1k-opc.c: Regenerate.
|
|
|
|
|
* or1k-opc.h: Regenerate.
|
|
|
|
|
* or1k-opinst.c: Regenerate.
|
|
|
|
|
|
2020-05-11 08:19:29 +08:00
|
|
|
|
2020-05-11 Alan Modra <amodra@gmail.com>
|
|
|
|
|
|
|
|
|
|
* ppc-opc (powerpc_opcodes): Add xscmpeqqp, xscmpgeqp, xscmpgtqp,
|
|
|
|
|
xsmaxcqp, xsmincqp.
|
|
|
|
|
|
2020-05-11 08:18:29 +08:00
|
|
|
|
2020-05-11 Alan Modra <amodra@gmail.com>
|
|
|
|
|
|
|
|
|
|
* ppc-opc.c (powerpc_opcodes): Add lxvrbx, lxvrhx, lxvrwx, lxvrdx,
|
|
|
|
|
stxvrbx, stxvrhx, stxvrwx, stxvrdx.
|
|
|
|
|
|
2020-05-11 08:17:38 +08:00
|
|
|
|
2020-05-11 Alan Modra <amodra@gmail.com>
|
|
|
|
|
|
|
|
|
|
* ppc-opc.c (powerpc_opcodes): Add xvtlsbb.
|
|
|
|
|
|
Power10 string operations
opcodes/
* ppc-opc.c (powerpc_opcodes): Add vstribl, vstribr, vstrihl, vstrihr,
vclrlb, vclrrb, vstribl., vstribr., vstrihl., vstrihr..
gas/
* testsuite/gas/ppc/stringop.d,
* testsuite/gas/ppc/stringop.s: New test.
* testsuite/gas/ppc/ppc.exp: Run it.
2020-05-11 08:16:45 +08:00
|
|
|
|
2020-05-11 Alan Modra <amodra@gmail.com>
|
|
|
|
|
|
|
|
|
|
* ppc-opc.c (powerpc_opcodes): Add vstribl, vstribr, vstrihl, vstrihr,
|
|
|
|
|
vclrlb, vclrrb, vstribl., vstribr., vstrihl., vstrihr..
|
|
|
|
|
|
2020-05-11 08:15:42 +08:00
|
|
|
|
2020-05-11 Peter Bergner <bergner@linux.ibm.com>
|
|
|
|
|
|
|
|
|
|
* ppc-opc.c (powerpc_opcodes) <setbc, setbcr, setnbc, setnbcr>: New
|
|
|
|
|
mnemonics.
|
|
|
|
|
|
Power10 bit manipulation operations
opcodes/
* ppc-opc.c (UIM8, P_U8XX4_MASK): Define.
(powerpc_opcodes): Add vgnb, vcfuged, vpextd, vpdepd, vclzdm,
vctzdm, cntlzdm, pdepd, pextd, cfuged, cnttzdm.
(prefix_opcodes): Add xxeval.
gas/
* testsuite/gas/ppc/bitmanip.d,
* testsuite/gas/ppc/bitmanip.s: New test.
* testsuite/gas/ppc/ppc.exp: Run it.
2020-05-11 08:14:25 +08:00
|
|
|
|
2020-05-11 Alan Modra <amodra@gmail.com>
|
|
|
|
|
|
|
|
|
|
* ppc-opc.c (UIM8, P_U8XX4_MASK): Define.
|
|
|
|
|
(powerpc_opcodes): Add vgnb, vcfuged, vpextd, vpdepd, vclzdm,
|
|
|
|
|
vctzdm, cntlzdm, pdepd, pextd, cfuged, cnttzdm.
|
|
|
|
|
(prefix_opcodes): Add xxeval.
|
|
|
|
|
|
2020-05-11 08:13:15 +08:00
|
|
|
|
2020-05-11 Alan Modra <amodra@gmail.com>
|
|
|
|
|
|
|
|
|
|
* ppc-opc.c (powerpc_opcodes): Add xxgenpcvbm, xxgenpcvhm,
|
|
|
|
|
xxgenpcvwm, xxgenpcvdm.
|
|
|
|
|
|
Power10 VSX Mask Manipulation Operations
opcodes/
* ppc-opc.c (MP, VXVAM_MASK): Define.
(VXVAPS_MASK): Use VXVA_MASK.
(powerpc_opcodes): Add mtvsrbmi, vexpandbm, vexpandhm, vexpandwm,
vexpanddm, vexpandqm, vextractbm, vextracthm, vextractwm,
vextractdm, vextractqm, mtvsrbm, mtvsrhm, mtvsrwm, mtvsrdm, mtvsrqm,
vcntmbb, vcntmbh, vcntmbw, vcntmbd.
gas/
* testsuite/gas/ppc/maskmanip.d,
* testsuite/gas/ppc/maskmanip.s: New test.
* testsuite/gas/ppc/ppc.exp: Run it.
2020-05-11 08:11:57 +08:00
|
|
|
|
2020-05-11 Alan Modra <amodra@gmail.com>
|
|
|
|
|
|
|
|
|
|
* ppc-opc.c (MP, VXVAM_MASK): Define.
|
|
|
|
|
(VXVAPS_MASK): Use VXVA_MASK.
|
|
|
|
|
(powerpc_opcodes): Add mtvsrbmi, vexpandbm, vexpandhm, vexpandwm,
|
|
|
|
|
vexpanddm, vexpandqm, vextractbm, vextracthm, vextractwm,
|
|
|
|
|
vextractdm, vextractqm, mtvsrbm, mtvsrhm, mtvsrwm, mtvsrdm, mtvsrqm,
|
|
|
|
|
vcntmbb, vcntmbh, vcntmbw, vcntmbd.
|
|
|
|
|
|
Power10 Reduced precision outer product operations
include/
* opcode/ppc.h (PPC_OPERAND_ACC): Define. Renumber following
PPC_OPERAND defines.
opcodes/
* ppc-opc.c (insert_xa6a, extract_xa6a, insert_xb6a, extract_xb6a):
New functions.
(powerpc_operands): Define ACC, PMSK8, PMSK4, PMSK2, XMSK, YMSK,
YMSK2, XA6a, XA6ap, XB6a entries.
(PMMIRR, P_X_MASK, P_XX1_MASK, P_GER_MASK): Define
(P_GER2_MASK, P_GER4_MASK, P_GER8_MASK, P_GER64_MASK): Define.
(PPCVSX4): Define.
(powerpc_opcodes): Add xxmfacc, xxmtacc, xxsetaccz,
xvi8ger4pp, xvi8ger4, xvf16ger2pp, xvf16ger2, xvf32gerpp, xvf32ger,
xvi4ger8pp, xvi4ger8, xvi16ger2spp, xvi16ger2s, xvbf16ger2pp,
xvbf16ger2, xvf64gerpp, xvf64ger, xvi16ger2, xvf16ger2np,
xvf32gernp, xvi8ger4spp, xvi16ger2pp, xvbf16ger2np, xvf64gernp,
xvf16ger2pn, xvf32gerpn, xvbf16ger2pn, xvf64gerpn, xvf16ger2nn,
xvf32gernn, xvbf16ger2nn, xvf64gernn, xvcvbf16sp, xvcvspbf16.
(prefix_opcodes): Add pmxvi8ger4pp, pmxvi8ger4, pmxvf16ger2pp,
pmxvf16ger2, pmxvf32gerpp, pmxvf32ger, pmxvi4ger8pp, pmxvi4ger8,
pmxvi16ger2spp, pmxvi16ger2s, pmxvbf16ger2pp, pmxvbf16ger2,
pmxvf64gerpp, pmxvf64ger, pmxvi16ger2, pmxvf16ger2np, pmxvf32gernp,
pmxvi8ger4spp, pmxvi16ger2pp, pmxvbf16ger2np, pmxvf64gernp,
pmxvf16ger2pn, pmxvf32gerpn, pmxvbf16ger2pn, pmxvf64gerpn,
pmxvf16ger2nn, pmxvf32gernn, pmxvbf16ger2nn, pmxvf64gernn.
gas/
* config/tc-ppc.c (pre_defined_registers): Add accumulators.
(md_assemble): Check acc specified in correct operand.
* testsuite/gas/ppc/outerprod.d,
* testsuite/gas/ppc/outerprod.s,
* testsuite/gas/ppc/vsx4.d,
* testsuite/gas/ppc/vsx4.s: New tests.
* testsuite/gas/ppc/ppc.exp: Run them.
2020-05-11 08:10:42 +08:00
|
|
|
|
2020-05-11 Alan Modra <amodra@gmail.com>
|
|
|
|
|
Peter Bergner <bergner@linux.ibm.com>
|
|
|
|
|
|
|
|
|
|
* ppc-opc.c (insert_xa6a, extract_xa6a, insert_xb6a, extract_xb6a):
|
|
|
|
|
New functions.
|
|
|
|
|
(powerpc_operands): Define ACC, PMSK8, PMSK4, PMSK2, XMSK, YMSK,
|
|
|
|
|
YMSK2, XA6a, XA6ap, XB6a entries.
|
|
|
|
|
(PMMIRR, P_X_MASK, P_XX1_MASK, P_GER_MASK): Define
|
|
|
|
|
(P_GER2_MASK, P_GER4_MASK, P_GER8_MASK, P_GER64_MASK): Define.
|
|
|
|
|
(PPCVSX4): Define.
|
|
|
|
|
(powerpc_opcodes): Add xxmfacc, xxmtacc, xxsetaccz,
|
|
|
|
|
xvi8ger4pp, xvi8ger4, xvf16ger2pp, xvf16ger2, xvf32gerpp, xvf32ger,
|
|
|
|
|
xvi4ger8pp, xvi4ger8, xvi16ger2spp, xvi16ger2s, xvbf16ger2pp,
|
|
|
|
|
xvbf16ger2, xvf64gerpp, xvf64ger, xvi16ger2, xvf16ger2np,
|
|
|
|
|
xvf32gernp, xvi8ger4spp, xvi16ger2pp, xvbf16ger2np, xvf64gernp,
|
|
|
|
|
xvf16ger2pn, xvf32gerpn, xvbf16ger2pn, xvf64gerpn, xvf16ger2nn,
|
|
|
|
|
xvf32gernn, xvbf16ger2nn, xvf64gernn, xvcvbf16sp, xvcvspbf16.
|
|
|
|
|
(prefix_opcodes): Add pmxvi8ger4pp, pmxvi8ger4, pmxvf16ger2pp,
|
|
|
|
|
pmxvf16ger2, pmxvf32gerpp, pmxvf32ger, pmxvi4ger8pp, pmxvi4ger8,
|
|
|
|
|
pmxvi16ger2spp, pmxvi16ger2s, pmxvbf16ger2pp, pmxvbf16ger2,
|
|
|
|
|
pmxvf64gerpp, pmxvf64ger, pmxvi16ger2, pmxvf16ger2np, pmxvf32gernp,
|
|
|
|
|
pmxvi8ger4spp, pmxvi16ger2pp, pmxvbf16ger2np, pmxvf64gernp,
|
|
|
|
|
pmxvf16ger2pn, pmxvf32gerpn, pmxvbf16ger2pn, pmxvf64gerpn,
|
|
|
|
|
pmxvf16ger2nn, pmxvf32gernn, pmxvbf16ger2nn, pmxvf64gernn.
|
|
|
|
|
|
Power10 SIMD permute class operations
opcodes/
* ppc-opc.c (insert_imm32, extract_imm32): New functions.
(insert_xts, extract_xts): New functions.
(IMM32, UIM3, IX, UIM5, SH3, XTS, P8RR): Define.
(P_XX4_MASK, P_UXX4_MASK, VSOP, P_VS_MASK, P_VSI_MASK): Define.
(VXRC_MASK, VXSH_MASK): Define.
(powerpc_opcodes): Add vinsbvlx, vsldbi, vextdubvlx, vextdubvrx,
vextduhvlx, vextduhvrx, vextduwvlx, vextduwvrx, vextddvlx,
vextddvrx, vinshvlx, vinswvlx, vinsw, vinsbvrx, vinshvrx,
vinswvrx, vinsd, vinsblx, vsrdbi, vinshlx, vinswlx, vinsdlx,
vinsbrx, vinshrx, vinswrx, vinsdrx, lxvkq.
(prefix_opcodes): Add xxsplti32dx, xxspltidp, xxspltiw, xxblendvb,
xxblendvh, xxblendvw, xxblendvd, xxpermx.
gas/
* testsuite/gas/ppc/simd_perm.d,
* testsuite/gas/ppc/simd_perm.s: New test.
* testsuite/gas/ppc/ppc.exp: Run it.
2020-05-11 08:07:14 +08:00
|
|
|
|
2020-05-11 Alan Modra <amodra@gmail.com>
|
|
|
|
|
|
|
|
|
|
* ppc-opc.c (insert_imm32, extract_imm32): New functions.
|
|
|
|
|
(insert_xts, extract_xts): New functions.
|
|
|
|
|
(IMM32, UIM3, IX, UIM5, SH3, XTS, P8RR): Define.
|
|
|
|
|
(P_XX4_MASK, P_UXX4_MASK, VSOP, P_VS_MASK, P_VSI_MASK): Define.
|
|
|
|
|
(VXRC_MASK, VXSH_MASK): Define.
|
|
|
|
|
(powerpc_opcodes): Add vinsbvlx, vsldbi, vextdubvlx, vextdubvrx,
|
|
|
|
|
vextduhvlx, vextduhvrx, vextduwvlx, vextduwvrx, vextddvlx,
|
|
|
|
|
vextddvrx, vinshvlx, vinswvlx, vinsw, vinsbvrx, vinshvrx,
|
|
|
|
|
vinswvrx, vinsd, vinsblx, vsrdbi, vinshlx, vinswlx, vinsdlx,
|
|
|
|
|
vinsbrx, vinshrx, vinswrx, vinsdrx, lxvkq.
|
|
|
|
|
(prefix_opcodes): Add xxsplti32dx, xxspltidp, xxspltiw, xxblendvb,
|
|
|
|
|
xxblendvh, xxblendvw, xxblendvd, xxpermx.
|
|
|
|
|
|
Power10 128-bit binary integer operations
opcodes/
* ppc-opc.c (powerpc_opcodes): Add vrlq, vdivuq, vmsumcud, vrlqmi,
vmuloud, vcmpuq, vslq, vdivsq, vcmpsq, vrlqnm, vcmpequq, vmulosd,
vsrq, vdiveuq, vcmpgtuq, vmuleud, vsraq, vdivesq, vcmpgtsq, vmulesd,
vcmpequq., vextsd2q, vmoduq, vcmpgtuq., vmodsq, vcmpgtsq., xscvqpuqz,
xscvuqqp, xscvqpsqz, xscvsqqp, dcffixqq, dctfixqq.
gas/
* testsuite/gas/ppc/int128.d,
* testsuite/gas/ppc/int128.s: New test.
* testsuite/gas/ppc/ppc.exp: Run it.
2020-05-11 08:06:11 +08:00
|
|
|
|
2020-05-11 Alan Modra <amodra@gmail.com>
|
|
|
|
|
|
|
|
|
|
* ppc-opc.c (powerpc_opcodes): Add vrlq, vdivuq, vmsumcud, vrlqmi,
|
|
|
|
|
vmuloud, vcmpuq, vslq, vdivsq, vcmpsq, vrlqnm, vcmpequq, vmulosd,
|
|
|
|
|
vsrq, vdiveuq, vcmpgtuq, vmuleud, vsraq, vdivesq, vcmpgtsq, vmulesd,
|
|
|
|
|
vcmpequq., vextsd2q, vmoduq, vcmpgtuq., vmodsq, vcmpgtsq., xscvqpuqz,
|
|
|
|
|
xscvuqqp, xscvqpsqz, xscvsqqp, dcffixqq, dctfixqq.
|
|
|
|
|
|
2020-05-11 08:04:49 +08:00
|
|
|
|
2020-05-11 Alan Modra <amodra@gmail.com>
|
|
|
|
|
|
|
|
|
|
* ppc-opc.c (insert_xtp, extract_xtp): New functions.
|
|
|
|
|
(XTP, DQXP, DQXP_MASK): Define.
|
|
|
|
|
(powerpc_opcodes): Add lxvp, stxvp, lxvpx, stxvpx.
|
|
|
|
|
(prefix_opcodes): Add plxvp and pstxvp.
|
|
|
|
|
|
Power10 vector integer multiply, divide, modulo insns
opcodes/
* ppc-opc.c (powerpc_opcodes): Add vdivuw, vdivud, vdivsw, vmulld,
vdivsd, vmulhuw, vdiveuw, vmulhud, vdiveud, vmulhsw, vdivesw,
vmulhsd, vdivesd, vmoduw, vmodud, vmodsw, vmodsd.
gas/
* testsuite/gas/ppc/vec_mul.s,
* testsuite/gas/ppc/vec_mul.d: New test.
* testsuite/gas/ppc/ppc.exp: Run it.
2020-05-11 08:02:56 +08:00
|
|
|
|
2020-05-11 Alan Modra <amodra@gmail.com>
|
|
|
|
|
|
|
|
|
|
* ppc-opc.c (powerpc_opcodes): Add vdivuw, vdivud, vdivsw, vmulld,
|
|
|
|
|
vdivsd, vmulhuw, vdiveuw, vmulhud, vdiveud, vmulhsw, vdivesw,
|
|
|
|
|
vmulhsd, vdivesd, vmoduw, vmodud, vmodsw, vmodsd.
|
|
|
|
|
|
2020-05-11 08:01:40 +08:00
|
|
|
|
2020-05-11 Peter Bergner <bergner@linux.ibm.com>
|
|
|
|
|
|
|
|
|
|
* ppc-opc.c (powerpc_opcodes) <brd, brh, brw>: New mnemonics.
|
|
|
|
|
|
2020-05-11 08:00:19 +08:00
|
|
|
|
2020-05-11 Peter Bergner <bergner@linux.ibm.com>
|
|
|
|
|
|
|
|
|
|
* ppc-opc.c (insert_l1opt, extract_l1opt): New functions.
|
|
|
|
|
(L1OPT): Define.
|
|
|
|
|
(powerpc_opcodes) <paste.>: Add L operand for cpu POWER10.
|
|
|
|
|
|
2020-05-11 07:57:48 +08:00
|
|
|
|
2020-05-11 Peter Bergner <bergner@linux.ibm.com>
|
|
|
|
|
|
|
|
|
|
* ppc-opc.c (powerpc_opcodes) <slbiag>: Add variant with L operand.
|
|
|
|
|
|
2020-05-11 07:55:30 +08:00
|
|
|
|
2020-05-11 Alan Modra <amodra@gmail.com>
|
|
|
|
|
|
|
|
|
|
* ppc-dis.c (powerpc_init_dialect): Default to "power10".
|
|
|
|
|
|
2020-05-11 07:54:14 +08:00
|
|
|
|
2020-05-11 Alan Modra <amodra@gmail.com>
|
|
|
|
|
|
|
|
|
|
* ppc-dis.c (ppc_opts): Add "power10" entry.
|
|
|
|
|
(print_insn_powerpc): Update for PPC_OPCODE_POWER10 renaming.
|
|
|
|
|
* ppc-opc.c (POWER10): Rename from POWERXX. Update all uses.
|
|
|
|
|
|
2020-05-11 19:02:26 +08:00
|
|
|
|
2020-05-11 Nick Clifton <nickc@redhat.com>
|
|
|
|
|
|
|
|
|
|
* po/fr.po: Updated French translation.
|
|
|
|
|
|
2020-04-30 22:47:30 +08:00
|
|
|
|
2020-04-30 Alex Coplan <alex.coplan@arm.com>
|
|
|
|
|
|
|
|
|
|
* aarch64-opc.h (enum aarch64_field_kind): Add FLD_imm16_2.
|
|
|
|
|
* aarch64-opc.c (fields): Add entry for FLD_imm16_2.
|
|
|
|
|
(operand_general_constraint_met_p): validate
|
|
|
|
|
AARCH64_OPND_UNDEFINED.
|
|
|
|
|
* aarch64-tbl.h (aarch64_opcode_table): Add udf instruction, entry
|
|
|
|
|
for FLD_imm16_2.
|
|
|
|
|
* aarch64-asm-2.c: Regenerated.
|
|
|
|
|
* aarch64-dis-2.c: Regenerated.
|
|
|
|
|
* aarch64-opc-2.c: Regenerated.
|
|
|
|
|
|
2020-04-29 23:09:38 +08:00
|
|
|
|
2020-04-29 Nick Clifton <nickc@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR 22699
|
|
|
|
|
* sh-opc.h: Also use unsigned 8-bit immediate values for the LDRC
|
|
|
|
|
and SETRC insns.
|
|
|
|
|
|
2020-04-29 20:23:32 +08:00
|
|
|
|
2020-04-29 Nick Clifton <nickc@redhat.com>
|
|
|
|
|
|
|
|
|
|
* po/sv.po: Updated Swedish translation.
|
|
|
|
|
|
2020-04-29 20:13:55 +08:00
|
|
|
|
2020-04-29 Nick Clifton <nickc@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR 22699
|
|
|
|
|
* sh-opc.h (IMM0_8): Replace with IMM0_8S and IMM0_8U. Use
|
|
|
|
|
IMM0_8S for arithmetic insns and IMM0_8U for logical insns.
|
|
|
|
|
* sh-dis.c (print_insn_sh): Change IMM0_8 case to IMM0_8S and add
|
|
|
|
|
IMM0_8U case.
|
|
|
|
|
|
2020-04-18 20:32:39 +08:00
|
|
|
|
2020-04-21 Andreas Schwab <schwab@linux-m68k.org>
|
|
|
|
|
|
|
|
|
|
PR 25848
|
|
|
|
|
* m68k-opc.c (m68k_opcodes): Allow pc-rel for second operand of
|
|
|
|
|
cmpi only on m68020up and cpu32.
|
|
|
|
|
|
2020-04-20 17:58:16 +08:00
|
|
|
|
2020-04-20 Sudakshina Das <sudi.das@arm.com>
|
|
|
|
|
|
|
|
|
|
* aarch64-asm.c (aarch64_ins_none): New.
|
|
|
|
|
* aarch64-asm.h (ins_none): New declaration.
|
|
|
|
|
* aarch64-dis.c (aarch64_ext_none): New.
|
|
|
|
|
* aarch64-dis.h (ext_none): New declaration.
|
|
|
|
|
* aarch64-opc.c (aarch64_print_operand): Update case for
|
|
|
|
|
AARCH64_OPND_BARRIER_PSB.
|
|
|
|
|
* aarch64-tbl.h (aarch64_opcode_table): Add tsb.
|
|
|
|
|
(AARCH64_OPERANDS): Update inserter/extracter for
|
|
|
|
|
AARCH64_OPND_BARRIER_PSB to use new dummy functions.
|
|
|
|
|
* aarch64-asm-2.c: Regenerated.
|
|
|
|
|
* aarch64-dis-2.c: Regenerated.
|
|
|
|
|
* aarch64-opc-2.c: Regenerated.
|
|
|
|
|
|
[AArch64, Binutils] Make hint space instructions valid for Armv8-a
There are a few instruction in AArch64 that are in the HINT space. Any of
these instructions should be accepted by the assembler/disassembler at any
architecture version. This patch fixes the existing instructions that are
not behaving accordingly.
I have used all of the instructions mentioned in the following to make the
changes:
https://developer.arm.com/docs/ddi0596/f/base-instructions-alphabetic-order/
hint-hint-instruction
gas/ChangeLog:
2020-04-20 Sudakshina Das <sudi.das@arm.com>
* testsuite/gas/aarch64/bti.d: Update -march option.
* testsuite/gas/aarch64/illegal-bti.d: Remove.
* testsuite/gas/aarch64/illegal-bti.l: Remove.
* testsuite/gas/aarch64/illegal-ras-1.l: Remove esb.
* testsuite/gas/aarch64/illegal-ras-1.s: Remove esb.
opcodes/ChangeLog:
2020-04-20 Sudakshina Das <sudi.das@arm.com>
* aarch64-tbl.h (aarch64_feature_bti, BTI, BTI_INSN): Remove.
(aarch64_feature_ras, RAS): Likewise.
(aarch64_feature_stat_profile, STAT_PROFILE): Likewise.
(aarch64_opcode_table): Update bti, xpaclri, pacia1716, pacib1716,
autia1716, autib1716, esb, psb, dgh, paciaz, paciasp, pacibz, pacibsp,
autiaz, autiasp, autibz, autibsp to be CORE_INSN.
* aarch64-asm-2.c: Regenerated.
* aarch64-dis-2.c: Regenerated.
* aarch64-opc-2.c: Regenerated.
2020-04-20 17:50:52 +08:00
|
|
|
|
2020-04-20 Sudakshina Das <sudi.das@arm.com>
|
|
|
|
|
|
|
|
|
|
* aarch64-tbl.h (aarch64_feature_bti, BTI, BTI_INSN): Remove.
|
|
|
|
|
(aarch64_feature_ras, RAS): Likewise.
|
|
|
|
|
(aarch64_feature_stat_profile, STAT_PROFILE): Likewise.
|
|
|
|
|
(aarch64_opcode_table): Update bti, xpaclri, pacia1716, pacib1716,
|
|
|
|
|
autia1716, autib1716, esb, psb, dgh, paciaz, paciasp, pacibz, pacibsp,
|
|
|
|
|
autiaz, autiasp, autibz, autibsp to be CORE_INSN.
|
|
|
|
|
* aarch64-asm-2.c: Regenerated.
|
|
|
|
|
* aarch64-dis-2.c: Regenerated.
|
|
|
|
|
* aarch64-opc-2.c: Regenerated.
|
|
|
|
|
|
2020-04-18 00:25:19 +08:00
|
|
|
|
2020-04-17 Fredrik Strupe <fredrik@strupe.net>
|
|
|
|
|
|
|
|
|
|
* arm-dis.c (neon_opcodes): Fix VDUP instruction masks.
|
|
|
|
|
(print_insn_neon): Support disassembly of conditional
|
|
|
|
|
instructions.
|
|
|
|
|
|
2020-04-16 15:52:57 +08:00
|
|
|
|
2020-02-16 David Faust <david.faust@oracle.com>
|
|
|
|
|
|
|
|
|
|
* bpf-desc.c: Regenerate.
|
|
|
|
|
* bpf-desc.h: Likewise.
|
|
|
|
|
* bpf-opc.c: Regenerate.
|
|
|
|
|
* bpf-opc.h: Likewise.
|
|
|
|
|
|
2020-04-07 13:59:50 +08:00
|
|
|
|
2020-04-07 Lili Cui <lili.cui@intel.com>
|
|
|
|
|
|
|
|
|
|
* i386-dis.c (enum): Add PREFIX_0F01_REG_5_MOD_3_RM_1,
|
|
|
|
|
(prefix_table): New instructions (see prefixes above).
|
|
|
|
|
(rm_table): Likewise
|
|
|
|
|
* i386-gen.c (cpu_flag_init): Add CPU_TSXLDTRK_FLAGS,
|
|
|
|
|
CPU_ANY_TSXLDTRK_FLAGS.
|
|
|
|
|
(cpu_flags): Add CpuTSXLDTRK.
|
|
|
|
|
* i386-opc.h (enum): Add CpuTSXLDTRK.
|
|
|
|
|
(i386_cpu_flags): Add cputsxldtrk.
|
|
|
|
|
* i386-opc.tbl: Add XSUSPLDTRK insns.
|
|
|
|
|
* i386-init.h: Regenerate.
|
|
|
|
|
* i386-tbl.h: Likewise.
|
|
|
|
|
|
2020-03-06 14:38:15 +08:00
|
|
|
|
2020-04-02 Lili Cui <lili.cui@intel.com>
|
|
|
|
|
|
|
|
|
|
* i386-dis.c (prefix_table): New instructions serialize.
|
|
|
|
|
* i386-gen.c (cpu_flag_init): Add CPU_SERIALIZE_FLAGS,
|
|
|
|
|
CPU_ANY_SERIALIZE_FLAGS.
|
|
|
|
|
(cpu_flags): Add CpuSERIALIZE.
|
|
|
|
|
* i386-opc.h (enum): Add CpuSERIALIZE.
|
|
|
|
|
(i386_cpu_flags): Add cpuserialize.
|
|
|
|
|
* i386-opc.tbl: Add SERIALIZE insns.
|
|
|
|
|
* i386-init.h: Regenerate.
|
|
|
|
|
* i386-tbl.h: Likewise.
|
|
|
|
|
|
2020-03-26 13:56:16 +08:00
|
|
|
|
2020-03-26 Alan Modra <amodra@gmail.com>
|
|
|
|
|
|
|
|
|
|
* disassemble.h (opcodes_assert): Declare.
|
|
|
|
|
(OPCODES_ASSERT): Define.
|
|
|
|
|
* disassemble.c: Don't include assert.h. Include opintl.h.
|
|
|
|
|
(opcodes_assert): New function.
|
|
|
|
|
* h8300-dis.c (bfd_h8_disassemble_init): Use OPCODES_ASSERT.
|
|
|
|
|
(bfd_h8_disassemble): Reduce size of data array. Correctly
|
|
|
|
|
calculate maxlen. Omit insn decoding when insn length exceeds
|
|
|
|
|
maxlen. Exit from nibble loop when looking for E, before
|
|
|
|
|
accessing next data byte. Move processing of E outside loop.
|
|
|
|
|
Replace tests of maxlen in loop with assertions.
|
|
|
|
|
|
2020-03-26 13:50:47 +08:00
|
|
|
|
2020-03-26 Alan Modra <amodra@gmail.com>
|
|
|
|
|
|
|
|
|
|
* arc-dis.c (find_format): Init needs_limm. Simplify use of limm.
|
|
|
|
|
|
2020-03-25 06:20:21 +08:00
|
|
|
|
2020-03-25 Alan Modra <amodra@gmail.com>
|
|
|
|
|
|
|
|
|
|
* z80-dis.c (suffix): Init mybuf.
|
|
|
|
|
|
2020-03-22 17:56:31 +08:00
|
|
|
|
2020-03-22 Alan Modra <amodra@gmail.com>
|
|
|
|
|
|
|
|
|
|
* h8300-dis.c (bfd_h8_disassemble): Limit data[] access to that
|
|
|
|
|
successflly read from section.
|
|
|
|
|
|
2020-03-22 17:32:55 +08:00
|
|
|
|
2020-03-22 Alan Modra <amodra@gmail.com>
|
|
|
|
|
|
|
|
|
|
* arc-dis.c (find_format): Use ISO C string concatenation rather
|
|
|
|
|
than line continuation within a string. Don't access needs_limm
|
|
|
|
|
before testing opcode != NULL.
|
|
|
|
|
|
2020-03-22 15:45:41 +08:00
|
|
|
|
2020-03-22 Alan Modra <amodra@gmail.com>
|
|
|
|
|
|
|
|
|
|
* ns32k-dis.c (print_insn_arg): Update comment.
|
|
|
|
|
(print_insn_ns32k): Reduce size of index_offset array, and
|
|
|
|
|
initialize, passing -1 to print_insn_arg for args that are not
|
|
|
|
|
an index. Don't exit arg loop early. Abort on bad arg number.
|
|
|
|
|
|
s12z disassembler tidy
Don't ignore buffer memory read failure, or malloc failure. Lots of
functions get a return status to pass these failures up the chain in
this patch.
opcodes/
* s12z-dis.c (abstract_read_memory): Don't print error on EOI.
* s12z-opc.c: Formatting.
(operands_f): Return an int.
(opr_n_bytes_p1): Return -1 on reaching buffer memory limit.
(opr_n_bytes2, bfextins_n_bytes, mul_n_bytes, bm_n_bytes),
(shift_n_bytes, mov_imm_opr_n_bytes, loop_prim_n_bytes),
(exg_sex_discrim): Likewise.
(create_immediate_operand, create_bitfield_operand),
(create_register_operand_with_size, create_register_all_operand),
(create_register_all16_operand, create_simple_memory_operand),
(create_memory_operand, create_memory_auto_operand): Don't
segfault on malloc failure.
(z_ext24_decode): Return an int status, negative on fail, zero
on success.
(x_imm1, imm1_decode, trap_decode, z_opr_decode, z_opr_decode2),
(imm1234, reg_s_imm, reg_s_opr, z_imm1234_8base, z_imm1234_0base),
(z_tfr, z_reg, reg_xy, lea_reg_xys_opr, lea_reg_xys, rel_15_7),
(decode_rel_15_7, cmp_xy, sub_d6_x_y, sub_d6_y_x),
(ld_18bit_decode, mul_decode, bm_decode, bm_rel_decode),
(mov_imm_opr, ld_18bit_decode, exg_sex_decode),
(loop_primitive_decode, shift_decode, psh_pul_decode),
(bit_field_decode): Similarly.
(z_decode_signed_value, decode_signed_value): Similarly. Add arg
to return value, update callers.
(x_opr_decode_with_size): Check all reads, returning NULL on fail.
Don't segfault on NULL operand.
(decode_operation): Return OP_INVALID on first fail.
(decode_s12z): Check all reads, returning -1 on fail.
gas/
* testsuite/gas/s12z/truncated.d: Update expected output.
2020-03-22 12:32:27 +08:00
|
|
|
|
2020-03-22 Alan Modra <amodra@gmail.com>
|
|
|
|
|
|
|
|
|
|
* s12z-dis.c (abstract_read_memory): Don't print error on EOI.
|
|
|
|
|
* s12z-opc.c: Formatting.
|
|
|
|
|
(operands_f): Return an int.
|
|
|
|
|
(opr_n_bytes_p1): Return -1 on reaching buffer memory limit.
|
|
|
|
|
(opr_n_bytes2, bfextins_n_bytes, mul_n_bytes, bm_n_bytes),
|
|
|
|
|
(shift_n_bytes, mov_imm_opr_n_bytes, loop_prim_n_bytes),
|
|
|
|
|
(exg_sex_discrim): Likewise.
|
|
|
|
|
(create_immediate_operand, create_bitfield_operand),
|
|
|
|
|
(create_register_operand_with_size, create_register_all_operand),
|
|
|
|
|
(create_register_all16_operand, create_simple_memory_operand),
|
|
|
|
|
(create_memory_operand, create_memory_auto_operand): Don't
|
|
|
|
|
segfault on malloc failure.
|
|
|
|
|
(z_ext24_decode): Return an int status, negative on fail, zero
|
|
|
|
|
on success.
|
|
|
|
|
(x_imm1, imm1_decode, trap_decode, z_opr_decode, z_opr_decode2),
|
|
|
|
|
(imm1234, reg_s_imm, reg_s_opr, z_imm1234_8base, z_imm1234_0base),
|
|
|
|
|
(z_tfr, z_reg, reg_xy, lea_reg_xys_opr, lea_reg_xys, rel_15_7),
|
|
|
|
|
(decode_rel_15_7, cmp_xy, sub_d6_x_y, sub_d6_y_x),
|
|
|
|
|
(ld_18bit_decode, mul_decode, bm_decode, bm_rel_decode),
|
|
|
|
|
(mov_imm_opr, ld_18bit_decode, exg_sex_decode),
|
|
|
|
|
(loop_primitive_decode, shift_decode, psh_pul_decode),
|
|
|
|
|
(bit_field_decode): Similarly.
|
|
|
|
|
(z_decode_signed_value, decode_signed_value): Similarly. Add arg
|
|
|
|
|
to return value, update callers.
|
|
|
|
|
(x_opr_decode_with_size): Check all reads, returning NULL on fail.
|
|
|
|
|
Don't segfault on NULL operand.
|
|
|
|
|
(decode_operation): Return OP_INVALID on first fail.
|
|
|
|
|
(decode_s12z): Check all reads, returning -1 on fail.
|
|
|
|
|
|
2020-03-20 08:25:58 +08:00
|
|
|
|
2020-03-20 Alan Modra <amodra@gmail.com>
|
|
|
|
|
|
|
|
|
|
* metag-dis.c (print_insn_metag): Don't ignore status from
|
|
|
|
|
read_memory_func.
|
|
|
|
|
|
2020-03-20 08:21:14 +08:00
|
|
|
|
2020-03-20 Alan Modra <amodra@gmail.com>
|
|
|
|
|
|
|
|
|
|
* nds32-dis.c (print_insn_nds32): Remove unnecessary casts.
|
|
|
|
|
Initialize parts of buffer not written when handling a possible
|
|
|
|
|
2-byte insn at end of section. Don't attempt decoding of such
|
|
|
|
|
an insn by the 4-byte machinery.
|
|
|
|
|
|
2020-03-20 07:46:28 +08:00
|
|
|
|
2020-03-20 Alan Modra <amodra@gmail.com>
|
|
|
|
|
|
|
|
|
|
* ppc-dis.c (print_insn_powerpc): Only clear needed bytes of
|
|
|
|
|
partially filled buffer. Prevent lookup of 4-byte insns when
|
|
|
|
|
only VLE 2-byte insns are possible due to section size. Print
|
|
|
|
|
".word" rather than ".long" for 2-byte leftovers.
|
|
|
|
|
|
2020-03-18 01:02:15 +08:00
|
|
|
|
2020-03-17 Sergey Belyashov <sergey.belyashov@gmail.com>
|
|
|
|
|
|
|
|
|
|
PR 25641
|
|
|
|
|
* z80-dis.c: Fix disassembling ED+A4/AC/B4/BC opcodes.
|
|
|
|
|
|
2020-03-13 16:57:10 +08:00
|
|
|
|
2020-03-13 Jan Beulich <jbeulich@suse.com>
|
|
|
|
|
|
|
|
|
|
* i386-dis.c (X86_64_0D): Rename to ...
|
|
|
|
|
(X86_64_0E): ... this.
|
|
|
|
|
|
2020-03-09 23:23:46 +08:00
|
|
|
|
2020-03-09 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
* Makefile.am ($(srcdir)/i386-init.h): Also pass -P to $(CPP).
|
|
|
|
|
* Makefile.in: Regenerated.
|
|
|
|
|
|
2020-03-09 17:14:55 +08:00
|
|
|
|
2020-03-09 Jan Beulich <jbeulich@suse.com>
|
|
|
|
|
|
|
|
|
|
* i386-opc.tbl (avx_irel): New. Use is for AVX512 vpcmp*
|
|
|
|
|
3-operand pseudos.
|
|
|
|
|
* i386-tbl.h: Re-generate.
|
|
|
|
|
|
2020-03-09 17:14:17 +08:00
|
|
|
|
2020-03-09 Jan Beulich <jbeulich@suse.com>
|
|
|
|
|
|
|
|
|
|
* i386-opc.tbl (xop_elem, xop_irel, xop_sign): New. Use them for XOP vpcom*,
|
|
|
|
|
vprot*, vpsha*, and vpshl*.
|
|
|
|
|
* i386-tbl.h: Re-generate.
|
|
|
|
|
|
2020-03-09 17:13:43 +08:00
|
|
|
|
2020-03-09 Jan Beulich <jbeulich@suse.com>
|
|
|
|
|
|
|
|
|
|
* i386-opc.tbl (avx_frel): New. Use it for AVX/AVX512 vcmpps,
|
|
|
|
|
vcmpss, vcmppd, and vcmpsd 3-operand pseudo-ops.
|
|
|
|
|
* i386-tbl.h: Re-generate.
|
|
|
|
|
|
2020-03-09 17:13:04 +08:00
|
|
|
|
2020-03-09 Jan Beulich <jbeulich@suse.com>
|
|
|
|
|
|
|
|
|
|
* i386-gen.c (set_bitfield): Ignore zero-length field names.
|
|
|
|
|
* i386-opc.tbl (sse_frel): New. Use it for SSE/SSE2 cmpps,
|
|
|
|
|
cmpss, cmppd, and cmpsd 2-operand pseudo-ops.
|
|
|
|
|
* i386-tbl.h: Re-generate.
|
|
|
|
|
|
2020-03-09 17:12:14 +08:00
|
|
|
|
2020-03-09 Jan Beulich <jbeulich@suse.com>
|
|
|
|
|
|
|
|
|
|
* i386-gen.c (struct template_arg, struct template_instance,
|
|
|
|
|
struct template_param, struct template, templates,
|
|
|
|
|
parse_template, expand_templates): New.
|
|
|
|
|
(process_i386_opcodes): Various local variables moved to
|
|
|
|
|
expand_templates. Call parse_template and expand_templates.
|
|
|
|
|
* i386-opc.tbl (cc): New. Use it for Jcc, SETcc, and CMOVcc.
|
|
|
|
|
* i386-tbl.h: Re-generate.
|
|
|
|
|
|
2020-03-06 15:56:47 +08:00
|
|
|
|
2020-03-06 Jan Beulich <jbeulich@suse.com>
|
|
|
|
|
|
|
|
|
|
* i386-opc.tbl (vcvtdq2pd, vcvtps2pd, vcvtudq2pd, vcvtps2ph,
|
|
|
|
|
vcvtps2qq, vcvtps2uqq, vcvttps2qq, vcvttps2uqq): Fold separate
|
|
|
|
|
register and memory source templates. Replace VexW= by VexW*
|
|
|
|
|
where applicable.
|
|
|
|
|
* i386-tbl.h: Re-generate.
|
|
|
|
|
|
x86: drop/replace IgnoreSize
Even after commit dc2be329b950 ("i386: Only check suffix in instruction
mnemonic"), by which many of its uses have become unnecessary (some were
unnecessary even before), IgnoreSize is still used for various slightly
different purposes:
- to suppress emission of an operand size prefix,
- in Intel syntax mode to zap "derived" suffixes in certain cases and to
skip certain checks of remaining "derived" suffixes,
- to suppress ambiguous operand size / missing suffix diagnostics,
- for prefixes to suppress the "stand-alone ... prefix" warning.
Drop entirely unnecessary ones and where possible also replace instances
by the more focused (because of having just a single purpose) NoRex64.
To further restrict when IgnoreSize is needed, also generalize the logic
when to skip a template because of a present or derived L or Q suffix,
by skipping immediate operands. Additionally consider mask registers and
VecSIB there.
Note that for the time being the attribute needs to be kept in place on
MMX/SSE/etc insns (but not on VEX/EVEX encoded ones unless an operand
template of them allows for only non-SIMD-register actuals) allowing for
Dword operands - the logic when to emit a data size prefix would need
further adjustment first.
Note also that the memory forms of {,v}pinsrw get their permission for
an L or Q suffix dropped. I can only assume that it being this way was a
cut-and-paste mistake from the register forms, as the latter
specifically have NoRex64 set, and the {,v}pextrw counterparts don't
allow these suffixes either.
Convert VexW= again to their respective VexW* on lines touched anyway.
2020-03-06 15:55:52 +08:00
|
|
|
|
2020-03-06 Jan Beulich <jbeulich@suse.com>
|
|
|
|
|
|
|
|
|
|
* i386-opc.tbl: Drop IgnoreSize from various SIMD insns. Replace
|
|
|
|
|
VexW= by VexW* and VexVVVV=1 by just VexVVVV where applicable.
|
|
|
|
|
* i386-tbl.h: Re-generate.
|
|
|
|
|
|
2020-03-06 15:53:56 +08:00
|
|
|
|
2020-03-06 Jan Beulich <jbeulich@suse.com>
|
|
|
|
|
|
|
|
|
|
* i386-opc.tbl (fildll, fistpll, fisttpll): Add ATTSyntax.
|
|
|
|
|
* i386-tbl.h: Re-generate.
|
|
|
|
|
|
2020-03-06 15:53:18 +08:00
|
|
|
|
2020-03-06 Jan Beulich <jbeulich@suse.com>
|
|
|
|
|
|
|
|
|
|
* i386-opc.tbl (movq): Drop NoRex64 from XMM/XMM SSE2AVX variants.
|
|
|
|
|
(movmskps, pextrw, pinsrw, pmovmskb, movmskpd, extractps,
|
|
|
|
|
pextrb, pinsrb, roundsd): Drop NoRex64 and where applicable use
|
|
|
|
|
VexW0 on SSE2AVX variants.
|
|
|
|
|
(vmovq): Drop NoRex64 from XMM/XMM variants.
|
|
|
|
|
(vextractps, vmovmskpd, vmovmskps, vpextrb, vpextrw, vpinsrb,
|
|
|
|
|
vpinsrw, vpmovmskb, vroundsd, vpmovmskb): Drop NoRex64 and where
|
|
|
|
|
applicable use VexW0.
|
|
|
|
|
* i386-tbl.h: Re-generate.
|
|
|
|
|
|
2020-03-06 15:52:12 +08:00
|
|
|
|
2020-03-06 Jan Beulich <jbeulich@suse.com>
|
|
|
|
|
|
|
|
|
|
* i386-gen.c (opcode_modifiers): Remove Rex64 field.
|
|
|
|
|
* i386-opc.h (Rex64): Delete.
|
|
|
|
|
(struct i386_opcode_modifier): Remove rex64 field.
|
|
|
|
|
* i386-opc.tbl (crc32): Drop Rex64.
|
|
|
|
|
Replace Rex64 with Size64 everywhere else.
|
|
|
|
|
* i386-tbl.h: Re-generate.
|
|
|
|
|
|
2020-03-06 15:50:56 +08:00
|
|
|
|
2020-03-06 Jan Beulich <jbeulich@suse.com>
|
|
|
|
|
|
|
|
|
|
* i386-dis.c (OP_E_memory): Exclude recording of used address
|
|
|
|
|
prefix for "bnd" modes only in 64-bit mode. Don't decode 16-bit
|
|
|
|
|
addressed memory operands for MPX insns.
|
|
|
|
|
|
2020-03-06 15:49:45 +08:00
|
|
|
|
2020-03-06 Jan Beulich <jbeulich@suse.com>
|
|
|
|
|
|
|
|
|
|
* i386-opc.tbl (movmskps, mwait, vmread, vmwrite, invept,
|
|
|
|
|
invvpid, invpcid, rdfsbase, rdgsbase, wrfsbase, wrgsbase, adcx,
|
|
|
|
|
adox, mwaitx, rdpid, movdiri): Add IgnoreSize.
|
|
|
|
|
(ptwrite): Split into non-64-bit and 64-bit forms.
|
|
|
|
|
* i386-tbl.h: Re-generate.
|
|
|
|
|
|
2020-03-06 15:48:48 +08:00
|
|
|
|
2020-03-06 Jan Beulich <jbeulich@suse.com>
|
|
|
|
|
|
|
|
|
|
* i386-opc.tbl (tpause, umwait): Add IgnoreSize. Add 3-operand
|
|
|
|
|
template.
|
|
|
|
|
* i386-tbl.h: Re-generate.
|
|
|
|
|
|
2020-03-04 15:58:13 +08:00
|
|
|
|
2020-03-04 Jan Beulich <jbeulich@suse.com>
|
|
|
|
|
|
|
|
|
|
* i386-dis.c (PREFIX_0F01_REG_3_RM_1): New.
|
|
|
|
|
(prefix_table): Move vmmcall here. Add vmgexit.
|
|
|
|
|
(rm_table): Replace vmmcall entry by prefix_table[] escape.
|
|
|
|
|
* i386-gen.c (cpu_flag_init): Add CPU_SEV_ES_FLAGS entry.
|
|
|
|
|
(cpu_flags): Add CpuSEV_ES entry.
|
|
|
|
|
* i386-opc.h (CpuSEV_ES): New.
|
|
|
|
|
(union i386_cpu_flags): Add cpusev_es field.
|
|
|
|
|
* i386-opc.tbl (vmgexit): New.
|
|
|
|
|
* i386-init.h, i386-tbl.h: Re-generate.
|
|
|
|
|
|
2020-03-04 03:24:16 +08:00
|
|
|
|
2020-03-03 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
* i386-gen.c (opcode_modifiers): Replace IgnoreSize/DefaultSize
|
|
|
|
|
with MnemonicSize.
|
|
|
|
|
* i386-opc.h (IGNORESIZE): New.
|
|
|
|
|
(DEFAULTSIZE): Likewise.
|
|
|
|
|
(IgnoreSize): Removed.
|
|
|
|
|
(DefaultSize): Likewise.
|
|
|
|
|
(MnemonicSize): New.
|
|
|
|
|
(i386_opcode_modifier): Replace ignoresize/defaultsize with
|
|
|
|
|
mnemonicsize.
|
|
|
|
|
* i386-opc.tbl (IgnoreSize): New.
|
|
|
|
|
(DefaultSize): Likewise.
|
|
|
|
|
* i386-tbl.h: Regenerated.
|
|
|
|
|
|
2020-03-04 00:31:42 +08:00
|
|
|
|
2020-03-03 Sergey Belyashov <sergey.belyashov@gmail.com>
|
|
|
|
|
|
|
|
|
|
PR 25627
|
|
|
|
|
* z80-dis.c: Fix disassembly of LD IY,(HL) and D (HL),IX
|
|
|
|
|
instructions.
|
|
|
|
|
|
x86: Allow integer conversion without suffix in AT&T syntax
According to gas manual, suffix in instruction mnemonics isn't always
required:
When there is no sizing suffix and no (suitable) register operands to
deduce the size of memory operands, with a few exceptions and where long
operand size is possible in the first place, operand size will default
to long in 32- and 64-bit modes.
This includes cvtsi2sd, cvtsi2ss, vcvtsi2sd, vcvtsi2ss, vcvtusi2sd and
vcvtusi2ss. Since they are used in GCC 8 and older GCC releases, they
must be allowed without suffix in AT&T syntax.
gas/
PR gas/25622
* testsuite/gas/i386/i386.exp: Run x86-64-default-suffix and
x86-64-default-suffix-avx.
* testsuite/gas/i386/noreg64.s: Remove cvtsi2sd, cvtsi2ss,
vcvtsi2sd, vcvtsi2ss, vcvtusi2sd and vcvtusi2ss entries.
* testsuite/gas/i386/noreg64.d: Updated.
* testsuite/gas/i386/noreg64.l: Likewise.
* testsuite/gas/i386/x86-64-default-suffix-avx.d: New file.
* testsuite/gas/i386/x86-64-default-suffix.d: Likewise.
* testsuite/gas/i386/x86-64-default-suffix.s: Likewise.
opcodes/
PR gas/25622
* i386-opc.tbl: Add IgnoreSize to cvtsi2sd, cvtsi2ss, vcvtsi2sd,
vcvtsi2ss, vcvtusi2sd and vcvtusi2ss for AT&T syntax.
* i386-tbl.h: Regenerated.
2020-03-03 23:39:18 +08:00
|
|
|
|
2020-03-03 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
PR gas/25622
|
|
|
|
|
* i386-opc.tbl: Add IgnoreSize to cvtsi2sd, cvtsi2ss, vcvtsi2sd,
|
|
|
|
|
vcvtsi2ss, vcvtusi2sd and vcvtusi2ss for AT&T syntax.
|
|
|
|
|
* i386-tbl.h: Regenerated.
|
|
|
|
|
|
2020-02-25 13:04:46 +08:00
|
|
|
|
2020-02-26 Alan Modra <amodra@gmail.com>
|
|
|
|
|
|
|
|
|
|
* aarch64-asm.c: Indent labels correctly.
|
|
|
|
|
* aarch64-dis.c: Likewise.
|
|
|
|
|
* aarch64-gen.c: Likewise.
|
|
|
|
|
* aarch64-opc.c: Likewise.
|
|
|
|
|
* alpha-dis.c: Likewise.
|
|
|
|
|
* i386-dis.c: Likewise.
|
|
|
|
|
* nds32-asm.c: Likewise.
|
|
|
|
|
* nfp-dis.c: Likewise.
|
|
|
|
|
* visium-dis.c: Likewise.
|
|
|
|
|
|
2020-02-25 16:27:07 +08:00
|
|
|
|
2020-02-25 Claudiu Zissulescu <claziss@gmail.com>
|
|
|
|
|
|
|
|
|
|
* arc-regs.h (int_vector_base): Make it available for all ARC
|
|
|
|
|
CPUs.
|
|
|
|
|
|
RISC-V: Support the ISA-dependent CSR checking.
According to the riscv privilege spec, some CSR are only valid when rv32 or
the specific extension is set. We extend the DECLARE_CSR and DECLARE_CSR_ALIAS
to record more informaton we need, and then check whether the CSR is valid
according to these information. We report warning message when the CSR is
invalid, so we have a choice between error and warning by --fatal-warnings
option. Also, a --no-warn/-W option is used to turn the warnings off, if
people don't want the warnings.
gas/
* config/tc-riscv.c (enum riscv_csr_class): New enum. Used to decide
whether or not this CSR is legal in the current ISA string.
(struct riscv_csr_extra): New structure to hold all extra information
of CSR.
(riscv_init_csr_hash): New function. According to the DECLARE_CSR and
DECLARE_CSR_ALIAS, insert CSR extra information into csr_extra_hash.
Call hash_reg_name to insert CSR address into reg_names_hash.
(md_begin): Call riscv_init_csr_hashes for each DECLARE_CSR.
(reg_csr_lookup_internal, riscv_csr_class_check): New functions.
Decide whether the CSR is valid according to the csr_extra_hash.
(init_opcode_hash): Update 'if (hash_error != NULL)' as hash_error is
not a boolean. This is same as riscv_init_csr_hash, so keep the
consistent usage.
* testsuite/gas/riscv/csr-dw-regnums.d: Add -march=rv32if option.
* testsuite/gas/riscv/priv-reg.d: Add f-ext by -march option.
* testsuite/gas/riscv/priv-reg-fail-fext.d: New testcase. The source
file is `priv-reg.s`, and the ISA is rv32i without f-ext, so the
f-ext CSR are not allowed.
* testsuite/gas/riscv/priv-reg-fail-fext.l: Likewise.
* testsuite/gas/riscv/priv-reg-fail-rv32-only.d: New testcase. The
source file is `priv-reg.s`, and the ISA is rv64if, so the
rv32-only CSR are not allowed.
* testsuite/gas/riscv/priv-reg-fail-rv32-only.l: Likewise.
include/
* opcode/riscv-opc.h: Extend DECLARE_CSR and DECLARE_CSR_ALIAS to
record riscv_csr_class.
opcodes/
* riscv-dis.c (print_insn_args): Updated since the DECLARE_CSR is changed.
gdb/
* riscv-tdep.c: Updated since the DECLARE_CSR is changed.
* riscv-tdep.h: Likewise.
* features/riscv/rebuild-csr-xml.sh: Generate the 64bit-csr.xml without
rv32-only CSR.
* features/riscv/64bit-csr.xml: Regernated.
binutils/
* dwarf.c: Updated since the DECLARE_CSR is changed.
2020-02-12 18:18:49 +08:00
|
|
|
|
2020-02-20 Nelson Chu <nelson.chu@sifive.com>
|
|
|
|
|
|
|
|
|
|
* riscv-dis.c (print_insn_args): Updated since the DECLARE_CSR is
|
|
|
|
|
changed.
|
|
|
|
|
|
2020-02-20 06:51:07 +08:00
|
|
|
|
2020-02-19 Nelson Chu <nelson.chu@sifive.com>
|
|
|
|
|
|
|
|
|
|
* riscv-opc.c (riscv_opcodes): Convert add/addi to the compressed
|
|
|
|
|
c.mv/c.li if rs1 is zero.
|
|
|
|
|
|
2020-02-17 23:12:10 +08:00
|
|
|
|
2020-02-17 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
* i386-gen.c (cpu_flag_init): Replace CpuABM with
|
|
|
|
|
CpuLZCNT|CpuPOPCNT. Add CpuPOPCNT to CPU_SSE4_2_FLAGS. Add
|
|
|
|
|
CPU_POPCNT_FLAGS.
|
|
|
|
|
(cpu_flags): Remove CpuABM. Add CpuPOPCNT.
|
|
|
|
|
* i386-opc.h (CpuABM): Removed.
|
|
|
|
|
(CpuPOPCNT): New.
|
|
|
|
|
(i386_cpu_flags): Remove cpuabm. Add cpupopcnt.
|
|
|
|
|
* i386-opc.tbl: Replace CpuABM|CpuSSE4_2 with CpuPOPCNT on
|
|
|
|
|
popcnt. Remove CpuABM from lzcnt.
|
|
|
|
|
* i386-init.h: Regenerated.
|
|
|
|
|
* i386-tbl.h: Likewise.
|
|
|
|
|
|
x86: fold certain VCVT{,U}SI2S{S,D} templates
There don't really need to be separate Cpu64 and CpuNo64 templates for
these. One small issue with this is that slightly strange code
.intel_syntax noprefix
.code16
.arch i286
.arch .avx
vcvtsi2sd xmm0, xmm0, dword ptr [bx]
vcvtsi2sd xmm0, xmm0, qword ptr [bx]
vcvtsi2sd xmm0, xmm0, ebx
vcvtsi2sd xmm0, xmm0, rbx
now will match in behavior with the AVX512 counterparts in that not
only the 2nd vcvtsi2sd won't assemble, but also the first. The last
two, otoh, will continue to assemble fine (due to the lack of any
memory operand size specifier). As a result, another way to make
things behave more consistently would be to avoid the folding and
add IgnoreSize to the CpuNo64 AVX512 variants. A 3rd way to do so
would be to add Cpu386 to any such insn template.
While doing this also make the usual cosmetic adjustments for the
insns touched anyway. Additionally drop the redundant Cpu64 from
the SAE forms of VCVT{,U}SI2SD - they won't assemble outside of
64-bit mode due to there not being anything to match the Reg64
operand.
2020-02-17 15:59:52 +08:00
|
|
|
|
2020-02-17 Jan Beulich <jbeulich@suse.com>
|
|
|
|
|
|
|
|
|
|
* i386-opc.tbl (vcvtsi2sd, vcvtsi2ss, vcvtusi2sd, vcvtusi2ss):
|
|
|
|
|
Fold CpuNo64 and Cpu64 templates. Use VexLIG/EVexLIG and VexW0/
|
|
|
|
|
VexW1 instead of open-coding them.
|
|
|
|
|
* i386-tbl.h: Re-generate.
|
|
|
|
|
|
2020-02-17 15:59:07 +08:00
|
|
|
|
2020-02-17 Jan Beulich <jbeulich@suse.com>
|
|
|
|
|
|
|
|
|
|
* i386-opc.tbl (AddrPrefixOpReg): Define.
|
|
|
|
|
(monitor, invlpga, vmload, vmrun, vmsave, clzero, monitorx,
|
|
|
|
|
umonitor, movdir64b, enqcmd, enqcmds): Fold Cpu64 and CpuNo64
|
|
|
|
|
templates. Drop NoRex64.
|
|
|
|
|
* i386-tbl.h: Re-generate.
|
|
|
|
|
|
2020-02-17 15:56:18 +08:00
|
|
|
|
2020-02-17 Jan Beulich <jbeulich@suse.com>
|
|
|
|
|
|
|
|
|
|
PR gas/6518
|
|
|
|
|
* i386-opc.tbl (vcvtpd2dq, vcvtpd2ps, vcvttpd2dq, vcvtpd2udq,
|
|
|
|
|
vcvttpd2udq, vcvtqq2ps, vcvtuqq2ps): Split XMM/YMM source forms
|
|
|
|
|
into Intel syntax instance (with Unpsecified) and AT&T one
|
|
|
|
|
(without).
|
|
|
|
|
(vcvtneps2bf16): Likewise, along with folding the two so far
|
|
|
|
|
separate ones.
|
|
|
|
|
* i386-tbl.h: Re-generate.
|
|
|
|
|
|
2020-02-17 12:10:20 +08:00
|
|
|
|
2020-02-16 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
* i386-gen.c (cpu_flag_init): Remove CPU_ANY_SSE3_FLAGS from
|
|
|
|
|
CPU_ANY_SSE4A_FLAGS.
|
|
|
|
|
|
2020-02-17 09:07:38 +08:00
|
|
|
|
2020-02-17 Alan Modra <amodra@gmail.com>
|
|
|
|
|
|
|
|
|
|
* i386-gen.c (cpu_flag_init): Correct last change.
|
|
|
|
|
|
2020-02-17 00:36:51 +08:00
|
|
|
|
2020-02-16 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
* i386-gen.c (cpu_flag_init): Add CPU_ANY_SSE4A_FLAGS. Remove
|
|
|
|
|
CPU_ANY_SSE4_FLAGS.
|
|
|
|
|
|
2020-02-14 21:40:19 +08:00
|
|
|
|
2020-02-14 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
* i386-opc.tbl (movsx): Remove Intel syntax comments.
|
|
|
|
|
(movzx): Likewise.
|
|
|
|
|
|
2020-02-14 21:27:28 +08:00
|
|
|
|
2020-02-14 Jan Beulich <jbeulich@suse.com>
|
|
|
|
|
|
|
|
|
|
PR gas/25438
|
|
|
|
|
* i386-opc.tbl (movsx): Fold patterns. Also allow Reg32 as
|
|
|
|
|
destination for Cpu64-only variant.
|
|
|
|
|
(movzx): Fold patterns.
|
|
|
|
|
* i386-tbl.h: Re-generate.
|
|
|
|
|
|
2020-02-13 17:19:28 +08:00
|
|
|
|
2020-02-13 Jan Beulich <jbeulich@suse.com>
|
|
|
|
|
|
|
|
|
|
* i386-gen.c (cpu_flag_init): Move CpuSSE4a from
|
|
|
|
|
CPU_ANY_SSE_FLAGS entry to CPU_ANY_SSE3_FLAGS one. Add
|
|
|
|
|
CPU_ANY_SSE4_FLAGS entry.
|
|
|
|
|
* i386-init.h: Re-generate.
|
|
|
|
|
|
2020-02-12 23:20:56 +08:00
|
|
|
|
2020-02-12 Jan Beulich <jbeulich@suse.com>
|
|
|
|
|
|
|
|
|
|
* i386-opc.tbl (vfpclasspd, vfpclassps): Add Intel sytax form
|
|
|
|
|
with Unspecified, making the present one AT&T syntax only.
|
|
|
|
|
* i386-tbl.h: Re-generate.
|
|
|
|
|
|
2020-02-12 23:19:52 +08:00
|
|
|
|
2020-02-12 Jan Beulich <jbeulich@suse.com>
|
|
|
|
|
|
|
|
|
|
* i386-opc.tbl (jmp): Fold CpuNo64 and Amd64 direct variants.
|
|
|
|
|
* i386-tbl.h: Re-generate.
|
|
|
|
|
|
2020-02-12 23:19:03 +08:00
|
|
|
|
2020-02-12 Jan Beulich <jbeulich@suse.com>
|
|
|
|
|
|
|
|
|
|
PR gas/24546
|
|
|
|
|
* i386-dis.c (putop): Handle REX.W in '^' case for Intel64 mode.
|
|
|
|
|
* i386-opc.tbl (lfs, lgs, lss, lcall, ljmp): Split into
|
|
|
|
|
Amd64 and Intel64 templates.
|
|
|
|
|
(call, jmp): Likewise for far indirect variants. Dro
|
|
|
|
|
Unspecified.
|
|
|
|
|
* i386-tbl.h: Re-generate.
|
|
|
|
|
|
2020-02-11 18:20:55 +08:00
|
|
|
|
2020-02-11 Jan Beulich <jbeulich@suse.com>
|
|
|
|
|
|
|
|
|
|
* i386-gen.c (opcode_modifiers): Remove ShortForm entry.
|
|
|
|
|
* i386-opc.h (ShortForm): Delete.
|
|
|
|
|
(struct i386_opcode_modifier): Remove shortform field.
|
|
|
|
|
* i386-opc.tbl (mov, movabs, push, pop, xchg, inc, dec, fld,
|
|
|
|
|
fst, fstp, fxch, fcom, fcomp, fucom, fucomp, fadd, faddp, fsub,
|
|
|
|
|
fsubp, fsubr, fsubrp, fmul, fmulp, fdiv, fdivp, fdivr, fdivrp,
|
|
|
|
|
ffreep, bswap, fcmov*, fcomi, fcomip, fucomi, fucomip, movq):
|
|
|
|
|
Drop ShortForm.
|
|
|
|
|
* i386-tbl.h: Re-generate.
|
|
|
|
|
|
2020-02-11 18:20:05 +08:00
|
|
|
|
2020-02-11 Jan Beulich <jbeulich@suse.com>
|
|
|
|
|
|
|
|
|
|
* i386-opc.tbl (fcomi, fucomi, fcomip, fcompi, fucomip,
|
|
|
|
|
fucompi): Drop ShortForm from operand-less templates.
|
|
|
|
|
* i386-tbl.h: Re-generate.
|
|
|
|
|
|
Ensure *valuep always written by extract_normal return
* cgen-ibld.in (extract_normal): Set *valuep on all return paths.
* bpf-ibld.c, * epiphany-ibld.c, * fr30-ibld.c, * frv-ibld.c,
* ip2k-ibld.c, * iq2000-ibld.c, * lm32-ibld.c, * m32c-ibld.c,
* m32r-ibld.c, * mep-ibld.c, * mt-ibld.c, * or1k-ibld.c,
* xc16x-ibld.c, * xstormy16-ibld.c: Regenerate.
2020-02-11 06:41:18 +08:00
|
|
|
|
2020-02-11 Alan Modra <amodra@gmail.com>
|
|
|
|
|
|
|
|
|
|
* cgen-ibld.in (extract_normal): Set *valuep on all return paths.
|
|
|
|
|
* bpf-ibld.c, * epiphany-ibld.c, * fr30-ibld.c, * frv-ibld.c,
|
|
|
|
|
* ip2k-ibld.c, * iq2000-ibld.c, * lm32-ibld.c, * m32c-ibld.c,
|
|
|
|
|
* m32r-ibld.c, * mep-ibld.c, * mt-ibld.c, * or1k-ibld.c,
|
|
|
|
|
* xc16x-ibld.c, * xstormy16-ibld.c: Regenerate.
|
|
|
|
|
|
2020-02-11 00:39:02 +08:00
|
|
|
|
2020-02-10 Matthew Malcomson <matthew.malcomson@arm.com>
|
|
|
|
|
|
|
|
|
|
* arm-dis.c (print_insn_cde): Define 'V' parse character.
|
|
|
|
|
(cde_opcodes): Add VCX* instructions.
|
|
|
|
|
|
[binutils][arm] arm support for ARMv8.m Custom Datapath Extension
This patch is part of a series that adds support for the Armv8.m
ARMv8.m Custom Datapath Extension to binutils.
This patch introduces the Custom Instructions Class 1/2/3 (Single/
Dual, Accumulator/Non-accumulator varianats) to the arm backend.
The following Custom Instructions are added: cx1, cx1a,
cx1d, cx1da, cx2, cx2a, cx2d, cx2da, cx3, cx3a, cx3d, cx3da.
Specification can be found at
https://developer.arm.com/docs/ddi0607/latest
This patch distinguishes between enabling CDE for different coprocessor
numbers by defining multiple architecture flags. This means that the
parsing of the architecture extension flags is kept entirely in the
existing code path.
We introduce a new IT block state to indicate the behaviour of these
instructions. This new state allows being used in an IT block or
outside an IT block, but does not allow the instruction to be used
inside a VPT block.
We need this since the CX*A instruction versions can be used in IT
blocks, but they aren't to have the conditional suffixes on them. Hence
we need to mark an instruction as allowed in either position.
We also need a new flag to objdump, in order to determine whether to
disassemble an instruction as CDE related or not.
Successfully regression tested on arm-none-eabi, and arm-wince-pe.
gas/ChangeLog:
2020-02-10 Stam Markianos-Wright <stam.markianos-wright@arm.com>
Matthew Malcomson <matthew.malcomson@arm.com>
* config/tc-arm.c (arm_ext_cde*): New feature sets for each
CDE coprocessor that can be enabled.
(enum pred_instruction_type): New pred type.
(BAD_NO_VPT): New error message.
(BAD_CDE): New error message.
(BAD_CDE_COPROC): New error message.
(enum operand_parse_code): Add new immediate operands.
(parse_operands): Account for new immediate operands.
(check_cde_operand): New.
(cde_coproc_enabled): New.
(cde_coproc_pos): New.
(cde_handle_coproc): New.
(cxn_handle_predication): New.
(do_custom_instruction_1): New.
(do_custom_instruction_2): New.
(do_custom_instruction_3): New.
(do_cx1): New.
(do_cx1a): New.
(do_cx1d): New.
(do_cx1da): New.
(do_cx2): New.
(do_cx2a): New.
(do_cx2d): New.
(do_cx2da): New.
(do_cx3): New.
(do_cx3a): New.
(do_cx3d): New.
(do_cx3da): New.
(handle_pred_state): Define new IT block behaviour.
(insns): Add newn CX*{,d}{,a} instructions.
(CDE_EXTENSIONS,armv8m_main_ext_table,armv8_1m_main_ext_table):
Define new cdecp extension strings.
* doc/c-arm.texi: Document new cdecp extension arguments.
* testsuite/gas/arm/cde-scalar.d: New test.
* testsuite/gas/arm/cde-scalar.s: New test.
* testsuite/gas/arm/cde-warnings.d: New test.
* testsuite/gas/arm/cde-warnings.l: New test.
* testsuite/gas/arm/cde-warnings.s: New test.
* testsuite/gas/arm/cde.d: New test.
* testsuite/gas/arm/cde.s: New test.
include/ChangeLog:
2020-02-10 Stam Markianos-Wright <stam.markianos-wright@arm.com>
Matthew Malcomson <matthew.malcomson@arm.com>
* opcode/arm.h (ARM_EXT2_CDE): New extension macro.
(ARM_EXT2_CDE0): New extension macro.
(ARM_EXT2_CDE1): New extension macro.
(ARM_EXT2_CDE2): New extension macro.
(ARM_EXT2_CDE3): New extension macro.
(ARM_EXT2_CDE4): New extension macro.
(ARM_EXT2_CDE5): New extension macro.
(ARM_EXT2_CDE6): New extension macro.
(ARM_EXT2_CDE7): New extension macro.
opcodes/ChangeLog:
2020-02-10 Stam Markianos-Wright <stam.markianos-wright@arm.com>
Matthew Malcomson <matthew.malcomson@arm.com>
* arm-dis.c (struct cdeopcode32): New.
(CDE_OPCODE): New macro.
(cde_opcodes): New disassembly table.
(regnames): New option to table.
(cde_coprocs): New global variable.
(print_insn_cde): New
(print_insn_thumb32): Use print_insn_cde.
(parse_arm_disassembler_options): Parse coprocN args.
2020-02-11 00:38:00 +08:00
|
|
|
|
2020-02-10 Stam Markianos-Wright <stam.markianos-wright@arm.com>
|
|
|
|
|
Matthew Malcomson <matthew.malcomson@arm.com>
|
|
|
|
|
|
|
|
|
|
* arm-dis.c (struct cdeopcode32): New.
|
|
|
|
|
(CDE_OPCODE): New macro.
|
|
|
|
|
(cde_opcodes): New disassembly table.
|
|
|
|
|
(regnames): New option to table.
|
|
|
|
|
(cde_coprocs): New global variable.
|
|
|
|
|
(print_insn_cde): New
|
|
|
|
|
(print_insn_thumb32): Use print_insn_cde.
|
|
|
|
|
(parse_arm_disassembler_options): Parse coprocN args.
|
|
|
|
|
|
2020-02-11 00:37:22 +08:00
|
|
|
|
2020-02-10 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
PR gas/25516
|
|
|
|
|
* i386-gen.c (opcode_modifiers): Replace AMD64 and Intel64
|
|
|
|
|
with ISA64.
|
|
|
|
|
* i386-opc.h (AMD64): Removed.
|
|
|
|
|
(Intel64): Likewose.
|
|
|
|
|
(AMD64): New.
|
|
|
|
|
(INTEL64): Likewise.
|
|
|
|
|
(INTEL64ONLY): Likewise.
|
|
|
|
|
(i386_opcode_modifier): Replace amd64 and intel64 with isa64.
|
|
|
|
|
* i386-opc.tbl (Amd64): New.
|
|
|
|
|
(Intel64): Likewise.
|
|
|
|
|
(Intel64Only): Likewise.
|
|
|
|
|
Replace AMD64 with Amd64. Update sysenter/sysenter with
|
|
|
|
|
Cpu64 and Intel64Only. Remove AMD64 from sysenter/sysenter.
|
|
|
|
|
* i386-tbl.h: Regenerated.
|
|
|
|
|
|
2020-02-07 22:53:46 +08:00
|
|
|
|
2020-02-07 Sergey Belyashov <sergey.belyashov@gmail.com>
|
|
|
|
|
|
|
|
|
|
PR 25469
|
|
|
|
|
* z80-dis.c: Add support for GBZ80 opcodes.
|
|
|
|
|
|
2020-02-04 06:00:22 +08:00
|
|
|
|
2020-02-04 Alan Modra <amodra@gmail.com>
|
|
|
|
|
|
|
|
|
|
* d30v-dis.c (print_insn): Make "val" and "opnum" unsigned.
|
|
|
|
|
|
2020-02-03 08:56:30 +08:00
|
|
|
|
2020-02-03 Alan Modra <amodra@gmail.com>
|
|
|
|
|
|
|
|
|
|
* m32c-ibld.c: Regenerate.
|
|
|
|
|
|
2020-02-01 10:38:43 +08:00
|
|
|
|
2020-02-01 Alan Modra <amodra@gmail.com>
|
|
|
|
|
|
|
|
|
|
* frv-ibld.c: Regenerate.
|
|
|
|
|
|
2020-01-31 21:29:18 +08:00
|
|
|
|
2020-01-31 Jan Beulich <jbeulich@suse.com>
|
|
|
|
|
|
|
|
|
|
* i386-dis.c (EXxmm_mdq, xmm_mdq_mode): Delete.
|
|
|
|
|
(intel_operand_size, OP_EX): Drop xmm_mdq_mode case label.
|
|
|
|
|
(OP_E_memory): Replace xmm_mdq_mode case label by
|
|
|
|
|
vex_scalar_w_dq_mode one.
|
|
|
|
|
* i386-dis-evex-prefix.h: Replace EXxmm_mdq by EXVexWdqScalar.
|
|
|
|
|
|
2020-01-31 21:28:43 +08:00
|
|
|
|
2020-01-31 Jan Beulich <jbeulich@suse.com>
|
|
|
|
|
|
|
|
|
|
* i386-dis.c (EXVexWdq, vex_w_dq_mode): Delete.
|
|
|
|
|
(vex_vsib_d_w_dq_mode, vex_vsib_q_w_dq_mode,
|
|
|
|
|
vex_scalar_w_dq_mode): Don't refer to vex_w_dq_mode in comments.
|
|
|
|
|
(intel_operand_size): Drop vex_w_dq_mode case label.
|
|
|
|
|
|
2020-01-31 16:03:56 +08:00
|
|
|
|
2020-01-31 Richard Sandiford <richard.sandiford@arm.com>
|
|
|
|
|
|
|
|
|
|
* aarch64-tbl.h (aarch64_opcode): Set C_MAX_ELEM for SVE bfcvt.
|
|
|
|
|
Remove C_SCAN_MOVPRFX for SVE bfcvtnt.
|
|
|
|
|
|
2020-01-30 19:29:20 +08:00
|
|
|
|
2020-01-30 Alan Modra <amodra@gmail.com>
|
|
|
|
|
|
|
|
|
|
* m32c-ibld.c: Regenerate.
|
|
|
|
|
|
2020-01-30 20:59:04 +08:00
|
|
|
|
2020-01-30 Jose E. Marchesi <jose.marchesi@oracle.com>
|
|
|
|
|
|
|
|
|
|
* bpf-opc.c: Regenerate.
|
|
|
|
|
|
2020-01-30 18:36:33 +08:00
|
|
|
|
2020-01-30 Jan Beulich <jbeulich@suse.com>
|
|
|
|
|
|
|
|
|
|
* i386-dis.c (X86_64_C2, X86_64_C3): New enumerators.
|
|
|
|
|
(dis386): Use them to replace C2/C3 table entries.
|
|
|
|
|
(x86_64_table): Add X86_64_C2 and X86_64_C3 entries.
|
|
|
|
|
* i386-opc.tbl (ret): Split Cpu64 entries into AMD64 and Intel64
|
|
|
|
|
ones. Use Size64 instead of DefaultSize on Intel64 ones.
|
|
|
|
|
* i386-tbl.h: Re-generate.
|
|
|
|
|
|
2020-01-30 18:33:53 +08:00
|
|
|
|
2020-01-30 Jan Beulich <jbeulich@suse.com>
|
|
|
|
|
|
|
|
|
|
* i386-opc.tbl (call): Drop DefaultSize from Intel64 JumpDword
|
|
|
|
|
forms.
|
|
|
|
|
(fldenv, fnstenv, fstenv, fnsave, fsave, frstor): Drop
|
|
|
|
|
DefaultSize.
|
|
|
|
|
* i386-tbl.h: Re-generate.
|
|
|
|
|
|
2020-01-30 14:36:54 +08:00
|
|
|
|
2020-01-30 Alan Modra <amodra@gmail.com>
|
|
|
|
|
|
|
|
|
|
* tic4x-dis.c (tic4x_dp): Make unsigned.
|
|
|
|
|
|
2020-01-27 20:38:10 +08:00
|
|
|
|
2020-01-27 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
Jan Beulich <jbeulich@suse.com>
|
|
|
|
|
|
|
|
|
|
PR binutils/25445
|
|
|
|
|
* i386-dis.c (MOVSXD_Fixup): New function.
|
|
|
|
|
(movsxd_mode): New enum.
|
|
|
|
|
(x86_64_table): Use MOVSXD_Fixup and movsxd_mode on movsxd.
|
|
|
|
|
(intel_operand_size): Handle movsxd_mode.
|
|
|
|
|
(OP_E_register): Likewise.
|
|
|
|
|
(OP_G): Likewise.
|
|
|
|
|
* i386-opc.tbl: Remove Rex64 and allow 32-bit destination
|
|
|
|
|
register on movsxd. Add movsxd with 16-bit destination register
|
|
|
|
|
for AMD64 and Intel64 ISAs.
|
|
|
|
|
* i386-tbl.h: Regenerated.
|
|
|
|
|
|
2020-01-27 18:40:02 +08:00
|
|
|
|
2020-01-27 Tamar Christina <tamar.christina@arm.com>
|
|
|
|
|
|
|
|
|
|
PR 25403
|
|
|
|
|
* aarch64-tbl.h (struct aarch64_opcode): Re-order cfinv.
|
|
|
|
|
* aarch64-asm-2.c: Regenerate
|
|
|
|
|
* aarch64-dis-2.c: Likewise.
|
|
|
|
|
* aarch64-opc-2.c: Likewise.
|
|
|
|
|
|
x86: improve handling of insns with ambiguous operand sizes
Commit b76bc5d54e ("x86: don't default variable shift count insns to
8-bit operand size") pointed out a very bad case, but the underlying
problem is, as mentioned on various occasions, much larger: Silently
selecting a (nowhere documented afaict) certain default operand size
when there's no "sizing" suffix and no suitable register operand(s) is
simply dangerous (for the programmer to make mistakes).
While in Intel syntax mode such mistakes already lead to an error (which
is going to remain that way), AT&T syntax mode now gains warnings in
such cases by default, which can be suppressed or promoted to an error
if so desired by the programmer. Furthermore at least general purpose
insns now consistently have a default applied (alongside the warning
emission), rather than accepting some and refusing others.
No warnings are (as before) to be generated for "DefaultSize" insns as
well as ones acting on selector and other fixed-width values. For
SYSRET, however, the DefaultSize needs to be dropped - it had been
wrongly put there in the first place, as it's unrelated to .code16gcc
(no stack accesses involved).
As set forth as a prereq when I first mentioned this intended change a
few years back, Linux as well as gcc have meanwhile been patched to
avoid (emission of) ambiguous operands (and hence triggering of the new
warning).
Note that I think that in 64-bit mode IRET and far RET would better get
a diagnostic too, as it's reasonably likely that a suffix-less instance
really is meant to be a 64-bit one. But I guess I better make this a
separate follow-on patch.
Note further that floating point operations with integer operands are an
exception for now: They continue to use short (16-bit) operands by
default even in 32- and 64-bit modes.
Finally note that while {,V}PCMPESTR{I,M} would, strictly speaking, also
need to be diagnosed, with their 64-bit forms not being very useful I
think it is better to continue to avoid warning about them (by way of
them carrying IgnoreSize attributes).
2020-01-21 15:28:25 +08:00
|
|
|
|
2020-01-21 Jan Beulich <jbeulich@suse.com>
|
|
|
|
|
|
|
|
|
|
* i386-opc.tbl (sysret): Drop DefaultSize.
|
|
|
|
|
* i386-tbl.h: Re-generate.
|
|
|
|
|
|
2020-01-21 15:25:31 +08:00
|
|
|
|
2020-01-21 Jan Beulich <jbeulich@suse.com>
|
|
|
|
|
|
|
|
|
|
* i386-opc.tbl (vcvtneps2bf16x): Add Broadcast, Xmmword, and
|
|
|
|
|
Dword.
|
|
|
|
|
(vcvtneps2bf16y): Add Broadcast, Ymmword, and Dword.
|
|
|
|
|
* i386-tbl.h: Re-generate.
|
|
|
|
|
|
2020-01-20 23:10:23 +08:00
|
|
|
|
2020-01-20 Nick Clifton <nickc@redhat.com>
|
|
|
|
|
|
|
|
|
|
* po/de.po: Updated German translation.
|
|
|
|
|
* po/pt_BR.po: Updated Brazilian Portuguese translation.
|
|
|
|
|
* po/uk.po: Updated Ukranian translation.
|
|
|
|
|
|
2020-01-20 10:02:37 +08:00
|
|
|
|
2020-01-20 Alan Modra <amodra@gmail.com>
|
|
|
|
|
|
|
|
|
|
* hppa-dis.c (fput_const): Remove useless cast.
|
|
|
|
|
|
2020-01-20 10:01:58 +08:00
|
|
|
|
2020-01-20 Alan Modra <amodra@gmail.com>
|
|
|
|
|
|
|
|
|
|
* arm-dis.c (print_insn_arm): Wrap 'T' value.
|
|
|
|
|
|
2020-01-18 22:12:07 +08:00
|
|
|
|
2020-01-18 Nick Clifton <nickc@redhat.com>
|
|
|
|
|
|
|
|
|
|
* configure: Regenerate.
|
|
|
|
|
* po/opcodes.pot: Regenerate.
|
|
|
|
|
|
2020-01-18 21:50:25 +08:00
|
|
|
|
2020-01-18 Nick Clifton <nickc@redhat.com>
|
|
|
|
|
|
|
|
|
|
Binutils 2.34 branch created.
|
|
|
|
|
|
2020-01-18 02:34:03 +08:00
|
|
|
|
2020-01-17 Christian Biesinger <cbiesinger@google.com>
|
|
|
|
|
|
|
|
|
|
* opintl.h: Fix spelling error (seperate).
|
|
|
|
|
|
2020-01-17 23:07:55 +08:00
|
|
|
|
2020-01-17 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
* i386-opc.tbl: Add {vex} pseudo prefix.
|
|
|
|
|
* i386-tbl.h: Regenerated.
|
|
|
|
|
|
2020-01-16 21:50:52 +08:00
|
|
|
|
2020-01-16 Andre Vieira <andre.simoesdiasvieira@arm.com>
|
|
|
|
|
|
|
|
|
|
PR 25376
|
2020-09-25 19:22:46 +08:00
|
|
|
|
* arm-dis.c (coprocessor_opcodes): Use CORE_HIGH for MVE bits.
|
2020-01-16 21:50:52 +08:00
|
|
|
|
(neon_opcodes): Likewise.
|
|
|
|
|
(select_arm_features): Make sure we enable MVE bits when selecting
|
|
|
|
|
armv8.1-m.main. Make sure we do not enable MVE bits when not selecting
|
|
|
|
|
any architecture.
|
|
|
|
|
|
2020-01-16 17:07:05 +08:00
|
|
|
|
2020-01-16 Jan Beulich <jbeulich@suse.com>
|
|
|
|
|
|
|
|
|
|
* i386-opc.tbl: Drop stale comment from XOP section.
|
|
|
|
|
|
2020-01-16 17:06:21 +08:00
|
|
|
|
2020-01-16 Jan Beulich <jbeulich@suse.com>
|
|
|
|
|
|
|
|
|
|
* i386-opc.tbl (movq): Add VexWIG to SSE2AVX XMM->XMM forms.
|
|
|
|
|
(extractps): Add VexWIG to SSE2AVX forms.
|
|
|
|
|
* i386-tbl.h: Re-generate.
|
|
|
|
|
|
2020-01-16 17:05:35 +08:00
|
|
|
|
2020-01-16 Jan Beulich <jbeulich@suse.com>
|
|
|
|
|
|
|
|
|
|
* i386-opc.tbl (pextrq, pinsrq): Drop IgnoreSize and Qword. Drop
|
|
|
|
|
Size64 from and use VexW1 on SSE2AVX forms.
|
|
|
|
|
(vpextrq, vpinsrq): Drop IgnoreSize and Qword. Drop Size64 from
|
|
|
|
|
VEX-encoded forms. Add Cpu64 to EVEX-encoded forms. Use VexW1.
|
|
|
|
|
* i386-tbl.h: Re-generate.
|
|
|
|
|
|
2020-01-15 13:37:16 +08:00
|
|
|
|
2020-01-15 Alan Modra <amodra@gmail.com>
|
|
|
|
|
|
|
|
|
|
* tic4x-dis.c (tic4x_version): Make unsigned long.
|
|
|
|
|
(optab, optab_special, registernames): New file scope vars.
|
|
|
|
|
(tic4x_print_register): Set up registernames rather than
|
|
|
|
|
malloc'd registertable.
|
|
|
|
|
(tic4x_disassemble): Delete optable and optable_special. Use
|
|
|
|
|
optab and optab_special instead. Throw away old optab,
|
|
|
|
|
optab_special and registernames when info->mach changes.
|
|
|
|
|
|
2020-01-14 21:13:57 +08:00
|
|
|
|
2020-01-14 Sergey Belyashov <sergey.belyashov@gmail.com>
|
|
|
|
|
|
|
|
|
|
PR 25377
|
|
|
|
|
* z80-dis.c (suffix): Use .db instruction to generate double
|
|
|
|
|
prefix.
|
|
|
|
|
|
2020-01-14 06:47:09 +08:00
|
|
|
|
2020-01-14 Alan Modra <amodra@gmail.com>
|
|
|
|
|
|
|
|
|
|
* z8k-dis.c (unpack_instr): Formatting. Cast unsigned short
|
|
|
|
|
values to unsigned before shifting.
|
|
|
|
|
|
Add an option to objdump's disassembler to generate ascii art diagrams showing the destinations of flow control instructions.
binutils* objdump.c (visualize_jumps, color_output, extended_color_output)
(detected_jumps): New variables.
(usage): Add the new jump visualization options.
(option_values): Add new option value.
(long_options): Add the new option.
(jump_info_new, jump_info_free): New functions.
(jump_info_min_address, jump_info_max_address): Likewise.
(jump_info_end_address, jump_info_is_start_address): Likewise.
(jump_info_is_end_address, jump_info_size): Likewise.
(jump_info_unlink, jump_info_insert): Likewise.
(jump_info_add_front, jump_info_move_linked): Likewise.
(jump_info_intersect, jump_info_merge): Likewise.
(jump_info_sort, jump_info_visualize_address): Likewise.
(disassemble_jumps): New function - used to locate jumps.
(disassemble_bytes): Add ascii art generation.
(disassemble_section): Add scan to locate jumps.
(main): Parse the new visualization option.
* doc/binutils.texi: Document the new feature.
* NEWS: Mention the new feature.
opcodes * arm-dis.c (print_insn_arm): Fill in insn info fields for control
flow instructions.
(print_insn_thumb16, print_insn_thumb32): Likewise.
(print_insn): Initialize the insn info.
* i386-dis.c (print_insn): Initialize the insn info fields, and
detect jumps.
2020-01-13 20:36:55 +08:00
|
|
|
|
2020-01-13 Thomas Troeger <tstroege@gmx.de>
|
|
|
|
|
|
|
|
|
|
* arm-dis.c (print_insn_arm): Fill in insn info fields for control
|
|
|
|
|
flow instructions.
|
|
|
|
|
(print_insn_thumb16, print_insn_thumb32): Likewise.
|
|
|
|
|
(print_insn): Initialize the insn info.
|
|
|
|
|
* i386-dis.c (print_insn): Initialize the insn info fields, and
|
|
|
|
|
detect jumps.
|
|
|
|
|
|
2020-09-25 19:22:46 +08:00
|
|
|
|
2020-01-13 Claudiu Zissulescu <claziss@gmail.com>
|
2020-01-13 17:16:47 +08:00
|
|
|
|
|
|
|
|
|
* arc-opc.c (C_NE): Make it required.
|
|
|
|
|
|
2020-09-25 19:22:46 +08:00
|
|
|
|
2020-01-13 Claudiu Zissulescu <claziss@gmail.com>
|
2020-01-13 16:21:30 +08:00
|
|
|
|
|
2020-09-25 19:22:46 +08:00
|
|
|
|
* opcode/arc-dis.c (regnames): Correct ACCL/ACCH naming, fix typo
|
2020-01-13 16:21:30 +08:00
|
|
|
|
reserved register name.
|
|
|
|
|
|
2020-01-13 15:28:02 +08:00
|
|
|
|
2020-01-13 Alan Modra <amodra@gmail.com>
|
|
|
|
|
|
|
|
|
|
* ns32k-dis.c (Is_gen): Use strchr, add 'f'.
|
|
|
|
|
(print_insn_ns32k): Adjust ioffset for 'f' index_offset.
|
|
|
|
|
|
2020-01-13 11:57:19 +08:00
|
|
|
|
2020-01-13 Alan Modra <amodra@gmail.com>
|
|
|
|
|
|
|
|
|
|
* wasm32-dis.c (print_insn_wasm32): Localise variables. Store
|
|
|
|
|
result of wasm_read_leb128 in a uint64_t and check that bits
|
|
|
|
|
are not lost when copying to other locals. Use uint32_t for
|
|
|
|
|
most locals. Use PRId64 when printing int64_t.
|
|
|
|
|
|
2020-01-13 08:48:36 +08:00
|
|
|
|
2020-01-13 Alan Modra <amodra@gmail.com>
|
|
|
|
|
|
|
|
|
|
* score-dis.c: Formatting.
|
|
|
|
|
* score7-dis.c: Formatting.
|
|
|
|
|
|
2020-01-13 08:16:55 +08:00
|
|
|
|
2020-01-13 Alan Modra <amodra@gmail.com>
|
|
|
|
|
|
|
|
|
|
* score-dis.c (print_insn_score48): Use unsigned variables for
|
|
|
|
|
unsigned values. Don't left shift negative values.
|
|
|
|
|
(print_insn_score32): Likewise.
|
|
|
|
|
* score7-dis.c (print_insn_score32, print_insn_score16): Likewise.
|
|
|
|
|
|
2020-01-12 17:46:22 +08:00
|
|
|
|
2020-01-13 Alan Modra <amodra@gmail.com>
|
|
|
|
|
|
|
|
|
|
* tic4x-dis.c (tic4x_print_register): Remove dead code.
|
|
|
|
|
|
2020-01-11 10:02:11 +08:00
|
|
|
|
2020-01-13 Alan Modra <amodra@gmail.com>
|
|
|
|
|
|
|
|
|
|
* fr30-ibld.c: Regenerate.
|
|
|
|
|
|
2020-01-11 09:53:47 +08:00
|
|
|
|
2020-01-13 Alan Modra <amodra@gmail.com>
|
|
|
|
|
|
|
|
|
|
* xgate-dis.c (print_insn): Don't left shift signed value.
|
|
|
|
|
(ripBits): Formatting, use 1u.
|
|
|
|
|
|
2020-01-10 05:57:33 +08:00
|
|
|
|
2020-01-10 Alan Modra <amodra@gmail.com>
|
|
|
|
|
|
|
|
|
|
* tilepro-opc.c (parse_insn_tilepro): Make opval unsigned.
|
|
|
|
|
* tilegx-opc.c (parse_insn_tilegx): Likewise. Delete raw_opval.
|
|
|
|
|
|
2020-01-09 04:29:42 +08:00
|
|
|
|
2020-01-10 Alan Modra <amodra@gmail.com>
|
|
|
|
|
|
|
|
|
|
* m10300-dis.c (disassemble): Move extraction of DREG, AREG, RREG,
|
|
|
|
|
and XRREG value earlier to avoid a shift with negative exponent.
|
|
|
|
|
* m10200-dis.c (disassemble): Similarly.
|
|
|
|
|
|
2020-01-09 22:32:49 +08:00
|
|
|
|
2020-01-09 Nick Clifton <nickc@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR 25224
|
|
|
|
|
* z80-dis.c (ld_ii_ii): Use correct cast.
|
|
|
|
|
|
2020-01-09 19:47:44 +08:00
|
|
|
|
2020-01-03 Sergey Belyashov <sergey.belyashov@gmail.com>
|
|
|
|
|
|
|
|
|
|
PR 25224
|
|
|
|
|
* z80-dis.c (ld_ii_ii): Use character constant when checking
|
|
|
|
|
opcode byte value.
|
|
|
|
|
|
2020-01-09 18:38:01 +08:00
|
|
|
|
2020-01-09 Jan Beulich <jbeulich@suse.com>
|
|
|
|
|
|
|
|
|
|
* i386-dis.c (SEP_Fixup): New.
|
|
|
|
|
(SEP): Define.
|
|
|
|
|
(dis386_twobyte): Use it for sysenter/sysexit.
|
|
|
|
|
(enum x86_64_isa): Change amd64 enumerator to value 1.
|
|
|
|
|
(OP_J): Compare isa64 against intel64 instead of amd64.
|
|
|
|
|
* i386-opc.tbl (sysenter, sysexit): Split into AMD64 and Intel64
|
|
|
|
|
forms.
|
|
|
|
|
* i386-tbl.h: Re-generate.
|
|
|
|
|
|
2020-01-08 09:12:36 +08:00
|
|
|
|
2020-01-08 Alan Modra <amodra@gmail.com>
|
|
|
|
|
|
|
|
|
|
* z8k-dis.c: Include libiberty.h
|
|
|
|
|
(instr_data_s): Make max_fetched unsigned.
|
|
|
|
|
(z8k_lookup_instr): Make nibl_index and tabl_index unsigned.
|
|
|
|
|
Don't exceed byte_info bounds.
|
|
|
|
|
(output_instr): Make num_bytes unsigned.
|
|
|
|
|
(unpack_instr): Likewise for nibl_count and loop.
|
|
|
|
|
* z8kgen.c (gas <opcode_entry_type>): Make noperands, length and
|
|
|
|
|
idx unsigned.
|
|
|
|
|
* z8k-opc.h: Regenerate.
|
|
|
|
|
|
2020-01-07 21:25:15 +08:00
|
|
|
|
2020-01-07 Shahab Vahedi <shahab@synopsys.com>
|
|
|
|
|
|
|
|
|
|
* arc-tbl.h (llock): Use 'LLOCK' as class.
|
|
|
|
|
(llockd): Likewise.
|
|
|
|
|
(scond): Use 'SCOND' as class.
|
|
|
|
|
(scondd): Likewise.
|
|
|
|
|
(llockd): Set data_size_mode to 'C_ZZ_D' which is 64-bit.
|
|
|
|
|
(scondd): Likewise.
|
|
|
|
|
|
2020-01-04 17:23:19 +08:00
|
|
|
|
2020-01-06 Alan Modra <amodra@gmail.com>
|
|
|
|
|
|
|
|
|
|
* m32c-ibld.c: Regenerate.
|
|
|
|
|
|
2020-01-06 06:22:39 +08:00
|
|
|
|
2020-01-06 Alan Modra <amodra@gmail.com>
|
|
|
|
|
|
|
|
|
|
PR 25344
|
|
|
|
|
* z80-dis.c (suffix): Don't use a local struct buffer copy.
|
|
|
|
|
Peek at next byte to prevent recursion on repeated prefix bytes.
|
|
|
|
|
Ensure uninitialised "mybuf" is not accessed.
|
|
|
|
|
(print_insn_z80): Don't zero n_fetch and n_used here,..
|
|
|
|
|
(print_insn_z80_buf): ..do it here instead.
|
|
|
|
|
|
2020-01-04 05:41:43 +08:00
|
|
|
|
2020-01-04 Alan Modra <amodra@gmail.com>
|
|
|
|
|
|
|
|
|
|
* m32r-ibld.c: Regenerate.
|
|
|
|
|
|
2020-01-03 05:42:00 +08:00
|
|
|
|
2020-01-04 Alan Modra <amodra@gmail.com>
|
|
|
|
|
|
|
|
|
|
* cr16-dis.c (cr16_match_opcode): Avoid shift left of signed value.
|
|
|
|
|
|
2020-01-03 04:37:17 +08:00
|
|
|
|
2020-01-04 Alan Modra <amodra@gmail.com>
|
|
|
|
|
|
|
|
|
|
* crx-dis.c (match_opcode): Avoid shift left of signed value.
|
|
|
|
|
|
2020-01-01 16:16:43 +08:00
|
|
|
|
2020-01-04 Alan Modra <amodra@gmail.com>
|
|
|
|
|
|
|
|
|
|
* d30v-dis.c (print_insn): Avoid signed overflow in left shift.
|
|
|
|
|
|
2020-01-03 17:14:16 +08:00
|
|
|
|
2020-01-03 Jan Beulich <jbeulich@suse.com>
|
|
|
|
|
|
2020-01-03 17:16:44 +08:00
|
|
|
|
* aarch64-tbl.h (aarch64_opcode_table): Use
|
|
|
|
|
SVE_ADDR_RX_LSL{1,2,3} for LD1RO{H,W,D}.
|
|
|
|
|
|
|
|
|
|
2020-01-03 Jan Beulich <jbeulich@suse.com>
|
|
|
|
|
|
|
|
|
|
* aarch64-tbl.h (aarch64_opcode_table): Correct SIMD
|
2020-01-03 17:14:16 +08:00
|
|
|
|
forms of SUDOT and USDOT.
|
|
|
|
|
|
2020-01-03 17:13:31 +08:00
|
|
|
|
2020-01-03 Jan Beulich <jbeulich@suse.com>
|
|
|
|
|
|
2020-01-03 17:16:44 +08:00
|
|
|
|
* aarch64-tbl.h (aarch64_opcode_table): Drop 'i' from
|
2020-01-03 17:13:31 +08:00
|
|
|
|
uzip{1,2}.
|
2020-09-25 19:22:46 +08:00
|
|
|
|
* aarch64-dis-2.c: Re-generate.
|
2020-01-03 17:13:31 +08:00
|
|
|
|
|
2020-01-03 17:12:49 +08:00
|
|
|
|
2020-01-03 Jan Beulich <jbeulich@suse.com>
|
|
|
|
|
|
2020-01-03 17:16:44 +08:00
|
|
|
|
* aarch64-tbl.h (aarch64_opcode_table): Correct 64-bit
|
2020-01-03 17:12:49 +08:00
|
|
|
|
FMMLA encoding.
|
2020-09-25 19:22:46 +08:00
|
|
|
|
* aarch64-dis-2.c: Re-generate.
|
2020-01-03 17:12:49 +08:00
|
|
|
|
|
2020-01-02 22:10:40 +08:00
|
|
|
|
2020-01-02 Sergey Belyashov <sergey.belyashov@gmail.com>
|
|
|
|
|
|
|
|
|
|
* z80-dis.c: Add support for eZ80 and Z80 instructions.
|
|
|
|
|
|
2020-01-01 16:22:19 +08:00
|
|
|
|
2020-01-01 Alan Modra <amodra@gmail.com>
|
|
|
|
|
|
|
|
|
|
Update year range in copyright notice of all files.
|
|
|
|
|
|
2020-01-01 15:37:11 +08:00
|
|
|
|
For older changes see ChangeLog-2019
|
2016-01-01 18:44:31 +08:00
|
|
|
|
|
2020-01-01 15:37:11 +08:00
|
|
|
|
Copyright (C) 2020 Free Software Foundation, Inc.
|
2016-01-01 18:44:31 +08:00
|
|
|
|
|
|
|
|
|
Copying and distribution of this file, with or without modification,
|
|
|
|
|
are permitted in any medium without royalty provided the copyright
|
|
|
|
|
notice and this notice are preserved.
|
|
|
|
|
|
|
|
|
|
Local Variables:
|
|
|
|
|
mode: change-log
|
|
|
|
|
left-margin: 8
|
|
|
|
|
fill-column: 74
|
|
|
|
|
version-control: never
|
|
|
|
|
End:
|