2021-07-28 14:18:48 +03:00
|
|
|
|
# MIPS VR5432 instruction set extensions
|
|
|
|
|
#
|
|
|
|
|
# Copyright (C) 2021 Philippe Mathieu-Daudé
|
|
|
|
|
#
|
|
|
|
|
# SPDX-License-Identifier: LGPL-2.1-or-later
|
|
|
|
|
#
|
|
|
|
|
# Reference: VR5432 Microprocessor User’s Manual
|
|
|
|
|
# (Document Number U13751EU5V0UM00)
|
2021-07-28 14:20:42 +03:00
|
|
|
|
|
|
|
|
|
&r rs rt rd
|
|
|
|
|
|
|
|
|
|
@rs_rt_rd ...... rs:5 rt:5 rd:5 ..... ...... &r
|
|
|
|
|
|
2021-07-28 14:25:53 +03:00
|
|
|
|
MULS 000000 ..... ..... ..... 00011011000 @rs_rt_rd
|
|
|
|
|
MULSU 000000 ..... ..... ..... 00011011001 @rs_rt_rd
|
2021-07-28 14:20:42 +03:00
|
|
|
|
MACC 000000 ..... ..... ..... 00101011000 @rs_rt_rd
|
|
|
|
|
MACCU 000000 ..... ..... ..... 00101011001 @rs_rt_rd
|
target/mips: Convert Vr54xx MSA* opcodes to decodetree
Convert the following Integer Multiply-Accumulate opcodes:
* MSAC Multiply, negate, accumulate, and move LO
* MSACHI Multiply, negate, accumulate, and move HI
* MSACHIU Unsigned multiply, negate, accumulate, and move HI
* MSACU Unsigned multiply, negate, accumulate, and move LO
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-Id: <20210808173018.90960-8-f4bug@amsat.org>
2021-07-28 14:26:10 +03:00
|
|
|
|
MSAC 000000 ..... ..... ..... 00111011000 @rs_rt_rd
|
|
|
|
|
MSACU 000000 ..... ..... ..... 00111011001 @rs_rt_rd
|
2021-07-28 14:25:53 +03:00
|
|
|
|
MULHI 000000 ..... ..... ..... 01001011000 @rs_rt_rd
|
|
|
|
|
MULHIU 000000 ..... ..... ..... 01001011001 @rs_rt_rd
|
|
|
|
|
MULSHI 000000 ..... ..... ..... 01011011000 @rs_rt_rd
|
|
|
|
|
MULSHIU 000000 ..... ..... ..... 01011011001 @rs_rt_rd
|
2021-07-28 14:20:42 +03:00
|
|
|
|
MACCHI 000000 ..... ..... ..... 01101011000 @rs_rt_rd
|
|
|
|
|
MACCHIU 000000 ..... ..... ..... 01101011001 @rs_rt_rd
|
target/mips: Convert Vr54xx MSA* opcodes to decodetree
Convert the following Integer Multiply-Accumulate opcodes:
* MSAC Multiply, negate, accumulate, and move LO
* MSACHI Multiply, negate, accumulate, and move HI
* MSACHIU Unsigned multiply, negate, accumulate, and move HI
* MSACU Unsigned multiply, negate, accumulate, and move LO
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-Id: <20210808173018.90960-8-f4bug@amsat.org>
2021-07-28 14:26:10 +03:00
|
|
|
|
MSACHI 000000 ..... ..... ..... 01111011000 @rs_rt_rd
|
|
|
|
|
MSACHIU 000000 ..... ..... ..... 01111011001 @rs_rt_rd
|