[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[openrisc] Shift Instructions



Hello again!
I see in the OR1000 Architecture Manual that 32 - bit implementation of l.sra is as follows:
rD[31-rB[5:0]:0] <- rA[31:rB[5:0]]
rD[31:32-rB[5:0]] <- rA[31]
However, in OR1200 rtl the implementation is
rD[31-rB[4:0]:0] <- rA[31:rB[4:0]]
rD[31:32-rB[4:0]] <- rA[31]
What should it use?