diff options
author | Andrew Waterman <andrew@sifive.com> | 2024-05-01 16:25:46 -0700 |
---|---|---|
committer | Andrew Waterman <andrew@sifive.com> | 2024-05-01 16:53:06 -0700 |
commit | c9468f6e024abb6d620ace295ef6e2e58e8f7eb2 (patch) | |
tree | 9be4f9d3cbe9ff9321d64109be58b3a0ba605654 /riscv/insns/uclip32.h | |
parent | c4edeabbe756b2527a63970492dfb2239953a990 (diff) | |
download | spike-c9468f6e024abb6d620ace295ef6e2e58e8f7eb2.zip spike-c9468f6e024abb6d620ace295ef6e2e58e8f7eb2.tar.gz spike-c9468f6e024abb6d620ace295ef6e2e58e8f7eb2.tar.bz2 |
Remove Zbpbo, Zpn, and Zpsfoperand implementation
Diffstat (limited to 'riscv/insns/uclip32.h')
-rw-r--r-- | riscv/insns/uclip32.h | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/riscv/insns/uclip32.h b/riscv/insns/uclip32.h deleted file mode 100644 index d347650..0000000 --- a/riscv/insns/uclip32.h +++ /dev/null @@ -1,13 +0,0 @@ -require_vector_vs; -P_I_LOOP(32, 5, { - int64_t uint_max = imm5u ? UINT64_MAX >> (64 - imm5u) : 0; - pd = ps1; - - if (ps1 > uint_max) { - pd = uint_max; - P_SET_OV(1); - } else if (ps1 < 0) { - pd = 0; - P_SET_OV(1); - } -}) |