diff options
author | Koakuma <koachan@protonmail.com> | 2021-11-14 19:56:41 +0100 |
---|---|---|
committer | LemonBoy <thatlemon@gmail.com> | 2021-11-14 19:59:52 +0100 |
commit | 3e0f3041cc1abe977edd288525c62da8c28219e5 (patch) | |
tree | 69b92197ce14064f5df6f10e002ff566b3907d70 /llvm/docs/tutorial | |
parent | bec488b8183c06c409ddbdd49bbfe2709e407b32 (diff) | |
download | llvm-3e0f3041cc1abe977edd288525c62da8c28219e5.zip llvm-3e0f3041cc1abe977edd288525c62da8c28219e5.tar.gz llvm-3e0f3041cc1abe977edd288525c62da8c28219e5.tar.bz2 |
[SPARC] Zero-extend the operands when doing UMULO on 64-bit integers
On SPARC, S/UMULO operation on 64-bit integers works by extending the value to 128-bit, then doing a multiplication and checking the upper half of the result.
This makes UMULO works correctly by putting a zero in the upper half rather than doing a sign extension.
Reviewed By: LemonBoy
Differential Revision: https://reviews.llvm.org/D110555
Diffstat (limited to 'llvm/docs/tutorial')
0 files changed, 0 insertions, 0 deletions