mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2025-04-01 12:43:47 +00:00
Add a another TODO note.
Patch by: Aaron Watry llvm-svn: 184999
This commit is contained in:
parent
4974f6c6d0
commit
a30713710c
@ -27,6 +27,9 @@ _CLC_OVERLOAD _CLC_DEF GENTYPE rotate(GENTYPE x, GENTYPE n){
|
||||
|
||||
UGENTYPE x_1 = __builtin_astype(x, UGENTYPE);
|
||||
|
||||
//XXX: Is (UGENTYPE >> SGENTYPE) | (UGENTYPE << SGENTYPE) legal?
|
||||
// If so, then combine the amt and shifts into a single set of statements
|
||||
|
||||
UGENTYPE amt;
|
||||
amt = (n < (GENTYPE)0 ? __builtin_astype((GENTYPE)0-n, UGENTYPE) : (UGENTYPE)0);
|
||||
x_1 = (x_1 >> amt) | (x_1 << ((UGENTYPE)GENSIZE - amt));
|
||||
|
Loading…
x
Reference in New Issue
Block a user