mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-14 11:32:34 +00:00
New testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16835 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
1f7e160f77
commit
8797f59758
@ -178,3 +178,10 @@ bool %test26(int %A) {
|
||||
ret bool %D
|
||||
}
|
||||
|
||||
ubyte %test27(ubyte %A) {
|
||||
%B = and ubyte %A, 4
|
||||
%C = sub ubyte %B, 16
|
||||
%D = and ubyte %C, 240 ;; 0xF0
|
||||
%E = add ubyte %D, 16
|
||||
ret ubyte %E
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user