mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-11-02 22:04:55 +00:00
ptx: add integer div and rem instruction
Patched by Dan Bailey git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@129848 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
1e93249199
commit
b32204cd16
@ -534,6 +534,8 @@ multiclass PTX_ST_ALL<string opstr, PatFrag pat_store> {
|
||||
defm ADD : INT3<"add", add>;
|
||||
defm SUB : INT3<"sub", sub>;
|
||||
defm MUL : INT3<"mul.lo", mul>; // FIXME: Allow 32x32 -> 64 multiplies
|
||||
defm DIV : INT3<"div", udiv>;
|
||||
defm REM : INT3<"rem", urem>;
|
||||
|
||||
///===- Floating-Point Arithmetic Instructions ----------------------------===//
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user