Port AvgRound & SqmulRoundSat to ISLE (AArch64) (#4639)
Ported the existing implementations of the following opcodes on AArch64 to ISLE: - `AvgRound` - Also introduced support for `i64x2` vectors, as per the docs. - `SqmulRoundSat` Copyright (c) 2022 Arm Limited
This commit is contained in:
@@ -1551,6 +1551,13 @@
|
||||
(_ Unit (emit (MInst.VecLanes op dst src size))))
|
||||
dst))
|
||||
|
||||
;; Helper for emitting `MInst.VecShiftImm` instructions.
|
||||
(decl vec_shift_imm (VecShiftImmOp u8 Reg VectorSize) Reg)
|
||||
(rule (vec_shift_imm op imm src size)
|
||||
(let ((dst WritableReg (temp_writable_reg $I8X16))
|
||||
(_ Unit (emit (MInst.VecShiftImm op dst src size imm))))
|
||||
dst))
|
||||
|
||||
;; Helper for emitting `MInst.VecDup` instructions.
|
||||
(decl vec_dup (Reg VectorSize) Reg)
|
||||
(rule (vec_dup src size)
|
||||
|
||||
Reference in New Issue
Block a user