diff options
author | Gabe Black <gblack@eecs.umich.edu> | 2009-06-21 09:38:54 -0700 |
---|---|---|
committer | Gabe Black <gblack@eecs.umich.edu> | 2009-06-21 09:38:54 -0700 |
commit | 39647097111575c57f4e8eb528059d300fd99df0 (patch) | |
tree | 23faabf0e7600403278b1f445e7b1b31eaa17bd7 /src/arch/arm/isa | |
parent | c20ce20e4c218e801db6f3495cb6bd1f5870156b (diff) | |
download | gem5-39647097111575c57f4e8eb528059d300fd99df0.tar.xz |
ARM: Adjust simplify rotate_imm slightly.
Diffstat (limited to 'src/arch/arm/isa')
-rw-r--r-- | src/arch/arm/isa/formats/pred.isa | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/arch/arm/isa/formats/pred.isa b/src/arch/arm/isa/formats/pred.isa index 751c21816..eccec58bd 100644 --- 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, int rotateValue) { - return ((immValue >> (int)(rotateValue & 31)) | - (immValue << (32 - (int)(rotateValue & 31)))); + return ((immValue >> (rotateValue & 31)) | + (immValue << (32 - (rotateValue & 31)))); } /** |