| /linux/arch/alpha/lib/ |
| H A D | ev6-memchr.S | 26 * E - either cluster 50 and $17, 0xff, $17 # E : L L U U : 00000000000000ch 52 insbl $17, 1, $2 # U : 000000000000ch00 53 cmpult $18, 9, $4 # E : small (< 1 quad) string? 54 or $2, $17, $17 # E : 000000000000chch 55 lda $3, -1($31) # E : U L L U 57 sll $17, 16, $2 # U : 00000000chch0000 58 addq $16, $5, $5 # E : Max search address 59 or $2, $17, $17 # E : 00000000chchchch 60 sll $17, 32, $2 # U : U L L U : chchchch00000000 [all …]
|
| H A D | ev6-memset.S | 15 * E - either cluster 53 and $17,255,$1 # E : 00000000000000ch 54 insbl $17,1,$2 # U : 000000000000ch00 55 bis $16,$16,$0 # E : return value 58 addq $18,$16,$6 # E : max address to write to 59 bis $1,$2,$17 # E : 000000000000chch 60 insbl $1,2,$3 # U : 0000000000ch0000 63 or $3,$4,$3 # E : 00000000chch0000 65 xor $16,$6,$1 # E : will complete write be within one quadword? 66 inswl $17,6,$2 # U : chch000000000000 [all …]
|
| H A D | ev6-csum_ipv6_magic.S | 17 * E - either cluster 46 * split into 2 uints, add those, generating a ulong 48 * a final add of the 2 lower ushorts 69 and $16,7,$6 # E : src misalignment 72 ldq_u $2,0($17) # L : U L U L : Latency: 3 79 cmoveq $6,$31,$22 # E : src aligned? 82 addl $19,$7,$19 # E : U L U L : <sign bits>bbaabb00 84 or $0,$22,$0 # E : 1st src word complete 86 or $18,$4,$18 # E : 000000CCDDAABBCC 89 and $17,7,$6 # E : dst misalignment [all …]
|
| H A D | ev67-strncat.S | 18 * E - either cluster 38 lda $2, -1($31) # E : 40 insqh $2, $0, $2 # U : 41 andnot $16, 7, $16 # E : 42 nop # E : 43 or $2, $1, $1 # E : 45 nop # E : 46 nop # E : 47 cmpbge $31, $1, $2 # E : bits set iff byte == 0 48 bne $2, $found # U : [all …]
|
| H A D | ev6-divide.S | 39 * $2 - modulus/quotient 53 * E - either cluster 75 #define modulus $2 84 #define quotient $2 109 subq $30,STACK,$30 # E : 114 bis $25,$25,divisor # E : 115 stq $2, 8($30) # L : L U L U 117 bis $24,$24,modulus # E : 119 bis $31,$31,quotient # E : 120 LONGIFY(divisor) # E : U L L U [all …]
|
| H A D | ev6-copy_user.S | 21 * E - either cluster 49 mov $18, $0 # .. .. .. E 50 subq $18, 32, $1 # .. .. E. .. : Is this going to be a small copy? 51 nop # .. E .. .. 54 and $16,7,$3 # .. .. .. E : is leading dest misalignment 56 beq $3, $destaligned # .. U .. .. : 2nd (one cycle fetcher stall) 57 subq $3, 8, $3 # E .. .. .. : L U U L : trip counter 65 addq $16,1,$16 # .. .. E .. : Section 3.8 in the CWG 66 addq $3,1,$3 # .. E .. .. : 67 nop # E .. .. .. : U L U L [all …]
|
| H A D | ev6-clear_user.S | 18 * E - either cluster 53 and $16, 7, $4 # .. E .. .. : find dest head misalignment 56 addq $0, $4, $1 # .. .. .. E : bias counter 57 and $1, 7, $2 # .. .. E .. : number of misaligned bytes in tail 58 # Note - we never actually use $2, so this is a moot computation 60 srl $1, 3, $1 # .. E .. .. : number of quadwords to clear 70 addq $16, 8, $16 # E .. .. .. : L U U L 73 subq $1, 1, $1 # .. .. E .. : 74 addq $0, $4, $0 # .. E .. .. : bytes left -= 8 - misalignment 75 subq $0, 8, $0 # E .. .. .. : U L U L [all …]
|
| H A D | ev67-strrchr.S | 17 * E - either cluster 35 and a1, 0xff, t2 # E : 00000000000000ch 37 insbl a1, 2, t5 # U : 0000000000ch0000 40 mov zero, t6 # E : t6 is last match aligned addr 41 or t2, t4, a1 # E : 000000000000chch 43 mov zero, t8 # E : t8 is last match byte compare mask 45 andnot a0, 7, v0 # E : align source addr 46 or t5, t3, t3 # E : 00000000chch0000 50 or t4, a1, a1 # E : chch00000000chch 51 or t2, t3, t2 # E : 0000chchchch0000 [all …]
|
| H A D | ev67-strlen.S | 17 * E - either cluster 30 lda $2, -1($31) # E : 31 insqh $2, $16, $2 # U : 32 andnot $16, 7, $0 # E : 34 or $2, $1, $1 # E : 35 cmpbge $31, $1, $2 # E : $2 <- bitmask: bit i == 1 <==> i-th byte == 0 36 nop # E : 37 bne $2, $found # U : 40 addq $0, 8, $0 # E : addr += 8 41 cmpbge $31, $1, $2 # E : [all …]
|
| /linux/Documentation/driver-api/media/drivers/ccs/ |
| H A D | ccs-regs.asc | 6 # - e enum value # after a field 7 # - e enum value [LSB MSB] 23 - e GRBG 0 24 - e RGGB 1 25 - e BGGR 2 26 - e GBRG 3 28 - e v1_0 0x10 29 - e v1_1 0x11 39 - f 0 2 40 - e ts 0 [all …]
|
| /linux/lib/crypto/powerpc/ |
| H A D | sha1-spe-asm.S | 106 #define R_00_15(a, b, c, d, e, w0, w1, k, off) \ argument 113 add e,e,rT0; /* 1: E = E + A' */ \ 114 rotrwi b,b,2; /* 1: B = B rotl 30 */ \ 115 add e,e,w0; /* 1: E = E + W */ \ 116 LOAD_DATA(w1, off+4) /* 2: W */ \ 117 add e,e,rT2; /* 1: E = E + F */ \ 118 and rT1,a,b; /* 2: F' = B and C */ \ 119 add e,e,rK; /* 1: E = E + K */ \ 120 andc rT2,c,a; /* 2: F" = ~B and D */ \ 121 add d,d,rK; /* 2: E = E + K */ \ [all …]
|
| H A D | sha256-spe-asm.S | 101 #define R_LOAD_W(a, b, c, d, e, f, g, h, w, off) \ argument 103 rotrwi rT0,e,6; /* 1: S1 = e rotr 6 */ \ 104 rotrwi rT1,e,11; /* 1: S1' = e rotr 11 */ \ 105 rotrwi rT2,e,25; /* 1: S1" = e rotr 25 */ \ 107 and rT3,e,f; /* 1: ch = e and f */ \ 109 andc rT1,g,e; /* 1: ch' = ~e and g */ \ 114 rotrwi rT0,a,2; /* 1: S0 = a rotr 2 */ \ 126 LOAD_DATA(w, off+4) /* 2: W */ \ 128 rotrwi rT0,d,6; /* 2: S1 = e rotr 6 */ \ 130 rotrwi rT1,d,11; /* 2: S1' = e rotr 11 */ \ [all …]
|
| /linux/lib/crypto/arm/ |
| H A D | sha1-armv4-large.S | 7 @ Public License version 2 as published by the Free Software Foundation. 44 @ diverse as ARM ones: e.g., there are only two arithmetic 68 .align 2 82 ldrb r10,[r1,#2] 85 add r7,r8,r7,ror#2 @ E+=K_00_19 90 add r7,r7,r3,ror#27 @ E+=ROR(A,27) 94 add r7,r8,r7,ror#2 @ E+=K_00_19 96 add r7,r7,r3,ror#27 @ E+=ROR(A,27) 101 and r10,r4,r10,ror#2 102 add r7,r7,r9 @ E+=X[i] [all …]
|
| /linux/lib/crypto/x86/ |
| H A D | sha256-ssse3-asm.S | 13 # General Public License (GPL) Version 2, available from the file 91 INP = %rsi # 2nd arg 97 e = %edx define 139 f = e 140 e = d define 151 mov e, y0 # y0 = e 152 ror $(25-11), y0 # y0 = e >> (25-11) 156 xor e, y0 # y0 = e ^ (e >> (25-11)) 158 ror $(11-6), y0 # y0 = (e >> (11-6)) ^ (e >> (25-6)) 163 xor e, y0 # y0 = e ^ (e >> (11-6)) ^ (e >> (25-6)) [all …]
|
| H A D | sha256-avx-asm.S | 13 # General Public License (GPL) Version 2, available from the file 98 INP = %rsi # 2nd arg 104 e = %edx define 145 f = e 146 e = d define 157 mov e, y0 # y0 = e 158 MY_ROR (25-11), y0 # y0 = e >> (25-11) 162 xor e, y0 # y0 = e ^ (e >> (25-11)) 164 MY_ROR (11-6), y0 # y0 = (e >> (11-6)) ^ (e >> (25-6)) 168 xor e, y0 # y0 = e ^ (e >> (11-6)) ^ (e >> (25-6)) [all …]
|
| H A D | sha256-avx2-asm.S | 13 # General Public License (GPL) Version 2, available from the file 48 # This code schedules 2 blocks at a time, with 4 lanes per block 93 INP = %rsi # 2nd arg 97 e = %edx # clobbers NUM_BLKS define 115 _XFER_SIZE = 2*64*4 # 2 blocks, 64 rounds, 4 bytes/round 145 f = e 146 e = d define 157 rorx $25, e, y0 # y0 = e >> 25 # S1A 158 rorx $11, e, y1 # y1 = e >> 11 # S1B 166 xor y1, y0 # y0 = (e>>25) ^ (e>>11) # S1 [all …]
|
| H A D | sha512-avx2-asm.S | 14 # General Public License (GPL) Version 2, available from the file 74 # 2nd arg 81 e = %rdx define 147 f = e 148 e = d define 182 rorx $41, e, y0 # y0 = e >> 41 # S1A 183 rorx $18, e, y1 # y1 = e >> 18 # S1B 189 xor y1, y0 # y0 = (e>>41) ^ (e>>18) # S1 191 rorx $14, e, y1 # y1 = (e >> 14) # S1 193 and e, y2 # y2 = (f^g)&e # CH [all …]
|
| H A D | sha1-ssse3-and-avx.S | 117 mov 16(HASH_PTR), E 127 RR F1,A,B,C,D,E,0 128 RR F1,D,E,A,B,C,2 129 RR F1,B,C,D,E,A,4 130 RR F1,E,A,B,C,D,6 131 RR F1,C,D,E,A,B,8 133 RR F1,A,B,C,D,E,10 134 RR F1,D,E,A,B,C,12 135 RR F1,B,C,D,E,A,14 136 RR F1,E,A,B,C,D,16 [all …]
|
| /linux/tools/testing/selftests/filesystems/epoll/ |
| H A D | epoll_wakeup_test.c | 52 struct epoll_event e; in waiter_entry1a() local 55 if (epoll_wait(ctx->efd[0], &e, 1, -1) > 0) in waiter_entry1a() 64 struct epoll_event e; in waiter_entry1ap() local 70 if (epoll_wait(ctx->efd[0], &e, 1, 0) > 0) in waiter_entry1ap() 79 struct epoll_event e; in waiter_entry1o() local 82 if (epoll_wait(ctx->efd[0], &e, 1, -1) > 0) in waiter_entry1o() 91 struct epoll_event e; in waiter_entry1op() local 97 if (epoll_wait(ctx->efd[0], &e, 1, 0) > 0) in waiter_entry1op() 106 struct epoll_event events[2]; in waiter_entry2a() 109 if (epoll_wait(ctx->efd[0], events, 2, -1) > 0) in waiter_entry2a() [all …]
|
| /linux/tools/testing/selftests/ |
| H A D | kselftest_deps.sh | 13 echo -e "Usage: $0 -[p] <compiler> [test_name]\n" 14 echo -e "\tkselftest_deps.sh [-p] gcc" 15 echo -e "\tkselftest_deps.sh [-p] gcc mm" 16 echo -e "\tkselftest_deps.sh [-p] aarch64-linux-gnu-gcc" 17 echo -e "\tkselftest_deps.sh [-p] aarch64-linux-gnu-gcc mm\n" 41 echo -e "\tPlease run $0 in" 42 echo -e "\ttools/testing/selftests directory ..." 93 targets=$(grep -E "^TARGETS +|^TARGETS =" Makefile | cut -d "=" -f2) 100 if [ $# -eq 2 ] 102 test=$2/Makefile [all …]
|
| /linux/tools/perf/tests/shell/ |
| H A D | stat.sh | 5 set -e 25 if ! perf stat true 2>&1 | grep -E -q "Performance counter stats for 'true':" 36 if ! perf stat --null true 2>&1 | grep -E -q "Performance counter stats for 'true':" 62 if ! perf stat "-C$cpu" -e cycles true 2>&1 | grep -E -q "No supported events found." 73 if ! perf stat record -e task-clock -o - true | perf stat report -i - 2>&1 | \ 74 grep -E -q "Performance counter stats for 'pipe':" 85 if ! perf stat record -e task-clock -o - true | perf script -i - 2>&1 | \ 86 …grep -E -q "CPU[[:space:]]+THREAD[[:space:]]+VAL[[:space:]]+ENA[[:space:]]+RUN[[:space:]]+TIME[[:s… 97 if ! perf stat -e '{cycles,cycles,cycles,cycles,cycles,cycles,cycles,cycles,cycles,cycles}' \ 98 true 2>&1 | grep -q 'seconds time elapsed' [all …]
|
| /linux/ |
| H A D | CREDITS | 4 scripts. The fields are: name (N), email (E), web-address 13 E: mea@nic.funet.fi 20 E: kishon@kernel.org 24 E: thomas.ab@samsung.com 28 E: jose.abreu@synopsys.com 32 E: dragos@iname.com 40 E: madler@alumni.caltech.edu 45 E: magrawal@nortelnetworks.com 52 E: airlied@linux.ie 60 E: tigran@aivazian.fsnet.co.uk [all …]
|
| /linux/tools/perf/trace/beauty/ |
| H A D | mmap_flags.sh | 5 [ $# -eq 1 ] && hostarch=$1 || hostarch=`uname -m | sed -e s/i.86/x86/ -e s/x86_64/x86/` 11 header_dir=$2 18 # those in grep -E -vw are flags, we want just the bits 23 grep -E -q $regex ${arch_mman} && \ 24 (grep -E $regex ${arch_mman} | \ 25 sed -r "s/$regex/\2 \1 \1 \1 \2/g" | \ 27 grep -E -q $regex ${linux_mman} && \ 28 (grep -E $regex ${linux_mman} | \ 29 grep -E -vw 'MAP_(UNINITIALIZED|TYPE|SHARED_VALIDATE)' | \ 30 sed -r "s/$regex/\2 \1 \1 \1 \2/g" | \ [all …]
|
| /linux/kernel/sched/ |
| H A D | loadavg.c | 77 loads[2] = (avenrun[2] + offset) << shift; in get_avenrun() 104 * the binary encoding of numbers used by computers: n := \Sum n_i * 2^i, 106 * we find: x^n := x^(\Sum n_i * 2^i) := \Prod x^(n_i * 2^i), which is 135 * a1 = a0 * e + a * (1 - e) 137 * a2 = a1 * e + a * (1 - e) 138 * = (a0 * e + a * (1 - e)) * e + a * (1 - e) 139 * = a0 * e^2 + a * (1 - e) * (1 + e) 141 * a3 = a2 * e + a * (1 - e) 142 * = (a0 * e^2 + a * (1 - e) * (1 + e)) * e + a * (1 - e) 143 * = a0 * e^3 + a * (1 - e) * (1 + e + e^2) [all …]
|
| /linux/tools/perf/util/annotate-arch/ |
| H A D | annotate-sparc.c | 17 cond[2] == '\0') in is_branch_cond() 20 if (cond[0] == 'e' && in is_branch_cond() 22 (cond[1] == 'q' && cond[2] == '\0'))) in is_branch_cond() 27 (cond[1] == 't' && cond[2] == '\0') || in is_branch_cond() 28 (cond[1] == 'e' && cond[2] == '\0') || in is_branch_cond() 29 (cond[1] == 'e' && cond[2] == 'u' && cond[3] == '\0'))) in is_branch_cond() 34 (cond[1] == 't' && cond[2] == '\0') || in is_branch_cond() 35 (cond[1] == 'u' && cond[2] == '\0') || in is_branch_cond() 36 (cond[1] == 'e' && cond[2] == '\0') || in is_branch_cond() 37 (cond[1] == 'e' && cond[2] == 'u' && cond[3] == '\0'))) in is_branch_cond() [all …]
|