mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-08-07 12:28:24 +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:
@@ -431,6 +431,9 @@ def MOV32mr : I<0x89, MRMDestMem, (ops i32mem:$dst, R32:$src),
|
|||||||
"mov{l} {$src, $dst|$dst, $src}",
|
"mov{l} {$src, $dst|$dst, $src}",
|
||||||
[(store R32:$src, addr:$dst)]>;
|
[(store R32:$src, addr:$dst)]>;
|
||||||
|
|
||||||
|
// Handling 1 bit load
|
||||||
|
def : Pat<(i1 (load addr:$src)), (MOV8rm addr:$src)>;
|
||||||
|
|
||||||
//===----------------------------------------------------------------------===//
|
//===----------------------------------------------------------------------===//
|
||||||
// Fixed-Register Multiplication and Division Instructions...
|
// Fixed-Register Multiplication and Division Instructions...
|
||||||
//
|
//
|
||||||
|
Reference in New Issue
Block a user