summaryrefslogtreecommitdiffstats
path: root/drivers/leds/leds-wrap.c
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2009-11-23 14:01:47 -0800
committerDavid S. Miller <davem@davemloft.net>2009-11-23 14:01:47 -0800
commitb5b5150977cdfb7173f4468ccd30f9b4a981b902 (patch)
tree27d477910d630a027c0b447a58ae61b1c57dbca5 /drivers/leds/leds-wrap.c
parentdcfcb256cc23c4436691b0fe677275306699d6a1 (diff)
parent45ba564d765d6165330e9bb14a197bdd348c114d (diff)
downloadkernel-crypto-b5b5150977cdfb7173f4468ccd30f9b4a981b902.tar.gz
kernel-crypto-b5b5150977cdfb7173f4468ccd30f9b4a981b902.tar.xz
kernel-crypto-b5b5150977cdfb7173f4468ccd30f9b4a981b902.zip
Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-2.6
Diffstat (limited to 'drivers/leds/leds-wrap.c')
0 files changed, 0 insertions, 0 deletions
pan> IF !CC JUMP .Lbytes ; /* Jump if addrs not aligned. */ P1 = P2 >> 2; /* count = n/4 */ R3 = 3; R2 = R2 & R3; /* remainder */ P2 = R2; /* set remainder */ LSETUP (.Lquad_loop_s , .Lquad_loop_e) LC0=P1; .Lquad_loop_s: NOP; R0 = [P0++]; R1 = [I0++]; CC = R0 == R1; IF !CC JUMP .Lquad_different; .Lquad_loop_e: NOP; P3 = I0; /* s2 */ .Ltoo_small: CC = P2 == 0; /* Check zero count*/ IF CC JUMP .Lfinished; /* very unlikely*/ .Lbytes: LSETUP (.Lbyte_loop_s , .Lbyte_loop_e) LC0=P2; .Lbyte_loop_s: R1 = B[P3++](Z); /* *s2 */ R0 = B[P0++](Z); /* *s1 */ CC = R0 == R1; IF !CC JUMP .Ldifferent; .Lbyte_loop_e: NOP; .Ldifferent: R0 = R0 - R1; P3 = I1; RTS; .Lquad_different: /* We've read two quads which don't match. * Can't just compare them, because we're * a little-endian machine, so the MSBs of * the regs occur at later addresses in the * string. * Arrange to re-read those two quads again, * byte-by-byte. */ P0 += -4; /* back up to the start of the */ P3 = I0; /* quads, and increase the*/ P2 += 4; /* remainder count*/ P3 += -4; JUMP .Lbytes; .Lfinished: R0 = 0; P3 = I1; RTS; .size _memcmp, .-_memcmp