openhwgroup / core-v-sw

Main Repo for the OpenHW Group Software Task Group
Eclipse Public License 2.0
15 stars 28 forks source link

xcvalu carry bit for add+shift operation #262

Closed realqhc closed 8 months ago

realqhc commented 9 months ago

https://github.com/llvm/llvm-project/pull/78138#discussion_r1452688437 From the spec there is a carry bit as mentioned in comment above, is this true that the bit is retained after shift operation?

pascalgouedo commented 9 months ago

As replied in https://github.com/llvm/llvm-project/pull/78138, there is no carry in RISC-V spec. And same for intermediate computation result.