binutils-gdb/include
Nelson Chu c2137f55ad 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-10 10:50:44 +08:00
..
aout Fixes for the magic number used in PDP11 AOUT binaries. 2020-04-14 14:41:27 +01:00
cgen
coff Remove powerpc PE support 2020-07-09 22:58:16 +09:30
elf Remove references to the unofficial SHF_GNU_BUILD_NOTE section flag. 2020-12-07 16:17:40 +00:00
gdb
mach-o Recognize some new Mach-O load commands 2020-06-22 14:29:20 +01:00
opcode RISC-V: Add sext.[bh] and zext.[bhw] pseudo instructions. 2020-12-10 10:50:44 +08:00
som PR26457 UBSAN: som.c:1794 left shift cannot be represented 2020-08-31 20:28:09 +09:30
vms
alloca-conf.h
ansidecl.h
bfdlink.h bfd, include, ld, binutils, libctf: CTF should use the dynstr/sym 2020-11-20 13:34:07 +00:00
binary-io.h
bout.h
ChangeLog RISC-V: Add sext.[bh] and zext.[bhw] pseudo instructions. 2020-12-10 10:50:44 +08:00
ChangeLog-0415
ChangeLog-2016
ChangeLog-2017
ChangeLog-2018
ChangeLog-2019
ChangeLog-9103
COPYING
COPYING3
ctf-api.h libctf, include: support foreign-endianness symtabs with CTF 2020-11-25 19:11:35 +00:00
ctf.h libctf, include: CTF-archive-wide symbol lookup 2020-11-20 13:34:11 +00:00
demangle.h
diagnostics.h ada-lex.l: Ignore register diagnostic also for g++ defaulting to ISO C++17 2020-08-23 12:14:34 +02:00
dis-asm.h
dwarf2.def Sync libiberty and include with GCC for get_DW_UT_name. 2020-09-24 22:55:24 +02:00
dwarf2.h Sync libiberty and include with GCC for get_DW_UT_name. 2020-09-24 22:55:24 +02:00
dyn-string.h
environ.h
fibheap.h
filenames.h Sync config, include and libiberty with GCC 2020-06-24 16:52:48 -07:00
floatformat.h Sync include, libiberty with GCC. 2020-09-11 11:32:00 -07:00
fnmatch.h
fopen-bin.h
fopen-same.h
fopen-vms.h
gcc-c-fe.def
gcc-c-interface.h
gcc-cp-fe.def
gcc-cp-interface.h
gcc-interface.h
getopt.h
hashtab.h
hp-symtab.h
leb128.h
libiberty.h Remove the use of the register keyword in the libiberty.h header file - it is deprecated and incompatible with C++17. 2020-06-25 11:16:42 +01:00
longlong.h
lto-symtab.h include: Sync lto-symtab.h and plugin-api.h with GCC 2020-03-21 03:39:18 -07:00
MAINTAINERS
md5.h
oasys.h
objalloc.h
obstack.h
os9k.h
partition.h
plugin-api.h include: Sync plugin-api.h with GCC 2020-04-01 02:36:11 -07:00
progress.h
safe-ctype.h
sha1.h
simple-object.h
sort.h
splay-tree.h
symcat.h
timeval-utils.h
vtv-change-permission.h
xregex2.h
xregex.h
xtensa-config.h
xtensa-isa-internal.h
xtensa-isa.h