projects
/
gem5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c20ce20
)
ARM: Adjust simplify rotate_imm slightly.
author
Gabe Black
<gblack@eecs.umich.edu>
Sun, 21 Jun 2009 16:38:54 +0000
(09:38 -0700)
committer
Gabe Black
<gblack@eecs.umich.edu>
Sun, 21 Jun 2009 16:38:54 +0000
(09:38 -0700)
src/arch/arm/isa/formats/pred.isa
patch
|
blob
|
history
diff --git
a/src/arch/arm/isa/formats/pred.isa
b/src/arch/arm/isa/formats/pred.isa
index 751c218169e4f8fec0f71a6b62ef88716693a81f..eccec58bd0550d0a05a06da7c05652e38a170ff0 100644
(file)
--- a/
src/arch/arm/isa/formats/pred.isa
+++ b/
src/arch/arm/isa/formats/pred.isa
@@
-37,10
+37,10
@@
output header {{
#include <iostream>
inline uint32_t
- rotate_imm(uint32_t immValue,
uint32_
t rotateValue)
+ rotate_imm(uint32_t immValue,
in
t rotateValue)
{
- return ((immValue >> (
int)(
rotateValue & 31)) |
- (immValue << (32 - (
int)(
rotateValue & 31))));
+ return ((immValue >> (rotateValue & 31)) |
+ (immValue << (32 - (rotateValue & 31))));
}
/**