binutils-gdb/gas/doc
Nelson Chu 5a9f5403c7 RISC-V: PR27158, fixed UJ/SB types and added CSS/CL/CS types for .insn.
* Renamed obsolete UJ/SB types and RVC types, also added CSS/CL(CS) types,

[VALID/EXTRACT/ENCODE macros]
BTYPE_IMM:            Renamed from SBTYPE_IMM.
JTYPE_IMM:            Renamed from UJTYPE_IMM.
CITYPE_IMM:           Renamed from RVC_IMM.
CITYPE_LUI_IMM:       Renamed from RVC_LUI_IMM.
CITYPE_ADDI16SP_IMM:  Renamed from RVC_ADDI16SP_IMM.
CITYPE_LWSP_IMM:      Renamed from RVC_LWSP_IMM.
CITYPE_LDSP_IMM:      Renamed from RVC_LDSP_IMM.
CIWTYPE_IMM:          Renamed from RVC_UIMM8.
CIWTYPE_ADDI4SPN_IMM: Renamed from RVC_ADDI4SPN_IMM.
CSSTYPE_IMM:          Added for .insn without special encoding.
CSSTYPE_SWSP_IMM:     Renamed from RVC_SWSP_IMM.
CSSTYPE_SDSP_IMM:     Renamed from RVC_SDSP_IMM.
CLTYPE_IMM:           Added for .insn without special encoding.
CLTYPE_LW_IMM:        Renamed from RVC_LW_IMM.
CLTYPE_LD_IMM:        Renamed from RVC_LD_IMM.
RVC_SIMM3:            Unused and removed.
CBTYPE_IMM:           Renamed from RVC_B_IMM.
CJTYPE_IMM:           Renamed from RVC_J_IMM.

* Added new operands and removed the unused ones,

C5: Unsigned CL(CS) immediate, added for .insn directive.
C6: Unsigned CSS immediate, added for .insn directive.
Ci: Unused and removed.
C<: Unused and removed.

bfd/
    PR 27158
    * elfnn-riscv.c (perform_relocation): Updated encoding macros.
    (_bfd_riscv_relax_call): Likewise.
    (_bfd_riscv_relax_lui): Likewise.
    * elfxx-riscv.c (howto_table): Likewise.
gas/
    PR 27158
    * config/tc-riscv.c (riscv_ip): Updated encoding macros.
    (md_apply_fix): Likewise.
    (md_convert_frag_branch): Likewise.
    (validate_riscv_insn): Likewise.  Also arranged operands, including
    added C5 and C6 operands, and removed unused Ci and C< operands.
    * doc/c-riscv.texi: Updated and added CSS/CL/CS types.
    * testsuite/gas/riscv/insn.d: Added CSS/CL/CS instructions.
    * testsuite/gas/riscv/insn.s: Likewise.
gdb/
    PR 27158
    * riscv-tdep.c (decode_ci_type_insn): Updated encoding macros.
    (decode_j_type_insn): Likewise.
    (decode_cj_type_insn): Likewise.
    (decode_b_type_insn): Likewise.
    (decode): Likewise.
include/
    PR 27158
    * opcode/riscv.h: Updated encoding macros.
opcodes/
    PR 27158
    * riscv-dis.c (print_insn_args): Updated encoding macros.
    * riscv-opc.c (MASK_RVC_IMM): defined to ENCODE_CITYPE_IMM.
    (match_c_addi16sp): Updated encoding macros.
    (match_c_lui): Likewise.
    (match_c_lui_with_hint): Likewise.
    (match_c_addi4spn): Likewise.
    (match_c_slli): Likewise.
    (match_slli_as_c_slli): Likewise.
    (match_c_slli64): Likewise.
    (match_srxi_as_c_srxi): Likewise.
    (riscv_insn_types): Added .insn css/cl/cs.
sim/
    PR 27158
    * riscv/sim-main.c (execute_i): Updated encoding macros.
