From 5e7610c70fe8afaa5dadbc249e9f77117ee30e32 Mon Sep 17 00:00:00 2001 From: Neel Gala Date: Fri, 8 Apr 2022 17:56:28 +0530 Subject: migrate Zbs-Extension opcodes - split instructions as per new file naming policy - here the 32-bit ops are considered pseudo_ops of the 64-bit equivalents as they only differ in one-bit. --- rv32_zbs | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 rv32_zbs (limited to 'rv32_zbs') diff --git a/rv32_zbs b/rv32_zbs new file mode 100644 index 0000000..14ac441 --- /dev/null +++ b/rv32_zbs @@ -0,0 +1,5 @@ +$pseudo_op rv64_zbs::bclri bclri rd rs1 31..25=0x24 shamtw 14..12=1 6..2=0x04 1..0=3 +$pseudo_op rv64_zbs::bexti bexti rd rs1 31..25=0x24 shamtw 14..12=5 6..2=0x04 1..0=3 +$pseudo_op rv64_zbs::binvi binvi rd rs1 31..25=0x34 shamtw 14..12=1 6..2=0x04 1..0=3 +$pseudo_op rv64_zbs::bseti bseti rd rs1 31..25=0x14 shamtw 14..12=1 6..2=0x04 1..0=3 + -- cgit v1.1