mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-26 04:32:44 +01:00
add a note
llvm-svn: 26448
This commit is contained in:
parent
137c02aa60
commit
caec0d887c
@ -434,3 +434,21 @@ int f(signed char *a, _Bool b, _Bool c) {
|
||||
if (c) *a = t;
|
||||
}
|
||||
|
||||
===-------------------------------------------------------------------------===
|
||||
|
||||
This:
|
||||
int test(unsigned *P) { return *P >> 24; }
|
||||
|
||||
Should compile to:
|
||||
|
||||
_test:
|
||||
lbz r3,0(r3)
|
||||
blr
|
||||
|
||||
not:
|
||||
|
||||
_test:
|
||||
lwz r2, 0(r3)
|
||||
srwi r3, r2, 24
|
||||
blr
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user