/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 …]
|
H A D | ev67-strcat.S | 13 * E - either cluster 33 mov $16, $0 # E : set up return value 36 lda $2, -1 # E : 37 insqh $2, $16, $2 # U : 39 andnot $16, 7, $16 # E : 40 or $2, $1, $1 # E : 41 cmpbge $31, $1, $2 # E : bits set iff byte == 0 42 bne $2, $found # U : 45 addq $16, 8, $16 # E : 46 cmpbge $31, $1, $2 # E : [all …]
|
H A D | ev6-memcpy.S | 16 * E - either cluster 21 * $1,$2, - scratch 34 mov $16, $0 # E : copy dest to return 36 xor $16, $17, $1 # E : are source and dest alignments the same? 37 and $1, 7, $1 # E : are they the same mod 8? 41 and $16, 7, $1 # E : Are both 0mod8? 43 nop # E : 53 subq $18, 1, $18 # E : count-- 54 addq $17, 1, $17 # E : src++ 56 addq $16, 1, $16 # E : dest++ [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/arch/powerpc/crypto/ |
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 | aes-tab-4k.S | 14 * instructions. E.g. evldw, evlwwsplat, ... 19 * This is a quite good tradeoff for low power devices (e.g. routers) without 38 .long R(ce, 67, 67, a9), R(56, 2b, 2b, 7d) 44 .long R(8e, 47, 47, c9), R(fb, f0, f0, 0b) 51 .long R(6c, 36, 36, 5a), R(7e, 3f, 3f, 41) 56 .long R(62, 31, 31, 53), R(2a, 15, 15, 3f) 58 .long R(46, 23, 23, 65), R(9d, c3, c3, 5e) 60 .long R(0a, 05, 05, 0f), R(2f, 9a, 9a, b5) 61 .long R(0e, 07, 07, 09), R(24, 12, 12, 36) 63 .long R(cd, eb, eb, 26), R(4e, 27, 27, 69) [all …]
|
/linux/arch/arm/crypto/ |
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/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/arch/x86/crypto/ |
H A D | sha512-avx2-asm.S | 14 # General Public License (GPL) Version 2, available from the file 75 # 2nd arg 82 e = %rdx define 148 f = e 149 e = d define 183 rorx $41, e, y0 # y0 = e >> 41 # S1A 184 rorx $18, e, y1 # y1 = e >> 18 # S1B 190 xor y1, y0 # y0 = (e>>41) ^ (e>>18) # S1 192 rorx $14, e, y1 # y1 = (e >> 14) # S1 194 and e, y2 # y2 = (f^g)&e # CH [all …]
|
H A D | sm3-avx-asm_64.S | 112 #define e %r12d macro 136 #define STACK_W_SIZE (32 * 2 * 3) 181 #define R(i, a, b, c, d, e, f, g, h, round, widx, wtype) \ argument 184 /* rol (t0 + e + t), 7) => t1 */ \ 185 leal K##round(t0, e, 1), t1; \ 199 /* GG#i(e,f,g) => t2 */ \ 200 GG##i(e, f, g, t2, t1); \ 215 #define R1(a, b, c, d, e, f, g, h, round, widx, wtype) \ argument 216 R(1, a, b, c, d, e, f, g, h, round, widx, wtype) 218 #define R2(a, b, c, d, e, f, g, h, round, widx, wtype) \ argument [all …]
|
H A D | sha1_ssse3_asm.S | 118 mov 16(HASH_PTR), E 128 RR F1,A,B,C,D,E,0 129 RR F1,D,E,A,B,C,2 130 RR F1,B,C,D,E,A,4 131 RR F1,E,A,B,C,D,6 132 RR F1,C,D,E,A,B,8 134 RR F1,A,B,C,D,E,10 135 RR F1,D,E,A,B,C,12 136 RR F1,B,C,D,E,A,14 137 RR F1,E,A,B,C,D,16 [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/ |
H A D | CREDITS | 4 scripts. The fields are: name (N), email (E), web-address 13 E: mea@nic.funet.fi 20 E: thomas.ab@samsung.com 24 E: jose.abreu@synopsys.com 28 E: dragos@iname.com 36 E: madler@alumni.caltech.edu 41 E: magrawal@nortelnetworks.com 48 E: airlied@linux.ie 56 E: tigran@aivazian.fsnet.co.uk 64 E: werner@almesberger.net [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 | 75 loads[2] = (avenrun[2] + offset) << shift; in get_avenrun() 102 * the binary encoding of numbers used by computers: n := \Sum n_i * 2^i, 104 * we find: x^n := x^(\Sum n_i * 2^i) := \Prod x^(n_i * 2^i), which is 133 * a1 = a0 * e + a * (1 - e) 135 * a2 = a1 * e + a * (1 - e) 136 * = (a0 * e + a * (1 - e)) * e + a * (1 - e) 137 * = a0 * e^2 + a * (1 - e) * (1 + e) 139 * a3 = a2 * e + a * (1 - e) 140 * = (a0 * e^2 + a * (1 - e) * (1 + e)) * e + a * (1 - e) 141 * = a0 * e^3 + a * (1 - e) * (1 + e + e^2) [all …]
|
/linux/tools/testing/selftests/amd-pstate/ |
H A D | gitsource.sh | 8 # 2) Run gitsource benchmark on specific governors, ondemand or schedutil. 28 # $1: governor, $2: round, $3: des-perf, $4: freq, $5: load, $6: time $7: energy, $8: PPW 31 echo "$1, $2, $3, $4, $5, $6, $7, $8" | tee -a $OUTFILE_GIT.csv > /dev/null 2>&1 70 pushd $(pwd) > /dev/null 2>&1 73 wget -O $git_tar $gitsource_url > /dev/null 2>&1 77 popd > /dev/null 2>&1 81 # $1: governor, $2: loop 84 echo "Launching amd pstate tracer for $1 #$2 tracer_interval: $TRACER_INTERVAL" 85 $TRACER -n tracer-gitsource-$1-$2 -i $TRACER_INTERVAL > /dev/null 2>&1 & 87 printf "Make and test gitsource for $1 #$2 make_cpus: $MAKE_CPUS\n" [all …]
|
/linux/tools/testing/selftests/net/forwarding/ |
H A D | bridge_vlan_mcast.sh | 28 simple_if_init $h2 192.0.2.2/24 2001:db8:1::2/64 35 simple_if_fini $h2 192.0.2.2/24 2001:db8:1::2/64 109 jq -e ".[].mdb[] | select(.grp == \"$TEST_GROUP\" and .vid == 10)" &>/dev/null 118 ip address del dev $h2.10 $TEST_GROUP/32 2>&1 1>/dev/null 121 jq -e ".[].mdb[] | select(.grp == \"$TEST_GROUP\" and \ 132 jq -e ".[].vlans[] | select(.vlan == 10)" &>/dev/null 138 jq -e ".[].vlans[] | select(.vlan == 10 and .mcast_snooping == 1) " &>/dev/null 154 local version=$2 158 jq -e ".[].multicast.${type}_queries.tx_v${version}" 164 local dev=$2 [all …]
|