mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-16 11:30:51 +00:00
Use MOV8rm to load 1 bit value.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@24721 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
b5f8e62d71
commit
f6036a3f1b
@ -431,6 +431,9 @@ def MOV32mr : I<0x89, MRMDestMem, (ops i32mem:$dst, R32:$src),
|
||||
"mov{l} {$src, $dst|$dst, $src}",
|
||||
[(store R32:$src, addr:$dst)]>;
|
||||
|
||||
// Handling 1 bit load
|
||||
def : Pat<(i1 (load addr:$src)), (MOV8rm addr:$src)>;
|
||||
|
||||
//===----------------------------------------------------------------------===//
|
||||
// Fixed-Register Multiplication and Division Instructions...
|
||||
//
|
||||
|
Loading…
Reference in New Issue
Block a user