Go to file
Claire Xenia Wolf 2652cfad8d RISC-V: Support riscv bitmanip frozen ZBA/ZBB/ZBC instructions (v0.93).
In fact rev8/orc.b/zext.h are the aliases of grevi/gorci/pack[w], so we
should update them to INSN_ALIAS when we have supported their true instruction
in the future.  Though we still use the [MATCH|MAKS]_[GREVI|GORCI|PACK|PACKW]
to encode them.  Besides, the orc.b has the same encoding both in rv32 and
rv64, so we just keep one of them in the opcode table.

This patch is implemented according to the following link,
https://github.com/riscv/riscv-bitmanip/pull/101

2021-01-07  Claire Xenia Wolf  <claire@symbioticeda.com>
            Jim Wilson  <jimw@sifive.com>
            Andrew Waterman  <andrew@sifive.com>
            Maxim Blinov  <maxim.blinov@embecosm.com>
            Kito Cheng  <kito.cheng@sifive.com>
            Nelson Chu  <nelson.chu@sifive.com>

bfd/
    * elfxx-riscv.c (riscv_std_z_ext_strtab): Added zba, zbb and zbc.
gas/
    * config/tc-riscv.c (riscv_multi_subset_supports): Handle INSN_CLASS_ZB*.
    (riscv_get_default_ext_version): Do not check the default_isa_spec when
    the version defined in the riscv_opcodes table is ISA_SPEC_CLASS_DRAFT.
    * testsuite/gas/riscv/bitmanip-insns-32.d: New testcase.
    * testsuite/gas/riscv/bitmanip-insns-64.d: Likewise.
    * testsuite/gas/riscv/bitmanip-insns.s: Likewise.
include/
    * opcode/riscv-opc.h: Added MASK/MATCH/DECLARE_INSN for ZBA/ZBB/ZBC.
    * opcode/riscv.h (riscv_insn_class): Added INSN_CLASS_ZB*.
    (enum riscv_isa_spec_class): Added ISA_SPEC_CLASS_DRAFT for the
    frozen extensions.
opcodes/
    * riscv-opc.c (riscv_opcodes): Add ZBA/ZBB/ZBC instructions.
    (MASK_RVB_IMM): Used for rev8 and orc.b encoding.
2021-01-07 11:44:54 +08:00
bfd RISC-V: Support riscv bitmanip frozen ZBA/ZBB/ZBC instructions (v0.93). 2021-01-07 11:44:54 +08:00
binutils binutils/readelf.c: Correct grammar in comment 2021-01-07 10:40:32 +10:30
config PR27116, Spelling errors found by Debian style checker 2021-01-01 14:36:35 +10:30
contrib
cpu
elfcpp Update year range in copyright notice of binutils files 2021-01-01 10:31:05 +10:30
etc Update year range in copyright notice of binutils files 2021-01-01 10:31:05 +10:30
gas RISC-V: Support riscv bitmanip frozen ZBA/ZBB/ZBC instructions (v0.93). 2021-01-07 11:44:54 +08:00
gdb Fix fixed-point binary operation type handling 2021-01-06 13:47:48 -07:00
gdbserver gdb: introduce scoped debug prints 2021-01-04 12:00:54 -05:00
gdbsupport gdbsupport: common-utils.h: fix typo in header 2021-01-06 05:52:06 -05:00
gnulib Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
gold PR27140, ppc32 segmentation fault in make_stub 2021-01-03 12:49:47 +10:30
gprof PR27116, Spelling errors found by Debian style checker 2021-01-01 14:36:35 +10:30
include RISC-V: Support riscv bitmanip frozen ZBA/ZBB/ZBC instructions (v0.93). 2021-01-07 11:44:54 +08:00
intl
ld Regen ld/po/BLD-POTFILES.in 2021-01-07 08:56:28 +10:30
libctf libctf, testsuite: adjust for real return type of ctf_member_count 2021-01-05 19:34:56 +00:00
libdecnumber
libiberty Update libiberty with latest sources from gcc mainline 2021-01-05 12:36:09 +00:00
opcodes RISC-V: Support riscv bitmanip frozen ZBA/ZBB/ZBC instructions (v0.93). 2021-01-07 11:44:54 +08:00
readline
sim sim: fr30: delete unused testsuite 2021-01-05 19:29:46 -05:00
texinfo
zlib
.cvsignore
.gitattributes
.gitignore Add gnu global outputs to .gitignore 2020-12-02 10:00:27 -05:00
ar-lib
ChangeLog config.sub update broke powerpc-eabivle 2021-01-07 08:56:28 +10:30
compile
config-ml.in
config.guess Update config.sub and config.guess 2021-01-05 15:55:59 +10:30
config.rpath
config.sub config.sub update broke powerpc-eabivle 2021-01-07 08:56:28 +10:30
configure
configure.ac
COPYING
COPYING3
COPYING3.LIB
COPYING.LIB
COPYING.LIBGLOSS
COPYING.NEWLIB
depcomp
djunpack.bat
install-sh
libtool.m4
lt~obsolete.m4
ltgcc.m4
ltmain.sh
ltoptions.m4
ltsugar.m4
ltversion.m4
MAINTAINERS
Makefile.def libctf: new testsuite 2021-01-05 14:53:40 +00:00
Makefile.in libctf: new testsuite 2021-01-05 14:53:40 +00:00
Makefile.tpl
makefile.vms
missing
mkdep
mkinstalldirs
move-if-change
multilib.am
README
README-maintainer-mode
setup.com
src-release.sh
symlink-tree
test-driver
ylwrap

		   README for GNU development tools

This directory contains various GNU compilers, assemblers, linkers, 
debuggers, etc., plus their support routines, definitions, and documentation.

If you are receiving this as part of a GDB release, see the file gdb/README.
If with a binutils release, see binutils/README;  if with a libg++ release,
see libg++/README, etc.  That'll give you info about this
package -- supported targets, how to use it, how to report bugs, etc.

It is now possible to automatically configure and build a variety of
tools with one command.  To build all of the tools contained herein,
run the ``configure'' script here, e.g.:

	./configure 
	make

To install them (by default in /usr/local/bin, /usr/local/lib, etc),
then do:
	make install

(If the configure script can't determine your type of computer, give it
the name as an argument, for instance ``./configure sun4''.  You can
use the script ``config.sub'' to test whether a name is recognized; if
it is, config.sub translates it to a triplet specifying CPU, vendor,
and OS.)

If you have more than one compiler on your system, it is often best to
explicitly set CC in the environment before running configure, and to
also set CC when running make.  For example (assuming sh/bash/ksh):

	CC=gcc ./configure
	make

A similar example using csh:

	setenv CC gcc
	./configure
	make

Much of the code and documentation enclosed is copyright by
the Free Software Foundation, Inc.  See the file COPYING or
COPYING.LIB in the various directories, for a description of the
GNU General Public License terms under which you can copy the files.

REPORTING BUGS: Again, see gdb/README, binutils/README, etc., for info
on where and how to report problems.