1
0
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:
Chris Lattner 2006-03-01 06:36:20 +00:00
parent 137c02aa60
commit caec0d887c

View File

@ -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