Jin Ma 77d242a06e RISC-V: THEAD: Add 5 assembly pseudoinstructions for XTheadVector extension
In order to make it easier to complete the compiler's support for
the XTheadVector extension and to be as compatible as possible
with the programming model of the 'V' extension ([1]), we consider
adding a few pseudo instructions ([2]).

th.vmmv.m vd,vs		=> th.vmand.mm vd,vs,vs
th.vneg.v vd,vs		=> th.vrsub.vx vd,vs,x0
th.vncvt.x.x.v vd,vs,vm	=> th.vnsrl.vx vd,vs,x0,vm
th.vfneg.v vd,vs	=> th.vfsgnjn.vv vd,vs,vs
th.vfabs.v vd,vs	=> th.vfsgnjx.vv vd,vs,vs

Ref:
[1] https://gcc.gnu.org/pipermail/gcc-patches/2023-December/641302.html
[2] https://github.com/T-head-Semi/thead-extension-spec/pull/40

Co-developed-by: Lifang Xia <lifang_xia@linux.alibaba.com>
Co-developed-by: Christoph Müllner <christoph.muellner@vrull.eu>

gas/ChangeLog:

	* testsuite/gas/riscv/x-thead-vector.d: Add tests for new
	pseudoinstructions.
	* testsuite/gas/riscv/x-thead-vector.s: Likewise.

opcodes/ChangeLog:

	* riscv-opc.c: Add new pseudoinstructions.
2023-12-29 08:55:30 +08:00
..
2023-11-15 12:53:04 +00:00
2023-12-19 15:35:49 +01:00
2023-12-19 15:35:49 +01:00
2023-12-19 15:35:49 +01:00
2023-11-15 12:53:04 +00:00
2023-08-02 12:06:23 +01:00
2023-08-26 13:09:38 -06:00
2023-11-15 12:53:04 +00:00
2021-01-01 10:31:02 +10:30
2023-11-15 12:53:04 +00:00
2023-11-15 12:53:04 +00:00
2023-11-15 12:53:04 +00:00
2023-08-03 21:20:33 +09:30
2023-08-16 14:22:54 +01:00
2023-12-28 11:41:45 +00:00
2023-12-28 11:41:45 +00:00
2023-12-28 11:41:45 +00:00
2023-12-28 11:52:52 +00:00
2023-12-28 11:14:41 +00:00
2023-12-28 11:45:14 +00:00
2023-12-28 11:45:14 +00:00
2023-12-28 11:45:14 +00:00
2023-12-28 11:45:14 +00:00
2023-08-24 12:36:25 +09:30
2023-08-16 14:22:54 +01:00
2023-03-16 17:30:19 +10:30
2023-03-16 17:30:19 +10:30