mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-24 08:24:33 +00:00
Fix vmov.f64 disassembly on targets where sizeof(long) != 8.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@114240 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -1588,9 +1588,9 @@ static APInt VFPExpandImm(unsigned char byte, unsigned N) {
|
||||
Result = (uint64_t)slice(byte, 7, 7) << 63 |
|
||||
(uint64_t)slice(byte, 5, 0) << 48;
|
||||
if (bit6)
|
||||
Result |= 0xffL << 54;
|
||||
Result |= 0xffULL << 54;
|
||||
else
|
||||
Result |= 0x1L << 62;
|
||||
Result |= 0x1ULL << 62;
|
||||
}
|
||||
return APInt(N, Result);
|
||||
}
|
||||
|
Reference in New Issue
Block a user