mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-30 02:25:19 +00:00
Add support for 64-bit integer multiply instructions.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@141017 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -70,3 +70,16 @@ entry:
|
||||
ret i64 %xor
|
||||
}
|
||||
|
||||
define i64 @f12(i64 %a, i64 %b) nounwind readnone {
|
||||
entry:
|
||||
; CHECK: mult
|
||||
%mul = mul nsw i64 %b, %a
|
||||
ret i64 %mul
|
||||
}
|
||||
|
||||
define i64 @f13(i64 %a, i64 %b) nounwind readnone {
|
||||
entry:
|
||||
; CHECK: mult
|
||||
%mul = mul i64 %b, %a
|
||||
ret i64 %mul
|
||||
}
|
||||
|
Reference in New Issue
Block a user