2021-02-19 11:44:49 +08:00
..
all.texi Update year range in copyright notice of binutils files 2021-01-01 10:31:05 +10:30
as.texi gas: make [248]byte directives available everywhere 2021-01-14 20:43:40 -05:00
c-aarch64.texi aarch64: Remove support for CSRE 2021-01-11 15:01:09 +00:00
c-alpha.texi Update year range in copyright notice of binutils files 2021-01-01 10:31:05 +10:30
c-arc.texi Update year range in copyright notice of binutils files 2021-01-01 10:31:05 +10:30
c-arm.texi Update year range in copyright notice of binutils files 2021-01-01 10:31:05 +10:30
c-avr.texi Update year range in copyright notice of binutils files 2021-01-01 10:31:05 +10:30
c-bfin.texi Update year range in copyright notice of binutils files 2021-01-01 10:31:05 +10:30
c-bpf.texi Update year range in copyright notice of binutils files 2021-01-01 10:31:05 +10:30
c-cr16.texi Update year range in copyright notice of binutils files 2021-01-01 10:31:05 +10:30
c-cris.texi Update year range in copyright notice of binutils files 2021-01-01 10:31:05 +10:30
c-csky.texi Update year range in copyright notice of binutils files 2021-01-01 10:31:05 +10:30
c-d10v.texi Update year range in copyright notice of binutils files 2021-01-01 10:31:05 +10:30
c-d30v.texi Update year range in copyright notice of binutils files 2021-01-01 10:31:05 +10:30
c-epiphany.texi Update year range in copyright notice of binutils files 2021-01-01 10:31:05 +10:30
c-h8300.texi Update year range in copyright notice of binutils files 2021-01-01 10:31:05 +10:30
c-hppa.texi Update year range in copyright notice of binutils files 2021-01-01 10:31:05 +10:30
c-i386.texi PR27116, Spelling errors found by Debian style checker 2021-01-01 14:36:35 +10:30
c-ia64.texi Update year range in copyright notice of binutils files 2021-01-01 10:31:05 +10:30
c-ip2k.texi Update year range in copyright notice of binutils files 2021-01-01 10:31:05 +10:30
c-lm32.texi Update year range in copyright notice of binutils files 2021-01-01 10:31:05 +10:30
c-m32c.texi Update year range in copyright notice of binutils files 2021-01-01 10:31:05 +10:30
c-m32r.texi Update year range in copyright notice of binutils files 2021-01-01 10:31:05 +10:30
c-m68hc11.texi Update year range in copyright notice of binutils files 2021-01-01 10:31:05 +10:30
c-m68k.texi Update year range in copyright notice of binutils files 2021-01-01 10:31:05 +10:30
c-metag.texi Update year range in copyright notice of binutils files 2021-01-01 10:31:05 +10:30
c-microblaze.texi Update year range in copyright notice of binutils files 2021-01-01 10:31:05 +10:30
c-mips.texi Update year range in copyright notice of binutils files 2021-01-01 10:31:05 +10:30
c-mmix.texi Update year range in copyright notice of binutils files 2021-01-01 10:31:05 +10:30
c-msp430.texi Update year range in copyright notice of binutils files 2021-01-01 10:31:05 +10:30
c-mt.texi Update year range in copyright notice of binutils files 2021-01-01 10:31:05 +10:30
c-nds32.texi Update year range in copyright notice of binutils files 2021-01-01 10:31:05 +10:30
c-nios2.texi Update year range in copyright notice of binutils files 2021-01-01 10:31:05 +10:30
c-ns32k.texi Update year range in copyright notice of binutils files 2021-01-01 10:31:05 +10:30
c-or1k.texi Update year range in copyright notice of binutils files 2021-01-01 10:31:05 +10:30
c-pdp11.texi Update year range in copyright notice of binutils files 2021-01-01 10:31:05 +10:30
c-pj.texi Update year range in copyright notice of binutils files 2021-01-01 10:31:05 +10:30
c-ppc.texi Update year range in copyright notice of binutils files 2021-01-01 10:31:05 +10:30
c-pru.texi Update year range in copyright notice of binutils files 2021-01-01 10:31:05 +10:30
c-riscv.texi RISC-V: PR27158, fixed UJ/SB types and added CSS/CL/CS types for .insn. 2021-02-19 11:44:49 +08:00
c-rl78.texi Update year range in copyright notice of binutils files 2021-01-01 10:31:05 +10:30
c-rx.texi Update year range in copyright notice of binutils files 2021-01-01 10:31:05 +10:30
c-s12z.texi Update year range in copyright notice of binutils files 2021-01-01 10:31:05 +10:30
c-s390.texi IBM Z: Implement instruction set extensions 2021-02-15 14:32:17 +01:00
c-score.texi Update year range in copyright notice of binutils files 2021-01-01 10:31:05 +10:30
c-sh.texi Update year range in copyright notice of binutils files 2021-01-01 10:31:05 +10:30
c-sparc.texi Update year range in copyright notice of binutils files 2021-01-01 10:31:05 +10:30
c-tic6x.texi Update year range in copyright notice of binutils files 2021-01-01 10:31:05 +10:30
c-tic54x.texi Update year range in copyright notice of binutils files 2021-01-01 10:31:05 +10:30
c-tilegx.texi Update year range in copyright notice of binutils files 2021-01-01 10:31:05 +10:30
c-tilepro.texi Update year range in copyright notice of binutils files 2021-01-01 10:31:05 +10:30
c-v850.texi Update year range in copyright notice of binutils files 2021-01-01 10:31:05 +10:30
c-vax.texi Update year range in copyright notice of binutils files 2021-01-01 10:31:05 +10:30
c-visium.texi Update year range in copyright notice of binutils files 2021-01-01 10:31:05 +10:30
c-wasm32.texi Update year range in copyright notice of binutils files 2021-01-01 10:31:05 +10:30
c-xc16x.texi Update year range in copyright notice of binutils files 2021-01-01 10:31:05 +10:30
c-xgate.texi Update year range in copyright notice of binutils files 2021-01-01 10:31:05 +10:30
c-xstormy16.texi Update year range in copyright notice of binutils files 2021-01-01 10:31:05 +10:30
c-xtensa.texi Update year range in copyright notice of binutils files 2021-01-01 10:31:05 +10:30
c-z8k.texi Update year range in copyright notice of binutils files 2021-01-01 10:31:05 +10:30
c-z80.texi Update year range in copyright notice of binutils files 2021-01-01 10:31:05 +10:30
fdl.texi
h8.texi Update year range in copyright notice of binutils files 2021-01-01 10:31:05 +10:30
internals.texi Update year range in copyright notice of binutils files 2021-01-01 10:31:05 +10:30
Makefile.am Update year range in copyright notice of binutils files 2021-01-01 10:31:05 +10:30
Makefile.in Regen Makefile.in for jobserver.m4 aclocal.m4 dependency 2021-01-13 22:06:02 +10:30