/openbmc/u-boot/arch/mips/mach-mt7620/ |
H A D | lowlevel_init.S | 81 lw t3, 0(t0) 82 ori t3, t3, 0x1 83 sw t3, 0(t0) 94 lw t3, 0(t0) 96 and t3, t3, t5 98 or t3, t3, t5 99 sw t3, 0(t0) 101 lw t3, 0(t0) 103 and t3, t3, t4 104 ori t3, t3, 0xc [all …]
|
/openbmc/linux/lib/crypto/mpi/ |
H A D | mpi-inv.c | 33 MPI u, v, u1, u2 = NULL, u3, v1, v2 = NULL, v3, t1, t2 = NULL, t3; in mpi_invm() local 68 t3 = mpi_copy(v); in mpi_invm() 69 t3->sign = !t3->sign; in mpi_invm() 75 t3 = mpi_copy(u); in mpi_invm() 88 mpi_rshift(t3, t3, 1); in mpi_invm() 93 mpi_rshift(t3, t3, 1); in mpi_invm() 97 } while (!mpi_test_bit(t3, 0)); /* while t3 is even */ in mpi_invm() 99 if (!t3->sign) { in mpi_invm() 103 mpi_set(u3, t3); in mpi_invm() 110 sign = t3->sign; t3->sign = !t3->sign; in mpi_invm() [all …]
|
/openbmc/linux/arch/x86/crypto/ |
H A D | ghash-clmulni-intel_asm.S | 28 #define T3 %xmm4 macro 44 * T3 49 pshufd $0b01001110, SHASH, T3 51 pxor SHASH, T3 55 pclmulqdq $0x00, T3, T2 # T2 = (a1 + a0) * (b1 + b0) 59 movaps T2, T3 60 pslldq $8, T3 62 pxor T3, DATA 67 movaps DATA, T3 68 psllq $1, T3 [all …]
|
H A D | aesni-intel_avx-x86_64.S | 571 .macro CALC_AAD_HASH GHASH_MUL AAD AADLEN T1 T2 T3 T4 T5 T6 T7 T8 587 \GHASH_MUL \T8, \T2, \T1, \T3, \T4, \T5, \T6 635 \GHASH_MUL \T7, \T2, \T1, \T3, \T4, \T5, \T6 863 .macro GHASH_MUL_AVX GH HK T1 T2 T3 T4 T5 866 vpshufd $0b01001110, \HK, \T3 868 vpxor \HK , \T3, \T3 # T3 = (b1+b0) 872 vpclmulqdq $0x00, \T3, \T2, \T2 # T2 = (a1+a0)*(b1+b0) 876 vpslldq $8, \T2,\T3 # shift-L T3 2 DWs 878 vpxor \T3, \GH, \GH 883 vpslld $30, \GH, \T3 # packed right shifting shift << 30 [all …]
|
H A D | nh-avx2-x86_64.S | 29 #define T3 %ymm11 macro 43 vpaddd \k0, T3, T0 44 vpaddd \k1, T3, T1 45 vpaddd \k2, T3, T2 46 vpaddd \k3, T3, T3 55 vpshufd $0x10, T3, T7 56 vpshufd $0x32, T3, T3 60 vpmuludq T7, T3, T3 64 vpaddq T3, PASS3_SUMS, PASS3_SUMS 86 vmovdqu (MESSAGE), T3 [all …]
|
/openbmc/linux/arch/riscv/lib/ |
H A D | memmove.S | 36 * Forward Copy: t3 - Index counter of dest 53 mv t3, a0 68 andi t5, t3, -SZREG 71 * If dest(Register t3) rounded down to the nearest naturally 79 beq t5, t3, 1f 101 sub a5, a1, t3 /* Find the difference between src and dest */ 136 addi t3, t3, (2 * SZREG) 140 REG_S t2, ((0 * SZREG) - (2 * SZREG))(t3) 142 beq t3, a2, 2f 149 REG_S t2, ((1 * SZREG) - (2 * SZREG))(t3) [all …]
|
/openbmc/u-boot/arch/riscv/cpu/ |
H A D | start.S | 104 la t3, __bss_start 105 sub t3, t3, t0 /* t3 <- __bss_start_ofs */ 106 add t2, t0, t3 /* t2 <- source end address */ 132 li t3, R_RISCV_RELATIVE /* reloc type R_RISCV_RELATIVE */ 133 bne t5, t3, 8f /* skip non-RISCV_RELOC entries */ 134 LREG t3, -(REGBYTES*3)(t1) 137 add t3, t3, t6 /* t3 <-- location to fix up in RAM */ 138 SREG t5, 0(t3) 151 li t3, RELOC_TYPE 152 bne t5, t3, 10f /* skip non-addned entries */ [all …]
|
/openbmc/linux/arch/alpha/lib/ |
H A D | ev67-strrchr.S | 42 sll t5, 8, t3 # U : 00000000ch000000 46 or t5, t3, t3 # E : 00000000chch0000 51 or t2, t3, t2 # E : 0000chchchch0000 60 cmpbge zero, t2, t3 # E : bits set iff byte == c 62 andnot t3, t4, t3 # E : clear garbage from char test 68 cmovne t3, v0, t6 # E : save previous comparisons match 72 cmovne t3, t3, t8 # E : Latency=2, extra map slot 78 cmpbge zero, t2, t3 # E : bits set iff byte == c 89 and t3, t4, t3 # E : mask out char matches after null 90 cmovne t3, t3, t8 # E : save it, if match found Latency=2, extra map slot [all …]
|
H A D | strrchr.S | 38 cmpbge zero, t2, t3 # e0 : bits set iff byte == c 40 andnot t3, t4, t3 # e0 : clear garbage from char test 46 cmovne t3, v0, t6 # .. e1 : save previous comparisons match 47 cmovne t3, t3, t8 # e0 : 51 cmpbge zero, t2, t3 # e0 : bits set iff byte == c 61 and t3, t4, t3 # e0 : mask out char matches after null 62 cmovne t3, t3, t8 # .. e1 : save it, if match found 63 cmovne t3, v0, t6 # e0 :
|
H A D | strchr.S | 36 cmpbge zero, t1, t3 # e0 : bits set iff byte == c 37 or t2, t3, t0 # e1 : bits set iff char match or zero match 46 cmpbge zero, t1, t3 # .. e1 : bits set iff byte == c 47 or t2, t3, t0 # e0 : 53 and t0, t3, t1 # e0 : bit set iff byte was the char 57 and t0, 0xcc, t3 # .. e1 : 60 cmovne t3, 2, t3 # e0 : 62 addq t2, t3, t2 # e0 :
|
H A D | ev67-strchr.S | 33 and a1, 0xff, t3 # E : 00000000000000ch 37 insbl t3, 6, a3 # U : 00ch000000000000 38 or t5, t3, a1 # E : 000000000000chch 55 cmpbge zero, t1, t3 # E : bits set iff byte == c 56 or t2, t3, t0 # E : bits set iff char match or zero match 74 cmpbge zero, t1, t3 # E : bits set iff byte == c 75 or t2, t3, t0 # E : 76 cttz t3, a2 # U0 : speculative (in case we get a match) 81 and t0, t3, t1 # E : bit set iff byte was the char
|
/openbmc/qemu/target/mips/tcg/ |
H A D | mxu_translate.c | 996 TCGv t0, t1, t2, t3; in gen_mxu_d16mul() local 1002 t3 = tcg_temp_new(); in gen_mxu_d16mul() 1019 gen_load_mxu_gpr(t3, XRc); in gen_mxu_d16mul() 1020 tcg_gen_sextract_tl(t2, t3, 0, 16); in gen_mxu_d16mul() 1021 tcg_gen_sextract_tl(t3, t3, 16, 16); in gen_mxu_d16mul() 1025 tcg_gen_mul_tl(t3, t1, t3); in gen_mxu_d16mul() 1029 tcg_gen_mul_tl(t3, t0, t3); in gen_mxu_d16mul() 1033 tcg_gen_mul_tl(t3, t1, t3); in gen_mxu_d16mul() 1037 tcg_gen_mul_tl(t3, t0, t3); in gen_mxu_d16mul() 1045 tcg_gen_shli_tl(t3, t3, 1); in gen_mxu_d16mul() [all …]
|
/openbmc/qemu/include/exec/ |
H A D | helper-gen.h.inc | 41 #define DEF_HELPER_FLAGS_3(name, flags, ret, t1, t2, t3) \ 44 dh_arg_decl(t1, 1), dh_arg_decl(t2, 2), dh_arg_decl(t3, 3)) \ 48 dh_arg(t1, 1), dh_arg(t2, 2), dh_arg(t3, 3)); \ 51 #define DEF_HELPER_FLAGS_4(name, flags, ret, t1, t2, t3, t4) \ 55 dh_arg_decl(t3, 3), dh_arg_decl(t4, 4)) \ 60 dh_arg(t3, 3), dh_arg(t4, 4)); \ 63 #define DEF_HELPER_FLAGS_5(name, flags, ret, t1, t2, t3, t4, t5) \ 66 dh_arg_decl(t1, 1), dh_arg_decl(t2, 2), dh_arg_decl(t3, 3), \ 71 dh_arg(t1, 1), dh_arg(t2, 2), dh_arg(t3, 3), \ 75 #define DEF_HELPER_FLAGS_6(name, flags, ret, t1, t2, t3, t4, t5, t6) \ [all …]
|
H A D | helper-proto.h.inc | 32 #define DEF_HELPER_FLAGS_3(name, flags, ret, t1, t2, t3) \ 34 dh_ctype(t3)) DEF_HELPER_ATTR; 36 #define DEF_HELPER_FLAGS_4(name, flags, ret, t1, t2, t3, t4) \ 37 dh_ctype(ret) HELPER(name) (dh_ctype(t1), dh_ctype(t2), dh_ctype(t3), \ 40 #define DEF_HELPER_FLAGS_5(name, flags, ret, t1, t2, t3, t4, t5) \ 41 dh_ctype(ret) HELPER(name) (dh_ctype(t1), dh_ctype(t2), dh_ctype(t3), \ 44 #define DEF_HELPER_FLAGS_6(name, flags, ret, t1, t2, t3, t4, t5, t6) \ 45 dh_ctype(ret) HELPER(name) (dh_ctype(t1), dh_ctype(t2), dh_ctype(t3), \ 49 #define DEF_HELPER_FLAGS_7(name, flags, ret, t1, t2, t3, t4, t5, t6, t7) \ 50 dh_ctype(ret) HELPER(name) (dh_ctype(t1), dh_ctype(t2), dh_ctype(t3), \
|
H A D | helper-head.h.inc | 122 #define DEF_HELPER_3(name, ret, t1, t2, t3) \ 123 DEF_HELPER_FLAGS_3(name, 0, ret, t1, t2, t3) 124 #define DEF_HELPER_4(name, ret, t1, t2, t3, t4) \ 125 DEF_HELPER_FLAGS_4(name, 0, ret, t1, t2, t3, t4) 126 #define DEF_HELPER_5(name, ret, t1, t2, t3, t4, t5) \ 127 DEF_HELPER_FLAGS_5(name, 0, ret, t1, t2, t3, t4, t5) 128 #define DEF_HELPER_6(name, ret, t1, t2, t3, t4, t5, t6) \ 129 DEF_HELPER_FLAGS_6(name, 0, ret, t1, t2, t3, t4, t5, t6) 130 #define DEF_HELPER_7(name, ret, t1, t2, t3, t4, t5, t6, t7) \ 131 DEF_HELPER_FLAGS_7(name, 0, ret, t1, t2, t3, t4, t5, t6, t7)
|
H A D | helper-info.c.inc | 40 #define DEF_HELPER_FLAGS_3(NAME, FLAGS, RET, T1, T2, T3) \ 45 | dh_typemask(T2, 2) | dh_typemask(T3, 3) \ 48 #define DEF_HELPER_FLAGS_4(NAME, FLAGS, RET, T1, T2, T3, T4) \ 53 | dh_typemask(T2, 2) | dh_typemask(T3, 3) \ 57 #define DEF_HELPER_FLAGS_5(NAME, FLAGS, RET, T1, T2, T3, T4, T5) \ 62 | dh_typemask(T2, 2) | dh_typemask(T3, 3) \ 66 #define DEF_HELPER_FLAGS_6(NAME, FLAGS, RET, T1, T2, T3, T4, T5, T6) \ 71 | dh_typemask(T2, 2) | dh_typemask(T3, 3) \ 76 #define DEF_HELPER_FLAGS_7(NAME, FLAGS, RET, T1, T2, T3, T4, T5, T6, T7) \ 81 | dh_typemask(T2, 2) | dh_typemask(T3, 3) \
|
/openbmc/linux/arch/arm/crypto/ |
H A D | aes-neonbs-core.S | 169 y0, y1, y2, y3, t0, t1, t2, t3 argument 172 mul_gf4 \x0, \x1, \y0, \y1, \t2, \t3 175 mul_gf4_n_gf4 \t0, \t1, \y0, \y1, \t3, \x2, \x3, \y2, \y3, \t2 182 mul_gf4_n_gf4 \t0, \t1, \y0, \y1, \t3, \x6, \x7, \y2, \y3, \t2 185 mul_gf4 \x4, \x5, \y0, \y1, \t2, \t3 193 t0, t1, t2, t3, s0, s1, s2, s3 194 veor \t3, \x4, \x6 199 veor \s3, \t3, \t0 201 vand \s2, \t3, \s0 202 vorr \t3, \t3, \s0 [all …]
|
H A D | sha512-armv4.pl | 76 $t3="r12"; 104 ldr $t3,[sp,#$Hoff+4] @ h.hi 119 adc $Thi,$Thi,$t3 @ T += h 120 ldr $t3,[sp,#$Goff+4] @ g.hi 124 eor $t1,$t1,$t3 132 eor $t1,$t1,$t3 @ Ch(e,f,g) 133 ldr $t3,[$Ktbl,#$hi] @ K[i].hi 141 adc $Thi,$Thi,$t3 @ T += K[i] 147 ldr $t3,[sp,#$Coff+0] @ c.lo 174 and $Alo,$Alo,$t3 [all …]
|
/openbmc/linux/arch/loongarch/kernel/ |
H A D | mcount.S | 50 la.pcrel t3, ftrace_graph_return 51 PTR_L t3, t3, 0 52 bne t1, t3, ftrace_graph_caller 54 la.pcrel t3, ftrace_graph_entry 55 PTR_L t3, t3, 0 56 bne t1, t3, ftrace_graph_caller
|
/openbmc/linux/arch/mips/lib/ |
H A D | csum_partial.S | 28 #undef t3 32 #define t3 $11 macro 182 CSUM_BIGCHUNK1(src, 0x00, sum, t0, t1, t3, t4) 193 CSUM_BIGCHUNK(src, 0x00, sum, t0, t1, t3, t4) 194 CSUM_BIGCHUNK(src, 0x20, sum, t0, t1, t3, t4) 195 CSUM_BIGCHUNK(src, 0x40, sum, t0, t1, t3, t4) 196 CSUM_BIGCHUNK(src, 0x60, sum, t0, t1, t3, t4) 208 CSUM_BIGCHUNK(src, 0x00, sum, t0, t1, t3, t4) 209 CSUM_BIGCHUNK(src, 0x20, sum, t0, t1, t3, t4) 217 CSUM_BIGCHUNK(src, 0x00, sum, t0, t1, t3, t4) [all …]
|
/openbmc/linux/arch/arm64/crypto/ |
H A D | nh-neon-core.S | 29 T3 .req v11 38 ld1 {T3.16b}, [MESSAGE], #16 44 add T0.4s, T3.4s, \k0\().4s 45 add T1.4s, T3.4s, \k1\().4s 46 add T2.4s, T3.4s, \k2\().4s 47 add T3.4s, T3.4s, \k3\().4s 53 mov T7.d[0], T3.d[1] 57 umlal PASS3_SUMS.2d, T3.2s, T7.2s
|
H A D | aes-neonbs-core.S | 115 y0, y1, y2, y3, t0, t1, t2, t3 argument 118 mul_gf4 \x0, \x1, \y0, \y1, \t2, \t3 121 mul_gf4_n_gf4 \t0, \t1, \y0, \y1, \t3, \x2, \x3, \y2, \y3, \t2 128 mul_gf4_n_gf4 \t0, \t1, \y0, \y1, \t3, \x6, \x7, \y2, \y3, \t2 131 mul_gf4 \x4, \x5, \y0, \y1, \t2, \t3 139 t0, t1, t2, t3, s0, s1, s2, s3 140 eor \t3, \x4, \x6 145 eor \s3, \t3, \t0 147 and \s2, \t3, \s0 148 orr \t3, \t3, \s0 [all …]
|
/openbmc/linux/arch/mips/kernel/ |
H A D | octeon_switch.S | 124 dmfc2 t3, 0x0082 131 sd t3, OCTEON_CP2_3DES_KEY+16(a0) 132 dmfc2 t3, 0x0103 139 sd t3, OCTEON_CP2_AES_IV+8(a0) 140 dmfc2 t3, 0x0107 147 sd t3, OCTEON_CP2_AES_KEY+24(a0) 160 dmfc2 t3, 0x0242 167 sd t3, OCTEON_CP2_HSH_DATW+16(a0) 168 dmfc2 t3, 0x0246 175 sd t3, OCTEON_CP2_HSH_DATW+48(a0) [all …]
|
/openbmc/linux/arch/riscv/include/asm/ |
H A D | errata_list.h | 89 "li t3, %1\n\t" \ 90 "slli t3, t3, %3\n\t" \ 91 "and t3, %0, t3\n\t" \ 92 "bne t3, zero, 2f\n\t" \ 93 "li t3, %2\n\t" \ 94 "slli t3, t3, %3\n\t" \ 95 "or %0, %0, t3\n\t" \ 102 : "t3")
|
/openbmc/linux/include/crypto/ |
H A D | aria.h | 344 u32 *t3) in aria_sbox_layer1_with_pre_diff() argument 358 *t3 = s1[get_u8(*t3, 0)] ^ in aria_sbox_layer1_with_pre_diff() 359 s2[get_u8(*t3, 1)] ^ in aria_sbox_layer1_with_pre_diff() 360 x1[get_u8(*t3, 2)] ^ in aria_sbox_layer1_with_pre_diff() 361 x2[get_u8(*t3, 3)]; in aria_sbox_layer1_with_pre_diff() 366 u32 *t3) in aria_sbox_layer2_with_pre_diff() argument 380 *t3 = x1[get_u8(*t3, 0)] ^ in aria_sbox_layer2_with_pre_diff() 381 x2[get_u8(*t3, 1)] ^ in aria_sbox_layer2_with_pre_diff() 382 s1[get_u8(*t3, 2)] ^ in aria_sbox_layer2_with_pre_diff() 383 s2[get_u8(*t3, 3)]; in aria_sbox_layer2_with_pre_diff() [all …]
|