Lines Matching +full:- +full:o1
2 # Copyright 2012-2016 The OpenSSL Project Authors. All Rights Reserved.
18 # store" which cancels "read" in "read-update-write" on cache lines.
21 # usual benchmarks, on the contrary you can notice that single-thread
31 for (@_) { $::abibits=64 if (/\-m64/ || /\-xarch\=v9/); }
48 save %sp, -$::frame, %sp
96 ldx [$inp + 8], %o1
100 srlx %o1, $iright, %g1
101 sllx %o1, $ileft, %o1
104 or %o2, %o1, %o1
107 xor %g5, %o1, %o1
109 movxtod %o1, %f14
145 2: ldxa [$inp]0x82, %o0 ! avoid read-after-write hazard
206 ldx [$inp + 8], %o1
210 srlx %o1, $iright, %g1
211 sllx %o1, $ileft, %o1
214 or %o2, %o1, %o1
217 xor %g5, %o1, %o1
219 movxtod %o1, %f14
228 stda %f0, [$out]0xe2 ! ASI_BLK_INIT, T4-specific
230 stda %f2, [$out]0xe2 ! ASI_BLK_INIT, T4-specific
255 .size ${alg}${bits}_t4_cbc_encrypt,.-${alg}${bits}_t4_cbc_encrypt
266 save %sp, -$::frame, %sp
315 ldx [$inp + 8], %o1
319 srlx %o1, $iright, %g1
320 sllx %o1, $ileft, %o1
323 or %o2, %o1, %o1
326 xor %g5, %o1, %o3
338 movxtod %o1, %f14
367 2: ldxa [$inp]0x82, %o0 ! avoid read-after-write hazard
404 ldx [$inp + 8], %o1
411 srlx %o1, $iright, %g1
413 sllx %o1, $ileft, %o1
415 or %g1, %o1, %o1
424 xor %g5, %o1, %o5
438 movxtod %o1, %f10
474 2: ldxa [$inp]0x82, %o0 ! avoid read-after-write hazard
540 ldx [$inp + 8], %o1
547 srlx %o1, $iright, %g1
549 sllx %o1, $ileft, %o1
551 or %g1, %o1, %o1
560 xor %g5, %o1, %o5
574 movxtod %o1, %f10
582 stda %f0, [$out]0xe2 ! ASI_BLK_INIT, T4-specific
584 stda %f2, [$out]0xe2 ! ASI_BLK_INIT, T4-specific
586 stda %f4, [$out]0xe2 ! ASI_BLK_INIT, T4-specific
588 stda %f6, [$out]0xe2 ! ASI_BLK_INIT, T4-specific
617 .size ${alg}${bits}_t4_cbc_decrypt,.-${alg}${bits}_t4_cbc_decrypt
628 save %sp, -$::frame, %sp
669 ldx [$inp + 8], %o1
673 srlx %o1, $iright, %g1
674 sllx %o1, $ileft, %o1
677 or %o2, %o1, %o1
699 movxtod %o1, %f12
715 2: ldxa [$inp]0x82, %o0 ! avoid read-after-write hazard
737 ldx [$inp + 8], %o1
744 srlx %o1, $iright, %g1
746 sllx %o1, $ileft, %o1
748 or %g1, %o1, %o1
784 movxtod %o1, %f10
806 2: ldxa [$inp]0x82, %o0 ! avoid read-after-write hazard
843 ldx [$inp + 8], %o1
850 srlx %o1, $iright, %g1
852 sllx %o1, $ileft, %o1
854 or %g1, %o1, %o1
890 movxtod %o1, %f10
898 stda %f0, [$out]0xe2 ! ASI_BLK_INIT, T4-specific
900 stda %f2, [$out]0xe2 ! ASI_BLK_INIT, T4-specific
902 stda %f4, [$out]0xe2 ! ASI_BLK_INIT, T4-specific
904 stda %f6, [$out]0xe2 ! ASI_BLK_INIT, T4-specific
919 .size ${alg}${bits}_t4_ctr32_encrypt,.-${alg}${bits}_t4_ctr32_encrypt
932 save %sp, -$::frame-16, %sp
936 add %fp, $::bias-16, %o1
940 add %fp, $::bias-16, %l7
942 add %fp, $::bias-8, %l7
953 and $len, -16, $len
988 ldx [$inp + 8], %o1
992 srlx %o1, $iright, %g1
993 sllx %o1, $ileft, %o1
996 or %o2, %o1, %o1
1004 xor %g5, %o1, %o1
1006 movxtod %o1, %f2
1040 2: ldxa [$inp]0x82, %o0 ! avoid read-after-write hazard
1065 ldx [$inp + 8], %o1
1072 srlx %o1, $iright, %g1
1074 sllx %o1, $ileft, %o1
1076 or %g1, %o1, %o1
1101 xor %g5, %o1, %o1
1105 movxtod %o1, %f2
1155 2: ldxa [$inp]0x82, %o0 ! avoid read-after-write hazard
1197 ldx [$inp + 8], %o1
1204 srlx %o1, $iright, %g1
1206 sllx %o1, $ileft, %o1
1208 or %g1, %o1, %o1
1233 xor %g5, %o1, %o1
1237 movxtod %o1, %f2
1268 stda %f0, [$out]0xe2 ! ASI_BLK_INIT, T4-specific
1270 stda %f2, [$out]0xe2 ! ASI_BLK_INIT, T4-specific
1272 stda %f4, [$out]0xe2 ! ASI_BLK_INIT, T4-specific
1274 stda %f6, [$out]0xe2 ! ASI_BLK_INIT, T4-specific
1298 std %f0, [%fp + $::bias-16] ! copy of output
1299 std %f2, [%fp + $::bias-8]
1302 add %fp, $::bias-16, %l7
1303 add $inp, $ileft, $inp ! original $inp+$len&-15
1304 add $out, $ooff, $out ! original $out+$len&-15
1310 ldub [%l7 + $ileft], %o1
1313 stb %o1, [$out + $ileft]
1329 ldx [$inp + 8], %o1
1333 srlx %o1, $iright, %g1
1334 sllx %o1, $ileft, %o1
1337 or %o2, %o1, %o1
1351 xor %g5, %o1, %o1
1353 movxtod %o1, %f2
1364 std %f0, [%fp + $::bias-16]
1365 std %f2, [%fp + $::bias-8]
1368 add %fp, $::bias-16, %l7
1369 add $inp, $ileft, $inp ! original $inp+$len&-15
1370 add $out, $ooff, $out ! original $out+$len&-15
1377 ldub [%l7 + $ileft], %o1
1380 stb %o1, [$out + $ileft]
1395 .size ${alg}${bits}_t4_xts_${dir}crypt,.-${alg}${bits}_t4_xts_${dir}crypt
1401 # extensions on compiler command line, e.g. -xarch=v9 vs. -xarch=v9a.
1403 # programmer detect if current CPU is VIS capable at run-time.
1417 return $ref if (!/%f([0-9]{1,2})/);
1421 # re-encode for upper double register addressing
1449 return $ref if (!/%([goli])([0-9])/);
1461 sub unaes_round { # 4-argument instructions
1477 $rs3 = ($rs3 =~ /%f([0-6]*[02468])/) ? (($1|$1>>5)&31) : $rs3;
1479 return $ref if (!/%f([0-9]{1,2})/);
1483 # re-encode for upper double register addressing
1496 sub unaes_kexpand { # 3-argument instructions
1506 return $ref if (!/%f([0-9]{1,2})/);
1510 # re-encode for upper double register addressing
1523 sub uncamellia_f { # 4-argument instructions
1530 $rs3 = ($rs3 =~ /%f([0-6]*[02468])/) ? (($1|$1>>5)&31) : $rs3;
1532 return $ref if (!/%f([0-9]{1,2})/);
1536 # re-encode for upper double register addressing
1549 sub uncamellia3 { # 3-argument instructions
1559 return $ref if (!/%f([0-9]{1,2})/);
1563 # re-encode for upper double register addressing
1576 sub unmovxtox { # 2-argument instructions
1590 return $ref if (!/%([fgoli])([0-9]{1,2})/);
1594 # re-encode for upper double register addressing
1618 if (defined($opf=$desopf{$mnemonic})) { # 4-arg
1621 return $ref if (!/%f([0-9]{1,2})/);
1625 # re-encode for upper double register addressing
1632 } elsif ($mnemonic eq "des_kexpand") { # 3-arg
1634 return $ref if (!/(%f)?([0-9]{1,2})/);
1638 # re-encode for upper double register addressing
1645 } else { # 2-arg
1647 return $ref if (!/%f([0-9]{1,2})/);
1651 # re-encode for upper double register addressing
1668 s/\b(f[a-z]+2[sd]*)\s+(%f[0-9]{1,2}),\s*(%f[0-9]{1,2})\s*$/$1\t%f0,$2,$3/go;
1670 s/\b(aes_[edk][^\s]*)\s+(%f[0-9]{1,2}),\s*(%f[0-9]{1,2}),\s*([%fx0-9]+),\s*(%f[0-9]{1,2})/
1673 s/\b(aes_kexpand[02])\s+(%f[0-9]{1,2}),\s*(%f[0-9]{1,2}),\s*(%f[0-9]{1,2})/
1676 s/\b(camellia_f)\s+(%f[0-9]{1,2}),\s*(%f[0-9]{1,2}),\s*([%fx0-9]+),\s*(%f[0-9]{1,2})/
1679 s/\b(camellia_[^s]+)\s+(%f[0-9]{1,2}),\s*(%f[0-9]{1,2}),\s*(%f[0-9]{1,2})/
1682 s/\b(des_\w+)\s+(%f[0-9]{1,2}),\s*([%fx0-9]+)(?:,\s*(%f[0-9]{1,2})(?:,\s*(%f[0-9]{1,2}))?)?/
1685 s/\b(mov[ds]to\w+)\s+(%f[0-9]{1,2}),\s*(%[goli][0-7])/
1688 s/\b(mov[xw]to[ds])\s+(%[goli][0-7]),\s*(%f[0-9]{1,2})/
1691 s/\b([fb][^\s]*)\s+(%f[0-9]{1,2}),\s*(%f[0-9]{1,2}),\s*(%f[0-9]{1,2})/
1694 …s/\b(umulxhi|bmask|addxc[c]{0,2}|alignaddr[l]*)\s+(%[goli][0-7]),\s*(%[goli][0-7]),\s*(%[goli][0-7…