From b8d27b6ac039abc1c31b3caea4342cadfb682ea3 Mon Sep 17 00:00:00 2001 From: marcfedorow Date: Fri, 15 Oct 2021 02:18:53 +0300 Subject: Split 'P' to EXT_ZPN and friends (#830) * Added ZMMUL extension * Splitted P-ext to its zeds * Typo fix --- riscv/insns/raddw.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'riscv/insns/raddw.h') diff --git a/riscv/insns/raddw.h b/riscv/insns/raddw.h index aacfdee..ec04bb6 100644 --- a/riscv/insns/raddw.h +++ b/riscv/insns/raddw.h @@ -1,4 +1,4 @@ -require_extension('P'); +require_extension(EXT_ZPN); sreg_t res = (sreg_t)P_SW(RS1, 0) + (sreg_t)P_SW(RS2, 0); res >>= 1; WRITE_RD(sext_xlen(res)); -- cgit v1.1