Comments (2)
I think I may have answered my own question but would like it confirmed
in the case of the above instructions the shift mask is actually (32 - 1) which is the XLEN of the target register, not the XLEN of the machine (64 - 1)
Thx
Lee
from riscv-bitmanip.
The spec doesn't contain any pseudo-code for SROW, but in general, the RV64 *W instructions implement the same semantics as the regular non-W version of the instruction on RV32. I.e. yes, the shift mask for SROW is 31, just like the shift mask for the base ISA SLLW, SRLW, and SRAW instructions.
from riscv-bitmanip.
Related Issues (20)
- Zero and sign extend of pack.h vs pack.w
- Zbt status? HOT 1
- gmp (GNU Multiprecision Library) issues HOT 5
- GCC toolchain for draft v.0.93 (and v.1.0.0) HOT 2
- Question: No bit-field extract/insert instructions? HOT 2
- [RV64] encoding of "packw" will conflict with "zext.h" if rs2 field of "packw" is equal to zero HOT 4
- Wrong description of logical with negate andn instruction HOT 2
- Name confusion: CPOP HOT 1
- Spec contains Zbkb instructions which do not match the scalar crypto spec HOT 4
- Is there a instruction to implement bit reverse?? HOT 2
- Multiple OR / Multiple XOR (MMIX)
- UTF encoding/decoding instructions HOT 1
- Verilog source for the extension HOT 1
- Does MISA.B control zba/zbb/zbc/zbs? HOT 2
- byteswap instructions HOT 1
- cmov HOT 3
- Question about riscv32B and riscv64B performance improvement. HOT 3
- Provide overflow-detecting arithmetic instructions? HOT 1
- Status of draft 0.93 instructions
- Make occurs error:Failed to generate image: no implicit conversion of nil into String
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from riscv-bitmanip.