mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-06 01:03:55 -06:00
target/arm: Implement MVE VHCADD
Implement the MVE VHCADD insn, which is similar to VCADD but performs a halving step. This one overlaps with VADC. Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Message-id: 20210617121628.20116-43-peter.maydell@linaro.org
This commit is contained in:
parent
67ec113b11
commit
8625693ac4
4 changed files with 19 additions and 3 deletions
|
@ -423,10 +423,12 @@ DO_2OP(VRHADD_U, vrhaddu)
|
|||
/*
|
||||
* VCADD Qd == Qm at size MO_32 is UNPREDICTABLE; we choose not to diagnose
|
||||
* so we can reuse the DO_2OP macro. (Our implementation calculates the
|
||||
* "expected" results in this case.)
|
||||
* "expected" results in this case.) Similarly for VHCADD.
|
||||
*/
|
||||
DO_2OP(VCADD90, vcadd90)
|
||||
DO_2OP(VCADD270, vcadd270)
|
||||
DO_2OP(VHCADD90, vhcadd90)
|
||||
DO_2OP(VHCADD270, vhcadd270)
|
||||
|
||||
static bool trans_VQDMULLB(DisasContext *s, arg_2op *a)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue