repo.or.cz
/
qbe.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
fix various codegen bugs on arm64
[qbe.git]
/
test
/
align.ssa
blob
49f11837c79060c88b6690afabcc945ac2dd46d2
1
export
2
function $test() {
3
@start
4
%x =l alloc16 16
5
%y =l add %x, 8
6
%m =w rem %y, 16
7
storew %m, %y
8
%n =w loadw %y
9
storew %n, $a
10
ret
11
}
12
13
# >>> driver
14
# extern void test(void);
15
# int a;
16
# int main() { test(); return !(a == 8 || a == -8); }
17
# <<<