target/loongarch: Add fixed point arithmetic instruction translation
This includes:
- ADD.{W/D}, SUB.{W/D}
- ADDI.{W/D}, ADDU16ID
- ALSL.{W[U]/D}
- LU12I.W, LU32I.D LU52I.D
- SLT[U], SLT[U]I
- PCADDI, PCADDU12I, PCADDU18I, PCALAU12I
- AND, OR, NOR, XOR, ANDN, ORN
- MUL.{W/D}, MULH.{W[U]/D[U]}
- MULW.D.W[U]
- DIV.{W[U]/D[U]}, MOD.{W[U]/D[U]}
- ANDI, ORI, XORI
Signed-off-by: Song Gao <gaosong@loongson.cn>
Signed-off-by: Xiaojuan Yang <yangxiaojuan@loongson.cn>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20220606124333.2060567-5-yangxiaojuan@loongson.cn>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
2022-06-06 14:42:54 +02:00
|
|
|
# SPDX-License-Identifier: GPL-2.0-or-later
|
|
|
|
#
|
|
|
|
# LoongArch instruction decode definitions.
|
|
|
|
#
|
|
|
|
# Copyright (c) 2021 Loongson Technology Corporation Limited
|
|
|
|
#
|
|
|
|
|
|
|
|
#
|
|
|
|
# Fields
|
|
|
|
#
|
2022-06-06 14:42:57 +02:00
|
|
|
%i14s2 10:s14 !function=shl_2
|
target/loongarch: Add fixed point arithmetic instruction translation
This includes:
- ADD.{W/D}, SUB.{W/D}
- ADDI.{W/D}, ADDU16ID
- ALSL.{W[U]/D}
- LU12I.W, LU32I.D LU52I.D
- SLT[U], SLT[U]I
- PCADDI, PCADDU12I, PCADDU18I, PCALAU12I
- AND, OR, NOR, XOR, ANDN, ORN
- MUL.{W/D}, MULH.{W[U]/D[U]}
- MULW.D.W[U]
- DIV.{W[U]/D[U]}, MOD.{W[U]/D[U]}
- ANDI, ORI, XORI
Signed-off-by: Song Gao <gaosong@loongson.cn>
Signed-off-by: Xiaojuan Yang <yangxiaojuan@loongson.cn>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20220606124333.2060567-5-yangxiaojuan@loongson.cn>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
2022-06-06 14:42:54 +02:00
|
|
|
%sa2p1 15:2 !function=plus_1
|
2022-06-06 14:43:05 +02:00
|
|
|
%offs21 0:s5 10:16 !function=shl_2
|
|
|
|
%offs16 10:s16 !function=shl_2
|
|
|
|
%offs26 0:s10 10:16 !function=shl_2
|
target/loongarch: Add fixed point arithmetic instruction translation
This includes:
- ADD.{W/D}, SUB.{W/D}
- ADDI.{W/D}, ADDU16ID
- ALSL.{W[U]/D}
- LU12I.W, LU32I.D LU52I.D
- SLT[U], SLT[U]I
- PCADDI, PCADDU12I, PCADDU18I, PCALAU12I
- AND, OR, NOR, XOR, ANDN, ORN
- MUL.{W/D}, MULH.{W[U]/D[U]}
- MULW.D.W[U]
- DIV.{W[U]/D[U]}, MOD.{W[U]/D[U]}
- ANDI, ORI, XORI
Signed-off-by: Song Gao <gaosong@loongson.cn>
Signed-off-by: Xiaojuan Yang <yangxiaojuan@loongson.cn>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20220606124333.2060567-5-yangxiaojuan@loongson.cn>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
2022-06-06 14:42:54 +02:00
|
|
|
|
|
|
|
#
|
|
|
|
# Argument sets
|
|
|
|
#
|
2022-06-06 14:42:57 +02:00
|
|
|
&i imm
|
target/loongarch: Add fixed point arithmetic instruction translation
This includes:
- ADD.{W/D}, SUB.{W/D}
- ADDI.{W/D}, ADDU16ID
- ALSL.{W[U]/D}
- LU12I.W, LU32I.D LU52I.D
- SLT[U], SLT[U]I
- PCADDI, PCADDU12I, PCADDU18I, PCALAU12I
- AND, OR, NOR, XOR, ANDN, ORN
- MUL.{W/D}, MULH.{W[U]/D[U]}
- MULW.D.W[U]
- DIV.{W[U]/D[U]}, MOD.{W[U]/D[U]}
- ANDI, ORI, XORI
Signed-off-by: Song Gao <gaosong@loongson.cn>
Signed-off-by: Xiaojuan Yang <yangxiaojuan@loongson.cn>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20220606124333.2060567-5-yangxiaojuan@loongson.cn>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
2022-06-06 14:42:54 +02:00
|
|
|
&r_i rd imm
|
2022-06-06 14:42:56 +02:00
|
|
|
&rr rd rj
|
2022-06-06 14:42:59 +02:00
|
|
|
&rr_jk rj rk
|
target/loongarch: Add fixed point arithmetic instruction translation
This includes:
- ADD.{W/D}, SUB.{W/D}
- ADDI.{W/D}, ADDU16ID
- ALSL.{W[U]/D}
- LU12I.W, LU32I.D LU52I.D
- SLT[U], SLT[U]I
- PCADDI, PCADDU12I, PCADDU18I, PCALAU12I
- AND, OR, NOR, XOR, ANDN, ORN
- MUL.{W/D}, MULH.{W[U]/D[U]}
- MULW.D.W[U]
- DIV.{W[U]/D[U]}, MOD.{W[U]/D[U]}
- ANDI, ORI, XORI
Signed-off-by: Song Gao <gaosong@loongson.cn>
Signed-off-by: Xiaojuan Yang <yangxiaojuan@loongson.cn>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20220606124333.2060567-5-yangxiaojuan@loongson.cn>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
2022-06-06 14:42:54 +02:00
|
|
|
&rrr rd rj rk
|
|
|
|
&rr_i rd rj imm
|
2022-06-06 14:42:57 +02:00
|
|
|
&hint_r_i hint rj imm
|
target/loongarch: Add fixed point arithmetic instruction translation
This includes:
- ADD.{W/D}, SUB.{W/D}
- ADDI.{W/D}, ADDU16ID
- ALSL.{W[U]/D}
- LU12I.W, LU32I.D LU52I.D
- SLT[U], SLT[U]I
- PCADDI, PCADDU12I, PCADDU18I, PCALAU12I
- AND, OR, NOR, XOR, ANDN, ORN
- MUL.{W/D}, MULH.{W[U]/D[U]}
- MULW.D.W[U]
- DIV.{W[U]/D[U]}, MOD.{W[U]/D[U]}
- ANDI, ORI, XORI
Signed-off-by: Song Gao <gaosong@loongson.cn>
Signed-off-by: Xiaojuan Yang <yangxiaojuan@loongson.cn>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20220606124333.2060567-5-yangxiaojuan@loongson.cn>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
2022-06-06 14:42:54 +02:00
|
|
|
&rrr_sa rd rj rk sa
|
2022-06-06 14:42:56 +02:00
|
|
|
&rr_ms_ls rd rj ms ls
|
2022-06-06 14:43:00 +02:00
|
|
|
&ff fd fj
|
|
|
|
&fff fd fj fk
|
|
|
|
&ffff fd fj fk fa
|
2022-06-06 14:43:01 +02:00
|
|
|
&cff_fcond cd fj fk fcond
|
2022-06-06 14:43:03 +02:00
|
|
|
&fffc fd fj fk ca
|
|
|
|
&fr fd rj
|
|
|
|
&rf rd fj
|
|
|
|
&fcsrd_r fcsrd rj
|
|
|
|
&r_fcsrs rd fcsrs
|
|
|
|
&cf cd fj
|
|
|
|
&fc fd cj
|
|
|
|
&cr cd rj
|
|
|
|
&rc rd cj
|
2022-06-06 14:43:04 +02:00
|
|
|
&frr fd rj rk
|
|
|
|
&fr_i fd rj imm
|
2022-06-06 14:43:05 +02:00
|
|
|
&r_offs rj offs
|
|
|
|
&c_offs cj offs
|
|
|
|
&offs offs
|
|
|
|
&rr_offs rj rd offs
|
2022-06-06 14:43:15 +02:00
|
|
|
&r_csr rd csr
|
|
|
|
&rr_csr rd rj csr
|
2022-06-06 14:43:17 +02:00
|
|
|
&empty
|
|
|
|
&i_rr imm rj rk
|
2022-06-06 14:43:18 +02:00
|
|
|
&cop_r_i cop rj imm
|
|
|
|
&j_i rj imm
|
target/loongarch: Add fixed point arithmetic instruction translation
This includes:
- ADD.{W/D}, SUB.{W/D}
- ADDI.{W/D}, ADDU16ID
- ALSL.{W[U]/D}
- LU12I.W, LU32I.D LU52I.D
- SLT[U], SLT[U]I
- PCADDI, PCADDU12I, PCADDU18I, PCALAU12I
- AND, OR, NOR, XOR, ANDN, ORN
- MUL.{W/D}, MULH.{W[U]/D[U]}
- MULW.D.W[U]
- DIV.{W[U]/D[U]}, MOD.{W[U]/D[U]}
- ANDI, ORI, XORI
Signed-off-by: Song Gao <gaosong@loongson.cn>
Signed-off-by: Xiaojuan Yang <yangxiaojuan@loongson.cn>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20220606124333.2060567-5-yangxiaojuan@loongson.cn>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
2022-06-06 14:42:54 +02:00
|
|
|
|
|
|
|
#
|
|
|
|
# Formats
|
|
|
|
#
|
2022-06-06 14:42:57 +02:00
|
|
|
@i15 .... ........ ..... imm:15 &i
|
2022-06-06 14:42:56 +02:00
|
|
|
@rr .... ........ ..... ..... rj:5 rd:5 &rr
|
2022-06-06 14:42:59 +02:00
|
|
|
@rr_jk .... ........ ..... rk:5 rj:5 ..... &rr_jk
|
target/loongarch: Add fixed point arithmetic instruction translation
This includes:
- ADD.{W/D}, SUB.{W/D}
- ADDI.{W/D}, ADDU16ID
- ALSL.{W[U]/D}
- LU12I.W, LU32I.D LU52I.D
- SLT[U], SLT[U]I
- PCADDI, PCADDU12I, PCADDU18I, PCALAU12I
- AND, OR, NOR, XOR, ANDN, ORN
- MUL.{W/D}, MULH.{W[U]/D[U]}
- MULW.D.W[U]
- DIV.{W[U]/D[U]}, MOD.{W[U]/D[U]}
- ANDI, ORI, XORI
Signed-off-by: Song Gao <gaosong@loongson.cn>
Signed-off-by: Xiaojuan Yang <yangxiaojuan@loongson.cn>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20220606124333.2060567-5-yangxiaojuan@loongson.cn>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
2022-06-06 14:42:54 +02:00
|
|
|
@rrr .... ........ ..... rk:5 rj:5 rd:5 &rrr
|
|
|
|
@r_i20 .... ... imm:s20 rd:5 &r_i
|
target/loongarch: Add fixed point shift instruction translation
This includes:
- SLL.W, SRL.W, SRA.W, ROTR.W
- SLLI.W, SRLI.W, SRAI.W, ROTRI.W
- SLL.D, SRL.D, SRA.D, ROTR.D
- SLLI.D, SRLI.D, SRAI.D, ROTRI.D
Signed-off-by: Song Gao <gaosong@loongson.cn>
Signed-off-by: Xiaojuan Yang <yangxiaojuan@loongson.cn>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20220606124333.2060567-6-yangxiaojuan@loongson.cn>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
2022-06-06 14:42:55 +02:00
|
|
|
@rr_ui5 .... ........ ..... imm:5 rj:5 rd:5 &rr_i
|
|
|
|
@rr_ui6 .... ........ .... imm:6 rj:5 rd:5 &rr_i
|
2022-06-06 14:43:18 +02:00
|
|
|
@rr_ui8 .. ........ .... imm:8 rj:5 rd:5 &rr_i
|
target/loongarch: Add fixed point arithmetic instruction translation
This includes:
- ADD.{W/D}, SUB.{W/D}
- ADDI.{W/D}, ADDU16ID
- ALSL.{W[U]/D}
- LU12I.W, LU32I.D LU52I.D
- SLT[U], SLT[U]I
- PCADDI, PCADDU12I, PCADDU18I, PCALAU12I
- AND, OR, NOR, XOR, ANDN, ORN
- MUL.{W/D}, MULH.{W[U]/D[U]}
- MULW.D.W[U]
- DIV.{W[U]/D[U]}, MOD.{W[U]/D[U]}
- ANDI, ORI, XORI
Signed-off-by: Song Gao <gaosong@loongson.cn>
Signed-off-by: Xiaojuan Yang <yangxiaojuan@loongson.cn>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20220606124333.2060567-5-yangxiaojuan@loongson.cn>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
2022-06-06 14:42:54 +02:00
|
|
|
@rr_i12 .... ...... imm:s12 rj:5 rd:5 &rr_i
|
|
|
|
@rr_ui12 .... ...... imm:12 rj:5 rd:5 &rr_i
|
2022-06-06 14:42:57 +02:00
|
|
|
@rr_i14s2 .... .... .............. rj:5 rd:5 &rr_i imm=%i14s2
|
target/loongarch: Add fixed point arithmetic instruction translation
This includes:
- ADD.{W/D}, SUB.{W/D}
- ADDI.{W/D}, ADDU16ID
- ALSL.{W[U]/D}
- LU12I.W, LU32I.D LU52I.D
- SLT[U], SLT[U]I
- PCADDI, PCADDU12I, PCADDU18I, PCALAU12I
- AND, OR, NOR, XOR, ANDN, ORN
- MUL.{W/D}, MULH.{W[U]/D[U]}
- MULW.D.W[U]
- DIV.{W[U]/D[U]}, MOD.{W[U]/D[U]}
- ANDI, ORI, XORI
Signed-off-by: Song Gao <gaosong@loongson.cn>
Signed-off-by: Xiaojuan Yang <yangxiaojuan@loongson.cn>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20220606124333.2060567-5-yangxiaojuan@loongson.cn>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
2022-06-06 14:42:54 +02:00
|
|
|
@rr_i16 .... .. imm:s16 rj:5 rd:5 &rr_i
|
2023-01-18 01:32:38 +01:00
|
|
|
@rr_i16s2 .... .. ................ rj:5 rd:5 &rr_i imm=%offs16
|
2022-06-06 14:42:57 +02:00
|
|
|
@hint_r_i12 .... ...... imm:s12 rj:5 hint:5 &hint_r_i
|
target/loongarch: Add fixed point arithmetic instruction translation
This includes:
- ADD.{W/D}, SUB.{W/D}
- ADDI.{W/D}, ADDU16ID
- ALSL.{W[U]/D}
- LU12I.W, LU32I.D LU52I.D
- SLT[U], SLT[U]I
- PCADDI, PCADDU12I, PCADDU18I, PCALAU12I
- AND, OR, NOR, XOR, ANDN, ORN
- MUL.{W/D}, MULH.{W[U]/D[U]}
- MULW.D.W[U]
- DIV.{W[U]/D[U]}, MOD.{W[U]/D[U]}
- ANDI, ORI, XORI
Signed-off-by: Song Gao <gaosong@loongson.cn>
Signed-off-by: Xiaojuan Yang <yangxiaojuan@loongson.cn>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20220606124333.2060567-5-yangxiaojuan@loongson.cn>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
2022-06-06 14:42:54 +02:00
|
|
|
@rrr_sa2p1 .... ........ ... .. rk:5 rj:5 rd:5 &rrr_sa sa=%sa2p1
|
2022-06-06 14:42:56 +02:00
|
|
|
@rrr_sa2 .... ........ ... sa:2 rk:5 rj:5 rd:5 &rrr_sa
|
|
|
|
@rrr_sa3 .... ........ .. sa:3 rk:5 rj:5 rd:5 &rrr_sa
|
|
|
|
@rr_2bw .... ....... ms:5 . ls:5 rj:5 rd:5 &rr_ms_ls
|
|
|
|
@rr_2bd .... ...... ms:6 ls:6 rj:5 rd:5 &rr_ms_ls
|
2022-06-06 14:43:00 +02:00
|
|
|
@ff .... ........ ..... ..... fj:5 fd:5 &ff
|
|
|
|
@fff .... ........ ..... fk:5 fj:5 fd:5 &fff
|
|
|
|
@ffff .... ........ fa:5 fk:5 fj:5 fd:5 &ffff
|
2022-06-06 14:43:01 +02:00
|
|
|
@cff_fcond .... ........ fcond:5 fk:5 fj:5 .. cd:3 &cff_fcond
|
2022-06-06 14:43:03 +02:00
|
|
|
@fffc .... ........ .. ca:3 fk:5 fj:5 fd:5 &fffc
|
|
|
|
@fr .... ........ ..... ..... rj:5 fd:5 &fr
|
|
|
|
@rf .... ........ ..... ..... fj:5 rd:5 &rf
|
|
|
|
@fcsrd_r .... ........ ..... ..... rj:5 fcsrd:5 &fcsrd_r
|
|
|
|
@r_fcsrs .... ........ ..... ..... fcsrs:5 rd:5 &r_fcsrs
|
|
|
|
@cf .... ........ ..... ..... fj:5 .. cd:3 &cf
|
|
|
|
@fc .... ........ ..... ..... .. cj:3 fd:5 &fc
|
|
|
|
@cr .... ........ ..... ..... rj:5 .. cd:3 &cr
|
|
|
|
@rc .... ........ ..... ..... .. cj:3 rd:5 &rc
|
2022-06-06 14:43:04 +02:00
|
|
|
@frr .... ........ ..... rk:5 rj:5 fd:5 &frr
|
|
|
|
@fr_i12 .... ...... imm:s12 rj:5 fd:5 &fr_i
|
2022-06-06 14:43:05 +02:00
|
|
|
@r_offs21 .... .. ................ rj:5 ..... &r_offs offs=%offs21
|
|
|
|
@c_offs21 .... .. ................ .. cj:3 ..... &c_offs offs=%offs21
|
|
|
|
@offs26 .... .. .......................... &offs offs=%offs26
|
|
|
|
@rr_offs16 .... .. ................ rj:5 rd:5 &rr_offs offs=%offs16
|
2022-06-06 14:43:15 +02:00
|
|
|
@r_csr .... .... csr:14 ..... rd:5 &r_csr
|
|
|
|
@rr_csr .... .... csr:14 rj:5 rd:5 &rr_csr
|
2022-06-06 14:43:17 +02:00
|
|
|
@empty .... ........ ..... ..... ..... ..... &empty
|
|
|
|
@i_rr ...... ...... ..... rk:5 rj:5 imm:5 &i_rr
|
2022-06-06 14:43:18 +02:00
|
|
|
@cop_r_i .... ...... imm:s12 rj:5 cop:5 &cop_r_i
|
|
|
|
@j_i .... ........ .. imm:8 rj:5 ..... &j_i
|
target/loongarch: Add fixed point arithmetic instruction translation
This includes:
- ADD.{W/D}, SUB.{W/D}
- ADDI.{W/D}, ADDU16ID
- ALSL.{W[U]/D}
- LU12I.W, LU32I.D LU52I.D
- SLT[U], SLT[U]I
- PCADDI, PCADDU12I, PCADDU18I, PCALAU12I
- AND, OR, NOR, XOR, ANDN, ORN
- MUL.{W/D}, MULH.{W[U]/D[U]}
- MULW.D.W[U]
- DIV.{W[U]/D[U]}, MOD.{W[U]/D[U]}
- ANDI, ORI, XORI
Signed-off-by: Song Gao <gaosong@loongson.cn>
Signed-off-by: Xiaojuan Yang <yangxiaojuan@loongson.cn>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20220606124333.2060567-5-yangxiaojuan@loongson.cn>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
2022-06-06 14:42:54 +02:00
|
|
|
|
|
|
|
#
|
|
|
|
# Fixed point arithmetic operation instruction
|
|
|
|
#
|
|
|
|
add_w 0000 00000001 00000 ..... ..... ..... @rrr
|
|
|
|
add_d 0000 00000001 00001 ..... ..... ..... @rrr
|
|
|
|
sub_w 0000 00000001 00010 ..... ..... ..... @rrr
|
|
|
|
sub_d 0000 00000001 00011 ..... ..... ..... @rrr
|
|
|
|
slt 0000 00000001 00100 ..... ..... ..... @rrr
|
|
|
|
sltu 0000 00000001 00101 ..... ..... ..... @rrr
|
|
|
|
slti 0000 001000 ............ ..... ..... @rr_i12
|
|
|
|
sltui 0000 001001 ............ ..... ..... @rr_i12
|
|
|
|
nor 0000 00000001 01000 ..... ..... ..... @rrr
|
|
|
|
and 0000 00000001 01001 ..... ..... ..... @rrr
|
|
|
|
or 0000 00000001 01010 ..... ..... ..... @rrr
|
|
|
|
xor 0000 00000001 01011 ..... ..... ..... @rrr
|
|
|
|
orn 0000 00000001 01100 ..... ..... ..... @rrr
|
|
|
|
andn 0000 00000001 01101 ..... ..... ..... @rrr
|
|
|
|
mul_w 0000 00000001 11000 ..... ..... ..... @rrr
|
|
|
|
mulh_w 0000 00000001 11001 ..... ..... ..... @rrr
|
|
|
|
mulh_wu 0000 00000001 11010 ..... ..... ..... @rrr
|
|
|
|
mul_d 0000 00000001 11011 ..... ..... ..... @rrr
|
|
|
|
mulh_d 0000 00000001 11100 ..... ..... ..... @rrr
|
|
|
|
mulh_du 0000 00000001 11101 ..... ..... ..... @rrr
|
|
|
|
mulw_d_w 0000 00000001 11110 ..... ..... ..... @rrr
|
|
|
|
mulw_d_wu 0000 00000001 11111 ..... ..... ..... @rrr
|
|
|
|
div_w 0000 00000010 00000 ..... ..... ..... @rrr
|
|
|
|
mod_w 0000 00000010 00001 ..... ..... ..... @rrr
|
|
|
|
div_wu 0000 00000010 00010 ..... ..... ..... @rrr
|
|
|
|
mod_wu 0000 00000010 00011 ..... ..... ..... @rrr
|
|
|
|
div_d 0000 00000010 00100 ..... ..... ..... @rrr
|
|
|
|
mod_d 0000 00000010 00101 ..... ..... ..... @rrr
|
|
|
|
div_du 0000 00000010 00110 ..... ..... ..... @rrr
|
|
|
|
mod_du 0000 00000010 00111 ..... ..... ..... @rrr
|
|
|
|
alsl_w 0000 00000000 010 .. ..... ..... ..... @rrr_sa2p1
|
|
|
|
alsl_wu 0000 00000000 011 .. ..... ..... ..... @rrr_sa2p1
|
|
|
|
alsl_d 0000 00000010 110 .. ..... ..... ..... @rrr_sa2p1
|
|
|
|
lu12i_w 0001 010 .................... ..... @r_i20
|
|
|
|
lu32i_d 0001 011 .................... ..... @r_i20
|
|
|
|
lu52i_d 0000 001100 ............ ..... ..... @rr_i12
|
|
|
|
pcaddi 0001 100 .................... ..... @r_i20
|
|
|
|
pcalau12i 0001 101 .................... ..... @r_i20
|
|
|
|
pcaddu12i 0001 110 .................... ..... @r_i20
|
|
|
|
pcaddu18i 0001 111 .................... ..... @r_i20
|
|
|
|
addi_w 0000 001010 ............ ..... ..... @rr_i12
|
|
|
|
addi_d 0000 001011 ............ ..... ..... @rr_i12
|
|
|
|
addu16i_d 0001 00 ................ ..... ..... @rr_i16
|
|
|
|
andi 0000 001101 ............ ..... ..... @rr_ui12
|
|
|
|
ori 0000 001110 ............ ..... ..... @rr_ui12
|
|
|
|
xori 0000 001111 ............ ..... ..... @rr_ui12
|
target/loongarch: Add fixed point shift instruction translation
This includes:
- SLL.W, SRL.W, SRA.W, ROTR.W
- SLLI.W, SRLI.W, SRAI.W, ROTRI.W
- SLL.D, SRL.D, SRA.D, ROTR.D
- SLLI.D, SRLI.D, SRAI.D, ROTRI.D
Signed-off-by: Song Gao <gaosong@loongson.cn>
Signed-off-by: Xiaojuan Yang <yangxiaojuan@loongson.cn>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20220606124333.2060567-6-yangxiaojuan@loongson.cn>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
2022-06-06 14:42:55 +02:00
|
|
|
|
|
|
|
#
|
|
|
|
# Fixed point shift operation instruction
|
|
|
|
#
|
|
|
|
sll_w 0000 00000001 01110 ..... ..... ..... @rrr
|
|
|
|
srl_w 0000 00000001 01111 ..... ..... ..... @rrr
|
|
|
|
sra_w 0000 00000001 10000 ..... ..... ..... @rrr
|
|
|
|
sll_d 0000 00000001 10001 ..... ..... ..... @rrr
|
|
|
|
srl_d 0000 00000001 10010 ..... ..... ..... @rrr
|
|
|
|
sra_d 0000 00000001 10011 ..... ..... ..... @rrr
|
|
|
|
rotr_w 0000 00000001 10110 ..... ..... ..... @rrr
|
|
|
|
rotr_d 0000 00000001 10111 ..... ..... ..... @rrr
|
|
|
|
slli_w 0000 00000100 00001 ..... ..... ..... @rr_ui5
|
|
|
|
slli_d 0000 00000100 0001 ...... ..... ..... @rr_ui6
|
|
|
|
srli_w 0000 00000100 01001 ..... ..... ..... @rr_ui5
|
|
|
|
srli_d 0000 00000100 0101 ...... ..... ..... @rr_ui6
|
|
|
|
srai_w 0000 00000100 10001 ..... ..... ..... @rr_ui5
|
|
|
|
srai_d 0000 00000100 1001 ...... ..... ..... @rr_ui6
|
|
|
|
rotri_w 0000 00000100 11001 ..... ..... ..... @rr_ui5
|
|
|
|
rotri_d 0000 00000100 1101 ...... ..... ..... @rr_ui6
|
2022-06-06 14:42:56 +02:00
|
|
|
|
|
|
|
#
|
|
|
|
# Fixed point bit operation instruction
|
|
|
|
#
|
|
|
|
ext_w_h 0000 00000000 00000 10110 ..... ..... @rr
|
|
|
|
ext_w_b 0000 00000000 00000 10111 ..... ..... @rr
|
|
|
|
clo_w 0000 00000000 00000 00100 ..... ..... @rr
|
|
|
|
clz_w 0000 00000000 00000 00101 ..... ..... @rr
|
|
|
|
cto_w 0000 00000000 00000 00110 ..... ..... @rr
|
|
|
|
ctz_w 0000 00000000 00000 00111 ..... ..... @rr
|
|
|
|
clo_d 0000 00000000 00000 01000 ..... ..... @rr
|
|
|
|
clz_d 0000 00000000 00000 01001 ..... ..... @rr
|
|
|
|
cto_d 0000 00000000 00000 01010 ..... ..... @rr
|
|
|
|
ctz_d 0000 00000000 00000 01011 ..... ..... @rr
|
|
|
|
revb_2h 0000 00000000 00000 01100 ..... ..... @rr
|
|
|
|
revb_4h 0000 00000000 00000 01101 ..... ..... @rr
|
|
|
|
revb_2w 0000 00000000 00000 01110 ..... ..... @rr
|
|
|
|
revb_d 0000 00000000 00000 01111 ..... ..... @rr
|
|
|
|
revh_2w 0000 00000000 00000 10000 ..... ..... @rr
|
|
|
|
revh_d 0000 00000000 00000 10001 ..... ..... @rr
|
|
|
|
bitrev_4b 0000 00000000 00000 10010 ..... ..... @rr
|
|
|
|
bitrev_8b 0000 00000000 00000 10011 ..... ..... @rr
|
|
|
|
bitrev_w 0000 00000000 00000 10100 ..... ..... @rr
|
|
|
|
bitrev_d 0000 00000000 00000 10101 ..... ..... @rr
|
|
|
|
bytepick_w 0000 00000000 100 .. ..... ..... ..... @rrr_sa2
|
|
|
|
bytepick_d 0000 00000000 11 ... ..... ..... ..... @rrr_sa3
|
|
|
|
maskeqz 0000 00000001 00110 ..... ..... ..... @rrr
|
|
|
|
masknez 0000 00000001 00111 ..... ..... ..... @rrr
|
|
|
|
bstrins_w 0000 0000011 ..... 0 ..... ..... ..... @rr_2bw
|
|
|
|
bstrpick_w 0000 0000011 ..... 1 ..... ..... ..... @rr_2bw
|
|
|
|
bstrins_d 0000 000010 ...... ...... ..... ..... @rr_2bd
|
|
|
|
bstrpick_d 0000 000011 ...... ...... ..... ..... @rr_2bd
|
2022-06-06 14:42:57 +02:00
|
|
|
|
|
|
|
#
|
|
|
|
# Fixed point load/store instruction
|
|
|
|
#
|
|
|
|
ld_b 0010 100000 ............ ..... ..... @rr_i12
|
|
|
|
ld_h 0010 100001 ............ ..... ..... @rr_i12
|
|
|
|
ld_w 0010 100010 ............ ..... ..... @rr_i12
|
|
|
|
ld_d 0010 100011 ............ ..... ..... @rr_i12
|
|
|
|
st_b 0010 100100 ............ ..... ..... @rr_i12
|
|
|
|
st_h 0010 100101 ............ ..... ..... @rr_i12
|
|
|
|
st_w 0010 100110 ............ ..... ..... @rr_i12
|
|
|
|
st_d 0010 100111 ............ ..... ..... @rr_i12
|
|
|
|
ld_bu 0010 101000 ............ ..... ..... @rr_i12
|
|
|
|
ld_hu 0010 101001 ............ ..... ..... @rr_i12
|
|
|
|
ld_wu 0010 101010 ............ ..... ..... @rr_i12
|
|
|
|
ldx_b 0011 10000000 00000 ..... ..... ..... @rrr
|
|
|
|
ldx_h 0011 10000000 01000 ..... ..... ..... @rrr
|
|
|
|
ldx_w 0011 10000000 10000 ..... ..... ..... @rrr
|
|
|
|
ldx_d 0011 10000000 11000 ..... ..... ..... @rrr
|
|
|
|
stx_b 0011 10000001 00000 ..... ..... ..... @rrr
|
|
|
|
stx_h 0011 10000001 01000 ..... ..... ..... @rrr
|
|
|
|
stx_w 0011 10000001 10000 ..... ..... ..... @rrr
|
|
|
|
stx_d 0011 10000001 11000 ..... ..... ..... @rrr
|
|
|
|
ldx_bu 0011 10000010 00000 ..... ..... ..... @rrr
|
|
|
|
ldx_hu 0011 10000010 01000 ..... ..... ..... @rrr
|
|
|
|
ldx_wu 0011 10000010 10000 ..... ..... ..... @rrr
|
|
|
|
preld 0010 101011 ............ ..... ..... @hint_r_i12
|
|
|
|
dbar 0011 10000111 00100 ............... @i15
|
|
|
|
ibar 0011 10000111 00101 ............... @i15
|
|
|
|
ldptr_w 0010 0100 .............. ..... ..... @rr_i14s2
|
|
|
|
stptr_w 0010 0101 .............. ..... ..... @rr_i14s2
|
|
|
|
ldptr_d 0010 0110 .............. ..... ..... @rr_i14s2
|
|
|
|
stptr_d 0010 0111 .............. ..... ..... @rr_i14s2
|
|
|
|
ldgt_b 0011 10000111 10000 ..... ..... ..... @rrr
|
|
|
|
ldgt_h 0011 10000111 10001 ..... ..... ..... @rrr
|
|
|
|
ldgt_w 0011 10000111 10010 ..... ..... ..... @rrr
|
|
|
|
ldgt_d 0011 10000111 10011 ..... ..... ..... @rrr
|
|
|
|
ldle_b 0011 10000111 10100 ..... ..... ..... @rrr
|
|
|
|
ldle_h 0011 10000111 10101 ..... ..... ..... @rrr
|
|
|
|
ldle_w 0011 10000111 10110 ..... ..... ..... @rrr
|
|
|
|
ldle_d 0011 10000111 10111 ..... ..... ..... @rrr
|
|
|
|
stgt_b 0011 10000111 11000 ..... ..... ..... @rrr
|
|
|
|
stgt_h 0011 10000111 11001 ..... ..... ..... @rrr
|
|
|
|
stgt_w 0011 10000111 11010 ..... ..... ..... @rrr
|
|
|
|
stgt_d 0011 10000111 11011 ..... ..... ..... @rrr
|
|
|
|
stle_b 0011 10000111 11100 ..... ..... ..... @rrr
|
|
|
|
stle_h 0011 10000111 11101 ..... ..... ..... @rrr
|
|
|
|
stle_w 0011 10000111 11110 ..... ..... ..... @rrr
|
|
|
|
stle_d 0011 10000111 11111 ..... ..... ..... @rrr
|
2022-06-06 14:42:58 +02:00
|
|
|
|
|
|
|
#
|
|
|
|
# Fixed point atomic instruction
|
|
|
|
#
|
|
|
|
ll_w 0010 0000 .............. ..... ..... @rr_i14s2
|
|
|
|
sc_w 0010 0001 .............. ..... ..... @rr_i14s2
|
|
|
|
ll_d 0010 0010 .............. ..... ..... @rr_i14s2
|
|
|
|
sc_d 0010 0011 .............. ..... ..... @rr_i14s2
|
|
|
|
amswap_w 0011 10000110 00000 ..... ..... ..... @rrr
|
|
|
|
amswap_d 0011 10000110 00001 ..... ..... ..... @rrr
|
|
|
|
amadd_w 0011 10000110 00010 ..... ..... ..... @rrr
|
|
|
|
amadd_d 0011 10000110 00011 ..... ..... ..... @rrr
|
|
|
|
amand_w 0011 10000110 00100 ..... ..... ..... @rrr
|
|
|
|
amand_d 0011 10000110 00101 ..... ..... ..... @rrr
|
|
|
|
amor_w 0011 10000110 00110 ..... ..... ..... @rrr
|
|
|
|
amor_d 0011 10000110 00111 ..... ..... ..... @rrr
|
|
|
|
amxor_w 0011 10000110 01000 ..... ..... ..... @rrr
|
|
|
|
amxor_d 0011 10000110 01001 ..... ..... ..... @rrr
|
|
|
|
ammax_w 0011 10000110 01010 ..... ..... ..... @rrr
|
|
|
|
ammax_d 0011 10000110 01011 ..... ..... ..... @rrr
|
|
|
|
ammin_w 0011 10000110 01100 ..... ..... ..... @rrr
|
|
|
|
ammin_d 0011 10000110 01101 ..... ..... ..... @rrr
|
|
|
|
ammax_wu 0011 10000110 01110 ..... ..... ..... @rrr
|
|
|
|
ammax_du 0011 10000110 01111 ..... ..... ..... @rrr
|
|
|
|
ammin_wu 0011 10000110 10000 ..... ..... ..... @rrr
|
|
|
|
ammin_du 0011 10000110 10001 ..... ..... ..... @rrr
|
|
|
|
amswap_db_w 0011 10000110 10010 ..... ..... ..... @rrr
|
|
|
|
amswap_db_d 0011 10000110 10011 ..... ..... ..... @rrr
|
|
|
|
amadd_db_w 0011 10000110 10100 ..... ..... ..... @rrr
|
|
|
|
amadd_db_d 0011 10000110 10101 ..... ..... ..... @rrr
|
|
|
|
amand_db_w 0011 10000110 10110 ..... ..... ..... @rrr
|
|
|
|
amand_db_d 0011 10000110 10111 ..... ..... ..... @rrr
|
|
|
|
amor_db_w 0011 10000110 11000 ..... ..... ..... @rrr
|
|
|
|
amor_db_d 0011 10000110 11001 ..... ..... ..... @rrr
|
|
|
|
amxor_db_w 0011 10000110 11010 ..... ..... ..... @rrr
|
|
|
|
amxor_db_d 0011 10000110 11011 ..... ..... ..... @rrr
|
|
|
|
ammax_db_w 0011 10000110 11100 ..... ..... ..... @rrr
|
|
|
|
ammax_db_d 0011 10000110 11101 ..... ..... ..... @rrr
|
|
|
|
ammin_db_w 0011 10000110 11110 ..... ..... ..... @rrr
|
|
|
|
ammin_db_d 0011 10000110 11111 ..... ..... ..... @rrr
|
|
|
|
ammax_db_wu 0011 10000111 00000 ..... ..... ..... @rrr
|
|
|
|
ammax_db_du 0011 10000111 00001 ..... ..... ..... @rrr
|
|
|
|
ammin_db_wu 0011 10000111 00010 ..... ..... ..... @rrr
|
|
|
|
ammin_db_du 0011 10000111 00011 ..... ..... ..... @rrr
|
2022-06-06 14:42:59 +02:00
|
|
|
|
|
|
|
#
|
|
|
|
# Fixed point extra instruction
|
|
|
|
#
|
|
|
|
crc_w_b_w 0000 00000010 01000 ..... ..... ..... @rrr
|
|
|
|
crc_w_h_w 0000 00000010 01001 ..... ..... ..... @rrr
|
|
|
|
crc_w_w_w 0000 00000010 01010 ..... ..... ..... @rrr
|
|
|
|
crc_w_d_w 0000 00000010 01011 ..... ..... ..... @rrr
|
|
|
|
crcc_w_b_w 0000 00000010 01100 ..... ..... ..... @rrr
|
|
|
|
crcc_w_h_w 0000 00000010 01101 ..... ..... ..... @rrr
|
|
|
|
crcc_w_w_w 0000 00000010 01110 ..... ..... ..... @rrr
|
|
|
|
crcc_w_d_w 0000 00000010 01111 ..... ..... ..... @rrr
|
|
|
|
break 0000 00000010 10100 ............... @i15
|
|
|
|
syscall 0000 00000010 10110 ............... @i15
|
|
|
|
asrtle_d 0000 00000000 00010 ..... ..... 00000 @rr_jk
|
|
|
|
asrtgt_d 0000 00000000 00011 ..... ..... 00000 @rr_jk
|
2022-06-06 14:43:19 +02:00
|
|
|
rdtimel_w 0000 00000000 00000 11000 ..... ..... @rr
|
|
|
|
rdtimeh_w 0000 00000000 00000 11001 ..... ..... @rr
|
|
|
|
rdtime_d 0000 00000000 00000 11010 ..... ..... @rr
|
2022-06-06 14:42:59 +02:00
|
|
|
cpucfg 0000 00000000 00000 11011 ..... ..... @rr
|
2022-06-06 14:43:00 +02:00
|
|
|
|
|
|
|
#
|
|
|
|
# Floating point arithmetic operation instruction
|
|
|
|
#
|
|
|
|
fadd_s 0000 00010000 00001 ..... ..... ..... @fff
|
|
|
|
fadd_d 0000 00010000 00010 ..... ..... ..... @fff
|
|
|
|
fsub_s 0000 00010000 00101 ..... ..... ..... @fff
|
|
|
|
fsub_d 0000 00010000 00110 ..... ..... ..... @fff
|
|
|
|
fmul_s 0000 00010000 01001 ..... ..... ..... @fff
|
|
|
|
fmul_d 0000 00010000 01010 ..... ..... ..... @fff
|
|
|
|
fdiv_s 0000 00010000 01101 ..... ..... ..... @fff
|
|
|
|
fdiv_d 0000 00010000 01110 ..... ..... ..... @fff
|
|
|
|
fmadd_s 0000 10000001 ..... ..... ..... ..... @ffff
|
|
|
|
fmadd_d 0000 10000010 ..... ..... ..... ..... @ffff
|
|
|
|
fmsub_s 0000 10000101 ..... ..... ..... ..... @ffff
|
|
|
|
fmsub_d 0000 10000110 ..... ..... ..... ..... @ffff
|
|
|
|
fnmadd_s 0000 10001001 ..... ..... ..... ..... @ffff
|
|
|
|
fnmadd_d 0000 10001010 ..... ..... ..... ..... @ffff
|
|
|
|
fnmsub_s 0000 10001101 ..... ..... ..... ..... @ffff
|
|
|
|
fnmsub_d 0000 10001110 ..... ..... ..... ..... @ffff
|
|
|
|
fmax_s 0000 00010000 10001 ..... ..... ..... @fff
|
|
|
|
fmax_d 0000 00010000 10010 ..... ..... ..... @fff
|
|
|
|
fmin_s 0000 00010000 10101 ..... ..... ..... @fff
|
|
|
|
fmin_d 0000 00010000 10110 ..... ..... ..... @fff
|
|
|
|
fmaxa_s 0000 00010000 11001 ..... ..... ..... @fff
|
|
|
|
fmaxa_d 0000 00010000 11010 ..... ..... ..... @fff
|
|
|
|
fmina_s 0000 00010000 11101 ..... ..... ..... @fff
|
|
|
|
fmina_d 0000 00010000 11110 ..... ..... ..... @fff
|
|
|
|
fabs_s 0000 00010001 01000 00001 ..... ..... @ff
|
|
|
|
fabs_d 0000 00010001 01000 00010 ..... ..... @ff
|
|
|
|
fneg_s 0000 00010001 01000 00101 ..... ..... @ff
|
|
|
|
fneg_d 0000 00010001 01000 00110 ..... ..... @ff
|
|
|
|
fsqrt_s 0000 00010001 01000 10001 ..... ..... @ff
|
|
|
|
fsqrt_d 0000 00010001 01000 10010 ..... ..... @ff
|
|
|
|
frecip_s 0000 00010001 01000 10101 ..... ..... @ff
|
|
|
|
frecip_d 0000 00010001 01000 10110 ..... ..... @ff
|
|
|
|
frsqrt_s 0000 00010001 01000 11001 ..... ..... @ff
|
|
|
|
frsqrt_d 0000 00010001 01000 11010 ..... ..... @ff
|
|
|
|
fscaleb_s 0000 00010001 00001 ..... ..... ..... @fff
|
|
|
|
fscaleb_d 0000 00010001 00010 ..... ..... ..... @fff
|
|
|
|
flogb_s 0000 00010001 01000 01001 ..... ..... @ff
|
|
|
|
flogb_d 0000 00010001 01000 01010 ..... ..... @ff
|
|
|
|
fcopysign_s 0000 00010001 00101 ..... ..... ..... @fff
|
|
|
|
fcopysign_d 0000 00010001 00110 ..... ..... ..... @fff
|
|
|
|
fclass_s 0000 00010001 01000 01101 ..... ..... @ff
|
|
|
|
fclass_d 0000 00010001 01000 01110 ..... ..... @ff
|
2022-06-06 14:43:01 +02:00
|
|
|
|
|
|
|
#
|
|
|
|
# Floating point compare instruction
|
|
|
|
#
|
|
|
|
fcmp_cond_s 0000 11000001 ..... ..... ..... 00 ... @cff_fcond
|
|
|
|
fcmp_cond_d 0000 11000010 ..... ..... ..... 00 ... @cff_fcond
|
2022-06-06 14:43:02 +02:00
|
|
|
|
|
|
|
#
|
|
|
|
# Floating point conversion instruction
|
|
|
|
#
|
|
|
|
fcvt_s_d 0000 00010001 10010 00110 ..... ..... @ff
|
|
|
|
fcvt_d_s 0000 00010001 10010 01001 ..... ..... @ff
|
|
|
|
ftintrm_w_s 0000 00010001 10100 00001 ..... ..... @ff
|
|
|
|
ftintrm_w_d 0000 00010001 10100 00010 ..... ..... @ff
|
|
|
|
ftintrm_l_s 0000 00010001 10100 01001 ..... ..... @ff
|
|
|
|
ftintrm_l_d 0000 00010001 10100 01010 ..... ..... @ff
|
|
|
|
ftintrp_w_s 0000 00010001 10100 10001 ..... ..... @ff
|
|
|
|
ftintrp_w_d 0000 00010001 10100 10010 ..... ..... @ff
|
|
|
|
ftintrp_l_s 0000 00010001 10100 11001 ..... ..... @ff
|
|
|
|
ftintrp_l_d 0000 00010001 10100 11010 ..... ..... @ff
|
|
|
|
ftintrz_w_s 0000 00010001 10101 00001 ..... ..... @ff
|
|
|
|
ftintrz_w_d 0000 00010001 10101 00010 ..... ..... @ff
|
|
|
|
ftintrz_l_s 0000 00010001 10101 01001 ..... ..... @ff
|
|
|
|
ftintrz_l_d 0000 00010001 10101 01010 ..... ..... @ff
|
|
|
|
ftintrne_w_s 0000 00010001 10101 10001 ..... ..... @ff
|
|
|
|
ftintrne_w_d 0000 00010001 10101 10010 ..... ..... @ff
|
|
|
|
ftintrne_l_s 0000 00010001 10101 11001 ..... ..... @ff
|
|
|
|
ftintrne_l_d 0000 00010001 10101 11010 ..... ..... @ff
|
|
|
|
ftint_w_s 0000 00010001 10110 00001 ..... ..... @ff
|
|
|
|
ftint_w_d 0000 00010001 10110 00010 ..... ..... @ff
|
|
|
|
ftint_l_s 0000 00010001 10110 01001 ..... ..... @ff
|
|
|
|
ftint_l_d 0000 00010001 10110 01010 ..... ..... @ff
|
|
|
|
ffint_s_w 0000 00010001 11010 00100 ..... ..... @ff
|
|
|
|
ffint_s_l 0000 00010001 11010 00110 ..... ..... @ff
|
|
|
|
ffint_d_w 0000 00010001 11010 01000 ..... ..... @ff
|
|
|
|
ffint_d_l 0000 00010001 11010 01010 ..... ..... @ff
|
|
|
|
frint_s 0000 00010001 11100 10001 ..... ..... @ff
|
|
|
|
frint_d 0000 00010001 11100 10010 ..... ..... @ff
|
2022-06-06 14:43:03 +02:00
|
|
|
|
|
|
|
#
|
|
|
|
# Floating point move instruction
|
|
|
|
#
|
|
|
|
fmov_s 0000 00010001 01001 00101 ..... ..... @ff
|
|
|
|
fmov_d 0000 00010001 01001 00110 ..... ..... @ff
|
|
|
|
fsel 0000 11010000 00 ... ..... ..... ..... @fffc
|
|
|
|
movgr2fr_w 0000 00010001 01001 01001 ..... ..... @fr
|
|
|
|
movgr2fr_d 0000 00010001 01001 01010 ..... ..... @fr
|
|
|
|
movgr2frh_w 0000 00010001 01001 01011 ..... ..... @fr
|
|
|
|
movfr2gr_s 0000 00010001 01001 01101 ..... ..... @rf
|
|
|
|
movfr2gr_d 0000 00010001 01001 01110 ..... ..... @rf
|
|
|
|
movfrh2gr_s 0000 00010001 01001 01111 ..... ..... @rf
|
|
|
|
movgr2fcsr 0000 00010001 01001 10000 ..... ..... @fcsrd_r
|
|
|
|
movfcsr2gr 0000 00010001 01001 10010 ..... ..... @r_fcsrs
|
|
|
|
movfr2cf 0000 00010001 01001 10100 ..... 00 ... @cf
|
|
|
|
movcf2fr 0000 00010001 01001 10101 00 ... ..... @fc
|
|
|
|
movgr2cf 0000 00010001 01001 10110 ..... 00 ... @cr
|
|
|
|
movcf2gr 0000 00010001 01001 10111 00 ... ..... @rc
|
2022-06-06 14:43:04 +02:00
|
|
|
|
|
|
|
#
|
|
|
|
# Floating point load/store instruction
|
|
|
|
#
|
|
|
|
fld_s 0010 101100 ............ ..... ..... @fr_i12
|
|
|
|
fst_s 0010 101101 ............ ..... ..... @fr_i12
|
|
|
|
fld_d 0010 101110 ............ ..... ..... @fr_i12
|
|
|
|
fst_d 0010 101111 ............ ..... ..... @fr_i12
|
|
|
|
fldx_s 0011 10000011 00000 ..... ..... ..... @frr
|
|
|
|
fldx_d 0011 10000011 01000 ..... ..... ..... @frr
|
|
|
|
fstx_s 0011 10000011 10000 ..... ..... ..... @frr
|
|
|
|
fstx_d 0011 10000011 11000 ..... ..... ..... @frr
|
|
|
|
fldgt_s 0011 10000111 01000 ..... ..... ..... @frr
|
|
|
|
fldgt_d 0011 10000111 01001 ..... ..... ..... @frr
|
|
|
|
fldle_s 0011 10000111 01010 ..... ..... ..... @frr
|
|
|
|
fldle_d 0011 10000111 01011 ..... ..... ..... @frr
|
|
|
|
fstgt_s 0011 10000111 01100 ..... ..... ..... @frr
|
|
|
|
fstgt_d 0011 10000111 01101 ..... ..... ..... @frr
|
|
|
|
fstle_s 0011 10000111 01110 ..... ..... ..... @frr
|
|
|
|
fstle_d 0011 10000111 01111 ..... ..... ..... @frr
|
2022-06-06 14:43:05 +02:00
|
|
|
|
|
|
|
#
|
|
|
|
# Branch instructions
|
|
|
|
#
|
|
|
|
beqz 0100 00 ................ ..... ..... @r_offs21
|
|
|
|
bnez 0100 01 ................ ..... ..... @r_offs21
|
|
|
|
bceqz 0100 10 ................ 00 ... ..... @c_offs21
|
|
|
|
bcnez 0100 10 ................ 01 ... ..... @c_offs21
|
2023-01-18 01:32:38 +01:00
|
|
|
jirl 0100 11 ................ ..... ..... @rr_i16s2
|
2022-06-06 14:43:05 +02:00
|
|
|
b 0101 00 .......................... @offs26
|
|
|
|
bl 0101 01 .......................... @offs26
|
|
|
|
beq 0101 10 ................ ..... ..... @rr_offs16
|
|
|
|
bne 0101 11 ................ ..... ..... @rr_offs16
|
|
|
|
blt 0110 00 ................ ..... ..... @rr_offs16
|
|
|
|
bge 0110 01 ................ ..... ..... @rr_offs16
|
|
|
|
bltu 0110 10 ................ ..... ..... @rr_offs16
|
|
|
|
bgeu 0110 11 ................ ..... ..... @rr_offs16
|
2022-06-06 14:43:15 +02:00
|
|
|
|
|
|
|
#
|
|
|
|
# Core instructions
|
|
|
|
#
|
|
|
|
{
|
|
|
|
csrrd 0000 0100 .............. 00000 ..... @r_csr
|
|
|
|
csrwr 0000 0100 .............. 00001 ..... @r_csr
|
|
|
|
csrxchg 0000 0100 .............. ..... ..... @rr_csr
|
|
|
|
}
|
2022-06-06 14:43:16 +02:00
|
|
|
|
|
|
|
iocsrrd_b 0000 01100100 10000 00000 ..... ..... @rr
|
|
|
|
iocsrrd_h 0000 01100100 10000 00001 ..... ..... @rr
|
|
|
|
iocsrrd_w 0000 01100100 10000 00010 ..... ..... @rr
|
|
|
|
iocsrrd_d 0000 01100100 10000 00011 ..... ..... @rr
|
|
|
|
iocsrwr_b 0000 01100100 10000 00100 ..... ..... @rr
|
|
|
|
iocsrwr_h 0000 01100100 10000 00101 ..... ..... @rr
|
|
|
|
iocsrwr_w 0000 01100100 10000 00110 ..... ..... @rr
|
|
|
|
iocsrwr_d 0000 01100100 10000 00111 ..... ..... @rr
|
2022-06-06 14:43:17 +02:00
|
|
|
tlbsrch 0000 01100100 10000 01010 00000 00000 @empty
|
|
|
|
tlbrd 0000 01100100 10000 01011 00000 00000 @empty
|
|
|
|
tlbwr 0000 01100100 10000 01100 00000 00000 @empty
|
|
|
|
tlbfill 0000 01100100 10000 01101 00000 00000 @empty
|
|
|
|
tlbclr 0000 01100100 10000 01000 00000 00000 @empty
|
|
|
|
tlbflush 0000 01100100 10000 01001 00000 00000 @empty
|
|
|
|
invtlb 0000 01100100 10011 ..... ..... ..... @i_rr
|
2022-06-06 14:43:18 +02:00
|
|
|
cacop 0000 011000 ............ ..... ..... @cop_r_i
|
|
|
|
lddir 0000 01100100 00 ........ ..... ..... @rr_ui8
|
|
|
|
ldpte 0000 01100100 01 ........ ..... 00000 @j_i
|
|
|
|
ertn 0000 01100100 10000 01110 00000 00000 @empty
|
|
|
|
idle 0000 01100100 10001 ............... @i15
|
|
|
|
dbcl 0000 00000010 10101 ............... @i15
|
2023-05-04 14:27:30 +02:00
|
|
|
|
|
|
|
#
|
|
|
|
# LSX Argument sets
|
|
|
|
#
|
|
|
|
|
2023-05-04 14:27:32 +02:00
|
|
|
&vv vd vj
|
2023-05-04 14:27:30 +02:00
|
|
|
&vvv vd vj vk
|
2023-05-04 14:27:31 +02:00
|
|
|
&vv_i vd vj imm
|
2023-05-04 14:27:30 +02:00
|
|
|
|
|
|
|
#
|
|
|
|
# LSX Formats
|
|
|
|
#
|
2023-05-04 14:27:32 +02:00
|
|
|
@vv .... ........ ..... ..... vj:5 vd:5 &vv
|
2023-05-04 14:27:30 +02:00
|
|
|
@vvv .... ........ ..... vk:5 vj:5 vd:5 &vvv
|
2023-05-04 14:27:43 +02:00
|
|
|
@vv_ui3 .... ........ ..... .. imm:3 vj:5 vd:5 &vv_i
|
|
|
|
@vv_ui4 .... ........ ..... . imm:4 vj:5 vd:5 &vv_i
|
2023-05-04 14:27:31 +02:00
|
|
|
@vv_ui5 .... ........ ..... imm:5 vj:5 vd:5 &vv_i
|
2023-05-04 14:27:43 +02:00
|
|
|
@vv_ui6 .... ........ .... imm:6 vj:5 vd:5 &vv_i
|
2023-05-04 14:27:47 +02:00
|
|
|
@vv_ui8 .... ........ .. imm:8 vj:5 vd:5 &vv_i
|
2023-05-04 14:27:39 +02:00
|
|
|
@vv_i5 .... ........ ..... imm:s5 vj:5 vd:5 &vv_i
|
2023-05-04 14:27:30 +02:00
|
|
|
|
|
|
|
vadd_b 0111 00000000 10100 ..... ..... ..... @vvv
|
|
|
|
vadd_h 0111 00000000 10101 ..... ..... ..... @vvv
|
|
|
|
vadd_w 0111 00000000 10110 ..... ..... ..... @vvv
|
|
|
|
vadd_d 0111 00000000 10111 ..... ..... ..... @vvv
|
|
|
|
vadd_q 0111 00010010 11010 ..... ..... ..... @vvv
|
|
|
|
vsub_b 0111 00000000 11000 ..... ..... ..... @vvv
|
|
|
|
vsub_h 0111 00000000 11001 ..... ..... ..... @vvv
|
|
|
|
vsub_w 0111 00000000 11010 ..... ..... ..... @vvv
|
|
|
|
vsub_d 0111 00000000 11011 ..... ..... ..... @vvv
|
|
|
|
vsub_q 0111 00010010 11011 ..... ..... ..... @vvv
|
2023-05-04 14:27:31 +02:00
|
|
|
|
|
|
|
vaddi_bu 0111 00101000 10100 ..... ..... ..... @vv_ui5
|
|
|
|
vaddi_hu 0111 00101000 10101 ..... ..... ..... @vv_ui5
|
|
|
|
vaddi_wu 0111 00101000 10110 ..... ..... ..... @vv_ui5
|
|
|
|
vaddi_du 0111 00101000 10111 ..... ..... ..... @vv_ui5
|
|
|
|
vsubi_bu 0111 00101000 11000 ..... ..... ..... @vv_ui5
|
|
|
|
vsubi_hu 0111 00101000 11001 ..... ..... ..... @vv_ui5
|
|
|
|
vsubi_wu 0111 00101000 11010 ..... ..... ..... @vv_ui5
|
|
|
|
vsubi_du 0111 00101000 11011 ..... ..... ..... @vv_ui5
|
2023-05-04 14:27:32 +02:00
|
|
|
|
|
|
|
vneg_b 0111 00101001 11000 01100 ..... ..... @vv
|
|
|
|
vneg_h 0111 00101001 11000 01101 ..... ..... @vv
|
|
|
|
vneg_w 0111 00101001 11000 01110 ..... ..... @vv
|
|
|
|
vneg_d 0111 00101001 11000 01111 ..... ..... @vv
|
2023-05-04 14:27:33 +02:00
|
|
|
|
|
|
|
vsadd_b 0111 00000100 01100 ..... ..... ..... @vvv
|
|
|
|
vsadd_h 0111 00000100 01101 ..... ..... ..... @vvv
|
|
|
|
vsadd_w 0111 00000100 01110 ..... ..... ..... @vvv
|
|
|
|
vsadd_d 0111 00000100 01111 ..... ..... ..... @vvv
|
|
|
|
vsadd_bu 0111 00000100 10100 ..... ..... ..... @vvv
|
|
|
|
vsadd_hu 0111 00000100 10101 ..... ..... ..... @vvv
|
|
|
|
vsadd_wu 0111 00000100 10110 ..... ..... ..... @vvv
|
|
|
|
vsadd_du 0111 00000100 10111 ..... ..... ..... @vvv
|
|
|
|
vssub_b 0111 00000100 10000 ..... ..... ..... @vvv
|
|
|
|
vssub_h 0111 00000100 10001 ..... ..... ..... @vvv
|
|
|
|
vssub_w 0111 00000100 10010 ..... ..... ..... @vvv
|
|
|
|
vssub_d 0111 00000100 10011 ..... ..... ..... @vvv
|
|
|
|
vssub_bu 0111 00000100 11000 ..... ..... ..... @vvv
|
|
|
|
vssub_hu 0111 00000100 11001 ..... ..... ..... @vvv
|
|
|
|
vssub_wu 0111 00000100 11010 ..... ..... ..... @vvv
|
|
|
|
vssub_du 0111 00000100 11011 ..... ..... ..... @vvv
|
2023-05-04 14:27:34 +02:00
|
|
|
|
|
|
|
vhaddw_h_b 0111 00000101 01000 ..... ..... ..... @vvv
|
|
|
|
vhaddw_w_h 0111 00000101 01001 ..... ..... ..... @vvv
|
|
|
|
vhaddw_d_w 0111 00000101 01010 ..... ..... ..... @vvv
|
|
|
|
vhaddw_q_d 0111 00000101 01011 ..... ..... ..... @vvv
|
|
|
|
vhaddw_hu_bu 0111 00000101 10000 ..... ..... ..... @vvv
|
|
|
|
vhaddw_wu_hu 0111 00000101 10001 ..... ..... ..... @vvv
|
|
|
|
vhaddw_du_wu 0111 00000101 10010 ..... ..... ..... @vvv
|
|
|
|
vhaddw_qu_du 0111 00000101 10011 ..... ..... ..... @vvv
|
|
|
|
vhsubw_h_b 0111 00000101 01100 ..... ..... ..... @vvv
|
|
|
|
vhsubw_w_h 0111 00000101 01101 ..... ..... ..... @vvv
|
|
|
|
vhsubw_d_w 0111 00000101 01110 ..... ..... ..... @vvv
|
|
|
|
vhsubw_q_d 0111 00000101 01111 ..... ..... ..... @vvv
|
|
|
|
vhsubw_hu_bu 0111 00000101 10100 ..... ..... ..... @vvv
|
|
|
|
vhsubw_wu_hu 0111 00000101 10101 ..... ..... ..... @vvv
|
|
|
|
vhsubw_du_wu 0111 00000101 10110 ..... ..... ..... @vvv
|
|
|
|
vhsubw_qu_du 0111 00000101 10111 ..... ..... ..... @vvv
|
2023-05-04 14:27:35 +02:00
|
|
|
|
|
|
|
vaddwev_h_b 0111 00000001 11100 ..... ..... ..... @vvv
|
|
|
|
vaddwev_w_h 0111 00000001 11101 ..... ..... ..... @vvv
|
|
|
|
vaddwev_d_w 0111 00000001 11110 ..... ..... ..... @vvv
|
|
|
|
vaddwev_q_d 0111 00000001 11111 ..... ..... ..... @vvv
|
|
|
|
vaddwod_h_b 0111 00000010 00100 ..... ..... ..... @vvv
|
|
|
|
vaddwod_w_h 0111 00000010 00101 ..... ..... ..... @vvv
|
|
|
|
vaddwod_d_w 0111 00000010 00110 ..... ..... ..... @vvv
|
|
|
|
vaddwod_q_d 0111 00000010 00111 ..... ..... ..... @vvv
|
|
|
|
vsubwev_h_b 0111 00000010 00000 ..... ..... ..... @vvv
|
|
|
|
vsubwev_w_h 0111 00000010 00001 ..... ..... ..... @vvv
|
|
|
|
vsubwev_d_w 0111 00000010 00010 ..... ..... ..... @vvv
|
|
|
|
vsubwev_q_d 0111 00000010 00011 ..... ..... ..... @vvv
|
|
|
|
vsubwod_h_b 0111 00000010 01000 ..... ..... ..... @vvv
|
|
|
|
vsubwod_w_h 0111 00000010 01001 ..... ..... ..... @vvv
|
|
|
|
vsubwod_d_w 0111 00000010 01010 ..... ..... ..... @vvv
|
|
|
|
vsubwod_q_d 0111 00000010 01011 ..... ..... ..... @vvv
|
|
|
|
|
|
|
|
vaddwev_h_bu 0111 00000010 11100 ..... ..... ..... @vvv
|
|
|
|
vaddwev_w_hu 0111 00000010 11101 ..... ..... ..... @vvv
|
|
|
|
vaddwev_d_wu 0111 00000010 11110 ..... ..... ..... @vvv
|
|
|
|
vaddwev_q_du 0111 00000010 11111 ..... ..... ..... @vvv
|
|
|
|
vaddwod_h_bu 0111 00000011 00100 ..... ..... ..... @vvv
|
|
|
|
vaddwod_w_hu 0111 00000011 00101 ..... ..... ..... @vvv
|
|
|
|
vaddwod_d_wu 0111 00000011 00110 ..... ..... ..... @vvv
|
|
|
|
vaddwod_q_du 0111 00000011 00111 ..... ..... ..... @vvv
|
|
|
|
vsubwev_h_bu 0111 00000011 00000 ..... ..... ..... @vvv
|
|
|
|
vsubwev_w_hu 0111 00000011 00001 ..... ..... ..... @vvv
|
|
|
|
vsubwev_d_wu 0111 00000011 00010 ..... ..... ..... @vvv
|
|
|
|
vsubwev_q_du 0111 00000011 00011 ..... ..... ..... @vvv
|
|
|
|
vsubwod_h_bu 0111 00000011 01000 ..... ..... ..... @vvv
|
|
|
|
vsubwod_w_hu 0111 00000011 01001 ..... ..... ..... @vvv
|
|
|
|
vsubwod_d_wu 0111 00000011 01010 ..... ..... ..... @vvv
|
|
|
|
vsubwod_q_du 0111 00000011 01011 ..... ..... ..... @vvv
|
|
|
|
|
|
|
|
vaddwev_h_bu_b 0111 00000011 11100 ..... ..... ..... @vvv
|
|
|
|
vaddwev_w_hu_h 0111 00000011 11101 ..... ..... ..... @vvv
|
|
|
|
vaddwev_d_wu_w 0111 00000011 11110 ..... ..... ..... @vvv
|
|
|
|
vaddwev_q_du_d 0111 00000011 11111 ..... ..... ..... @vvv
|
|
|
|
vaddwod_h_bu_b 0111 00000100 00000 ..... ..... ..... @vvv
|
|
|
|
vaddwod_w_hu_h 0111 00000100 00001 ..... ..... ..... @vvv
|
|
|
|
vaddwod_d_wu_w 0111 00000100 00010 ..... ..... ..... @vvv
|
|
|
|
vaddwod_q_du_d 0111 00000100 00011 ..... ..... ..... @vvv
|
2023-05-04 14:27:36 +02:00
|
|
|
|
|
|
|
vavg_b 0111 00000110 01000 ..... ..... ..... @vvv
|
|
|
|
vavg_h 0111 00000110 01001 ..... ..... ..... @vvv
|
|
|
|
vavg_w 0111 00000110 01010 ..... ..... ..... @vvv
|
|
|
|
vavg_d 0111 00000110 01011 ..... ..... ..... @vvv
|
|
|
|
vavg_bu 0111 00000110 01100 ..... ..... ..... @vvv
|
|
|
|
vavg_hu 0111 00000110 01101 ..... ..... ..... @vvv
|
|
|
|
vavg_wu 0111 00000110 01110 ..... ..... ..... @vvv
|
|
|
|
vavg_du 0111 00000110 01111 ..... ..... ..... @vvv
|
|
|
|
vavgr_b 0111 00000110 10000 ..... ..... ..... @vvv
|
|
|
|
vavgr_h 0111 00000110 10001 ..... ..... ..... @vvv
|
|
|
|
vavgr_w 0111 00000110 10010 ..... ..... ..... @vvv
|
|
|
|
vavgr_d 0111 00000110 10011 ..... ..... ..... @vvv
|
|
|
|
vavgr_bu 0111 00000110 10100 ..... ..... ..... @vvv
|
|
|
|
vavgr_hu 0111 00000110 10101 ..... ..... ..... @vvv
|
|
|
|
vavgr_wu 0111 00000110 10110 ..... ..... ..... @vvv
|
|
|
|
vavgr_du 0111 00000110 10111 ..... ..... ..... @vvv
|
2023-05-04 14:27:37 +02:00
|
|
|
|
|
|
|
vabsd_b 0111 00000110 00000 ..... ..... ..... @vvv
|
|
|
|
vabsd_h 0111 00000110 00001 ..... ..... ..... @vvv
|
|
|
|
vabsd_w 0111 00000110 00010 ..... ..... ..... @vvv
|
|
|
|
vabsd_d 0111 00000110 00011 ..... ..... ..... @vvv
|
|
|
|
vabsd_bu 0111 00000110 00100 ..... ..... ..... @vvv
|
|
|
|
vabsd_hu 0111 00000110 00101 ..... ..... ..... @vvv
|
|
|
|
vabsd_wu 0111 00000110 00110 ..... ..... ..... @vvv
|
|
|
|
vabsd_du 0111 00000110 00111 ..... ..... ..... @vvv
|
2023-05-04 14:27:38 +02:00
|
|
|
|
|
|
|
vadda_b 0111 00000101 11000 ..... ..... ..... @vvv
|
|
|
|
vadda_h 0111 00000101 11001 ..... ..... ..... @vvv
|
|
|
|
vadda_w 0111 00000101 11010 ..... ..... ..... @vvv
|
|
|
|
vadda_d 0111 00000101 11011 ..... ..... ..... @vvv
|
2023-05-04 14:27:39 +02:00
|
|
|
|
|
|
|
vmax_b 0111 00000111 00000 ..... ..... ..... @vvv
|
|
|
|
vmax_h 0111 00000111 00001 ..... ..... ..... @vvv
|
|
|
|
vmax_w 0111 00000111 00010 ..... ..... ..... @vvv
|
|
|
|
vmax_d 0111 00000111 00011 ..... ..... ..... @vvv
|
|
|
|
vmaxi_b 0111 00101001 00000 ..... ..... ..... @vv_i5
|
|
|
|
vmaxi_h 0111 00101001 00001 ..... ..... ..... @vv_i5
|
|
|
|
vmaxi_w 0111 00101001 00010 ..... ..... ..... @vv_i5
|
|
|
|
vmaxi_d 0111 00101001 00011 ..... ..... ..... @vv_i5
|
|
|
|
vmax_bu 0111 00000111 01000 ..... ..... ..... @vvv
|
|
|
|
vmax_hu 0111 00000111 01001 ..... ..... ..... @vvv
|
|
|
|
vmax_wu 0111 00000111 01010 ..... ..... ..... @vvv
|
|
|
|
vmax_du 0111 00000111 01011 ..... ..... ..... @vvv
|
|
|
|
vmaxi_bu 0111 00101001 01000 ..... ..... ..... @vv_ui5
|
|
|
|
vmaxi_hu 0111 00101001 01001 ..... ..... ..... @vv_ui5
|
|
|
|
vmaxi_wu 0111 00101001 01010 ..... ..... ..... @vv_ui5
|
|
|
|
vmaxi_du 0111 00101001 01011 ..... ..... ..... @vv_ui5
|
|
|
|
|
|
|
|
vmin_b 0111 00000111 00100 ..... ..... ..... @vvv
|
|
|
|
vmin_h 0111 00000111 00101 ..... ..... ..... @vvv
|
|
|
|
vmin_w 0111 00000111 00110 ..... ..... ..... @vvv
|
|
|
|
vmin_d 0111 00000111 00111 ..... ..... ..... @vvv
|
|
|
|
vmini_b 0111 00101001 00100 ..... ..... ..... @vv_i5
|
|
|
|
vmini_h 0111 00101001 00101 ..... ..... ..... @vv_i5
|
|
|
|
vmini_w 0111 00101001 00110 ..... ..... ..... @vv_i5
|
|
|
|
vmini_d 0111 00101001 00111 ..... ..... ..... @vv_i5
|
|
|
|
vmin_bu 0111 00000111 01100 ..... ..... ..... @vvv
|
|
|
|
vmin_hu 0111 00000111 01101 ..... ..... ..... @vvv
|
|
|
|
vmin_wu 0111 00000111 01110 ..... ..... ..... @vvv
|
|
|
|
vmin_du 0111 00000111 01111 ..... ..... ..... @vvv
|
|
|
|
vmini_bu 0111 00101001 01100 ..... ..... ..... @vv_ui5
|
|
|
|
vmini_hu 0111 00101001 01101 ..... ..... ..... @vv_ui5
|
|
|
|
vmini_wu 0111 00101001 01110 ..... ..... ..... @vv_ui5
|
|
|
|
vmini_du 0111 00101001 01111 ..... ..... ..... @vv_ui5
|
2023-05-04 14:27:40 +02:00
|
|
|
|
|
|
|
vmul_b 0111 00001000 01000 ..... ..... ..... @vvv
|
|
|
|
vmul_h 0111 00001000 01001 ..... ..... ..... @vvv
|
|
|
|
vmul_w 0111 00001000 01010 ..... ..... ..... @vvv
|
|
|
|
vmul_d 0111 00001000 01011 ..... ..... ..... @vvv
|
|
|
|
vmuh_b 0111 00001000 01100 ..... ..... ..... @vvv
|
|
|
|
vmuh_h 0111 00001000 01101 ..... ..... ..... @vvv
|
|
|
|
vmuh_w 0111 00001000 01110 ..... ..... ..... @vvv
|
|
|
|
vmuh_d 0111 00001000 01111 ..... ..... ..... @vvv
|
|
|
|
vmuh_bu 0111 00001000 10000 ..... ..... ..... @vvv
|
|
|
|
vmuh_hu 0111 00001000 10001 ..... ..... ..... @vvv
|
|
|
|
vmuh_wu 0111 00001000 10010 ..... ..... ..... @vvv
|
|
|
|
vmuh_du 0111 00001000 10011 ..... ..... ..... @vvv
|
|
|
|
|
|
|
|
vmulwev_h_b 0111 00001001 00000 ..... ..... ..... @vvv
|
|
|
|
vmulwev_w_h 0111 00001001 00001 ..... ..... ..... @vvv
|
|
|
|
vmulwev_d_w 0111 00001001 00010 ..... ..... ..... @vvv
|
|
|
|
vmulwev_q_d 0111 00001001 00011 ..... ..... ..... @vvv
|
|
|
|
vmulwod_h_b 0111 00001001 00100 ..... ..... ..... @vvv
|
|
|
|
vmulwod_w_h 0111 00001001 00101 ..... ..... ..... @vvv
|
|
|
|
vmulwod_d_w 0111 00001001 00110 ..... ..... ..... @vvv
|
|
|
|
vmulwod_q_d 0111 00001001 00111 ..... ..... ..... @vvv
|
|
|
|
vmulwev_h_bu 0111 00001001 10000 ..... ..... ..... @vvv
|
|
|
|
vmulwev_w_hu 0111 00001001 10001 ..... ..... ..... @vvv
|
|
|
|
vmulwev_d_wu 0111 00001001 10010 ..... ..... ..... @vvv
|
|
|
|
vmulwev_q_du 0111 00001001 10011 ..... ..... ..... @vvv
|
|
|
|
vmulwod_h_bu 0111 00001001 10100 ..... ..... ..... @vvv
|
|
|
|
vmulwod_w_hu 0111 00001001 10101 ..... ..... ..... @vvv
|
|
|
|
vmulwod_d_wu 0111 00001001 10110 ..... ..... ..... @vvv
|
|
|
|
vmulwod_q_du 0111 00001001 10111 ..... ..... ..... @vvv
|
|
|
|
vmulwev_h_bu_b 0111 00001010 00000 ..... ..... ..... @vvv
|
|
|
|
vmulwev_w_hu_h 0111 00001010 00001 ..... ..... ..... @vvv
|
|
|
|
vmulwev_d_wu_w 0111 00001010 00010 ..... ..... ..... @vvv
|
|
|
|
vmulwev_q_du_d 0111 00001010 00011 ..... ..... ..... @vvv
|
|
|
|
vmulwod_h_bu_b 0111 00001010 00100 ..... ..... ..... @vvv
|
|
|
|
vmulwod_w_hu_h 0111 00001010 00101 ..... ..... ..... @vvv
|
|
|
|
vmulwod_d_wu_w 0111 00001010 00110 ..... ..... ..... @vvv
|
|
|
|
vmulwod_q_du_d 0111 00001010 00111 ..... ..... ..... @vvv
|
2023-05-04 14:27:41 +02:00
|
|
|
|
|
|
|
vmadd_b 0111 00001010 10000 ..... ..... ..... @vvv
|
|
|
|
vmadd_h 0111 00001010 10001 ..... ..... ..... @vvv
|
|
|
|
vmadd_w 0111 00001010 10010 ..... ..... ..... @vvv
|
|
|
|
vmadd_d 0111 00001010 10011 ..... ..... ..... @vvv
|
|
|
|
vmsub_b 0111 00001010 10100 ..... ..... ..... @vvv
|
|
|
|
vmsub_h 0111 00001010 10101 ..... ..... ..... @vvv
|
|
|
|
vmsub_w 0111 00001010 10110 ..... ..... ..... @vvv
|
|
|
|
vmsub_d 0111 00001010 10111 ..... ..... ..... @vvv
|
|
|
|
|
|
|
|
vmaddwev_h_b 0111 00001010 11000 ..... ..... ..... @vvv
|
|
|
|
vmaddwev_w_h 0111 00001010 11001 ..... ..... ..... @vvv
|
|
|
|
vmaddwev_d_w 0111 00001010 11010 ..... ..... ..... @vvv
|
|
|
|
vmaddwev_q_d 0111 00001010 11011 ..... ..... ..... @vvv
|
|
|
|
vmaddwod_h_b 0111 00001010 11100 ..... ..... ..... @vvv
|
|
|
|
vmaddwod_w_h 0111 00001010 11101 ..... ..... ..... @vvv
|
|
|
|
vmaddwod_d_w 0111 00001010 11110 ..... ..... ..... @vvv
|
|
|
|
vmaddwod_q_d 0111 00001010 11111 ..... ..... ..... @vvv
|
|
|
|
vmaddwev_h_bu 0111 00001011 01000 ..... ..... ..... @vvv
|
|
|
|
vmaddwev_w_hu 0111 00001011 01001 ..... ..... ..... @vvv
|
|
|
|
vmaddwev_d_wu 0111 00001011 01010 ..... ..... ..... @vvv
|
|
|
|
vmaddwev_q_du 0111 00001011 01011 ..... ..... ..... @vvv
|
|
|
|
vmaddwod_h_bu 0111 00001011 01100 ..... ..... ..... @vvv
|
|
|
|
vmaddwod_w_hu 0111 00001011 01101 ..... ..... ..... @vvv
|
|
|
|
vmaddwod_d_wu 0111 00001011 01110 ..... ..... ..... @vvv
|
|
|
|
vmaddwod_q_du 0111 00001011 01111 ..... ..... ..... @vvv
|
|
|
|
vmaddwev_h_bu_b 0111 00001011 11000 ..... ..... ..... @vvv
|
|
|
|
vmaddwev_w_hu_h 0111 00001011 11001 ..... ..... ..... @vvv
|
|
|
|
vmaddwev_d_wu_w 0111 00001011 11010 ..... ..... ..... @vvv
|
|
|
|
vmaddwev_q_du_d 0111 00001011 11011 ..... ..... ..... @vvv
|
|
|
|
vmaddwod_h_bu_b 0111 00001011 11100 ..... ..... ..... @vvv
|
|
|
|
vmaddwod_w_hu_h 0111 00001011 11101 ..... ..... ..... @vvv
|
|
|
|
vmaddwod_d_wu_w 0111 00001011 11110 ..... ..... ..... @vvv
|
|
|
|
vmaddwod_q_du_d 0111 00001011 11111 ..... ..... ..... @vvv
|
2023-05-04 14:27:42 +02:00
|
|
|
|
|
|
|
vdiv_b 0111 00001110 00000 ..... ..... ..... @vvv
|
|
|
|
vdiv_h 0111 00001110 00001 ..... ..... ..... @vvv
|
|
|
|
vdiv_w 0111 00001110 00010 ..... ..... ..... @vvv
|
|
|
|
vdiv_d 0111 00001110 00011 ..... ..... ..... @vvv
|
|
|
|
vdiv_bu 0111 00001110 01000 ..... ..... ..... @vvv
|
|
|
|
vdiv_hu 0111 00001110 01001 ..... ..... ..... @vvv
|
|
|
|
vdiv_wu 0111 00001110 01010 ..... ..... ..... @vvv
|
|
|
|
vdiv_du 0111 00001110 01011 ..... ..... ..... @vvv
|
|
|
|
vmod_b 0111 00001110 00100 ..... ..... ..... @vvv
|
|
|
|
vmod_h 0111 00001110 00101 ..... ..... ..... @vvv
|
|
|
|
vmod_w 0111 00001110 00110 ..... ..... ..... @vvv
|
|
|
|
vmod_d 0111 00001110 00111 ..... ..... ..... @vvv
|
|
|
|
vmod_bu 0111 00001110 01100 ..... ..... ..... @vvv
|
|
|
|
vmod_hu 0111 00001110 01101 ..... ..... ..... @vvv
|
|
|
|
vmod_wu 0111 00001110 01110 ..... ..... ..... @vvv
|
|
|
|
vmod_du 0111 00001110 01111 ..... ..... ..... @vvv
|
2023-05-04 14:27:43 +02:00
|
|
|
|
|
|
|
vsat_b 0111 00110010 01000 01 ... ..... ..... @vv_ui3
|
|
|
|
vsat_h 0111 00110010 01000 1 .... ..... ..... @vv_ui4
|
|
|
|
vsat_w 0111 00110010 01001 ..... ..... ..... @vv_ui5
|
|
|
|
vsat_d 0111 00110010 0101 ...... ..... ..... @vv_ui6
|
|
|
|
vsat_bu 0111 00110010 10000 01 ... ..... ..... @vv_ui3
|
|
|
|
vsat_hu 0111 00110010 10000 1 .... ..... ..... @vv_ui4
|
|
|
|
vsat_wu 0111 00110010 10001 ..... ..... ..... @vv_ui5
|
|
|
|
vsat_du 0111 00110010 1001 ...... ..... ..... @vv_ui6
|
2023-05-04 14:27:44 +02:00
|
|
|
|
|
|
|
vexth_h_b 0111 00101001 11101 11000 ..... ..... @vv
|
|
|
|
vexth_w_h 0111 00101001 11101 11001 ..... ..... @vv
|
|
|
|
vexth_d_w 0111 00101001 11101 11010 ..... ..... @vv
|
|
|
|
vexth_q_d 0111 00101001 11101 11011 ..... ..... @vv
|
|
|
|
vexth_hu_bu 0111 00101001 11101 11100 ..... ..... @vv
|
|
|
|
vexth_wu_hu 0111 00101001 11101 11101 ..... ..... @vv
|
|
|
|
vexth_du_wu 0111 00101001 11101 11110 ..... ..... @vv
|
|
|
|
vexth_qu_du 0111 00101001 11101 11111 ..... ..... @vv
|
2023-05-04 14:27:45 +02:00
|
|
|
|
|
|
|
vsigncov_b 0111 00010010 11100 ..... ..... ..... @vvv
|
|
|
|
vsigncov_h 0111 00010010 11101 ..... ..... ..... @vvv
|
|
|
|
vsigncov_w 0111 00010010 11110 ..... ..... ..... @vvv
|
|
|
|
vsigncov_d 0111 00010010 11111 ..... ..... ..... @vvv
|
2023-05-04 14:27:46 +02:00
|
|
|
|
|
|
|
vmskltz_b 0111 00101001 11000 10000 ..... ..... @vv
|
|
|
|
vmskltz_h 0111 00101001 11000 10001 ..... ..... @vv
|
|
|
|
vmskltz_w 0111 00101001 11000 10010 ..... ..... @vv
|
|
|
|
vmskltz_d 0111 00101001 11000 10011 ..... ..... @vv
|
|
|
|
vmskgez_b 0111 00101001 11000 10100 ..... ..... @vv
|
|
|
|
vmsknz_b 0111 00101001 11000 11000 ..... ..... @vv
|
2023-05-04 14:27:47 +02:00
|
|
|
|
|
|
|
vand_v 0111 00010010 01100 ..... ..... ..... @vvv
|
|
|
|
vor_v 0111 00010010 01101 ..... ..... ..... @vvv
|
|
|
|
vxor_v 0111 00010010 01110 ..... ..... ..... @vvv
|
|
|
|
vnor_v 0111 00010010 01111 ..... ..... ..... @vvv
|
|
|
|
vandn_v 0111 00010010 10000 ..... ..... ..... @vvv
|
|
|
|
vorn_v 0111 00010010 10001 ..... ..... ..... @vvv
|
|
|
|
|
|
|
|
vandi_b 0111 00111101 00 ........ ..... ..... @vv_ui8
|
|
|
|
vori_b 0111 00111101 01 ........ ..... ..... @vv_ui8
|
|
|
|
vxori_b 0111 00111101 10 ........ ..... ..... @vv_ui8
|
|
|
|
vnori_b 0111 00111101 11 ........ ..... ..... @vv_ui8
|