mirror of
https://github.com/RPCS3/llvm.git
synced 2024-12-15 16:09:57 +00:00
Cast to (uint64_t) instead of relying on the "ul" suffix.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@101573 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
abf0c3475a
commit
de0ade4939
@ -2104,7 +2104,7 @@ static uint64_t decodeN1VImm(uint32_t insn, ElemSize esize) {
|
||||
case ESize64: {
|
||||
for (unsigned i = 0; i < 8; ++i)
|
||||
if ((Imm8 >> i) & 1)
|
||||
Imm64 |= 0xFFul << 8*i;
|
||||
Imm64 |= (uint64_t)0xFF << 8*i;
|
||||
break;
|
||||
}
|
||||
default:
|
||||
|
Loading…
Reference in New Issue
Block a user