Actions
Bug #5976
closedShifted bit vector should be of the same size that was a source one
Start date:
05/22/2015
Due date:
% Done:
100%
Estimated time:
Detected in build:
svn
Platform:
Published in build:
150522
Description
I have to write coerce explicitly:
wmask<1..0> = coerce(card(2), welem<1..0> >>> R)
rather that simply assign the shift result:
wmask<1..0> = welem<1..0> >>> R
Otherwise there would be an error: can't assign 32-bit value to a 2-bit field!
Updated by Mikhail Chupilko over 9 years ago
Generated JAVA for the explicit coerce case
wmask.access().bitField(1, 0).store(DataEngine.coerce(Type.CARD(2), DataEngine.execute(EOperatorID.R_ROTATE, DataEngine.coerce(Type.CARD(32), welem.access().bitField(1, 0).load()), R.access().load())));
Updated by Andrei Tatarnikov over 9 years ago
- Status changed from New to Resolved
- % Done changed from 0 to 100
Fixed: r3683
Updated by Mikhail Chupilko over 9 years ago
- Status changed from Resolved to Verified
- % Done changed from 100 to 0
Updated by Andrei Tatarnikov over 9 years ago
- Status changed from Verified to Closed
- Published in build set to 150522
Actions