/illumos-gate/usr/src/cmd/mdb/sparc/v9/kmdb/ |
H A D | kaif_asmutil.h | 46 #define ADVANCE_CRUMB_POINTER(cpusave, tmp1, tmp2) \ 47 ld [cpusave + KRS_CURCRUMBIDX], tmp1; \ 48 cmp tmp1, KAIF_NCRUMBS - 1; \ 51 add tmp1, 1, tmp1; \ 52 st tmp1, [cpusave + KRS_CURCRUMBIDX]; \ 53 ldx [cpusave + KRS_CURCRUMB], tmp1; \ 55 add tmp1, KRM_SIZE, tmp1; \ 58 add cpusave, KRS_CRUMBS, tmp1; \ [all...] |
/illumos-gate/usr/src/uts/sun4u/sys/ |
H A D | fpras_impl.h | 133 * tmp1 (register): used for scratch, not preserved 140 #define FPRAS_INTERVAL(operation, blk, doex, tmp1, tmp2, tmp3, tmp4, label) \ 141 sethi %hi(fpras_interval), tmp1 ;\ 142 ldx [tmp1 + %lo(fpras_interval)], tmp1 ;\ 143 brlz,pn tmp1, label/**/f /* not initialized? */ ;\ 165 cmp tmp4, tmp1 /* compare delta to interval */ ;\ 169 ldn [THREAD_REG + T_CPU], tmp1 ;\ 170 ld [tmp1 + CPU_ID], tmp1 ;\ [all...] |
H A D | cheetahasm.h | 802 #define PCACHE_FLUSHALL(tmp1, tmp2, tmp3) \ 803 sethi %hi(FLUSH_ADDR), tmp1 ;\ 807 flush tmp1 /* See Cheetah PRM 8.10.2 */ 815 #define CH_DCACHE_FLUSHALL(arg1, arg2, tmp1) \ 816 sub arg1, arg2, tmp1; \ 818 stxa %g0, [tmp1]ASI_DC_TAG; \ 820 cmp %g0, tmp1; \ 822 sub tmp1, arg2, tmp1; 836 #define CH_ICACHE_FLUSHALL(arg1, arg2, tmp1, tmp [all...] |
/illumos-gate/usr/src/common/crypto/arcfour/sun4v/ |
H A D | arcfour_crypt.c | 67 unsigned int tmp0, tmp1, i_accum, shift = 0, i1; local 115 tmp1 = base[j]; 116 base[i] = (uchar_t)tmp1; 118 tmp0 += tmp1; 139 tmp1 = base[j]; 141 base[i] = (uchar_t)tmp1; 144 tmp0 += tmp1; 184 tmp1 = base[j]; 188 i_accum = tmp1; 191 tmp0 += tmp1; [all...] |
/illumos-gate/usr/src/uts/sun4u/vm/ |
H A D | mach_sfmmu.h | 83 * tmp1 : %o4 scratch 87 #define SET_SECCTX(cnum, is_shctx, tmp1, tmp2, label) \ 91 mov MMU_SCONTEXT, tmp1 ;\ 92 stxa cnum, [tmp1]ASI_MMU_CTX ;\ 94 sethi %hi(shctx_on), tmp1 ;\ 95 ld [tmp1 + %lo(shctx_on)], tmp1 ;\ 96 brz,pt tmp1, label/**/3 ;\ 100 set SHCTXREG_VALID_BIT, tmp1 ;\ 103 or cnum, tmp1, cnu [all...] |
/illumos-gate/usr/src/uts/sun4u/starfire/ml/ |
H A D | drmach_asm.s | 58 #define ICACHE_FLUSHALL(lbl, arg1, arg2, tmp1) \ 59 ldxa [%g0]ASI_LSU, tmp1 ;\ 60 btst LSU_IC, tmp1 ;\ 62 sub arg1, arg2, tmp1 ;\ 64 stxa %g0, [tmp1]ASI_IC_TAG ;\ 66 cmp %g0, tmp1 ;\ 68 sub tmp1, arg2, tmp1 ;\ 75 #define DCACHE_FLUSHALL(lbl, arg1, arg2, tmp1) \ 76 ldxa [%g0]ASI_LSU, tmp1 ;\ [all...] |
/illumos-gate/usr/src/lib/libm/sparc/src/ |
H A D | libm_inlines.h | 177 uint32_t tmp1, tmp2; local 180 "and %4,0x1f,%2\n\t" /* tmp1 = %2 = %o1 */ 192 : "=r" (ret), "=m" (fsr), "=r" (tmp1), "=r" (tmp2) 215 uint32_t tmp1, tmp2, tmp3; local 231 : "=r" (ret), "=m" (fsr), "=r" (tmp1), "=r" (tmp2), "=r" (tmp3) 242 uint32_t fsr, tmp1, tmp2; local 258 : "=r" (ret), "=m" (fsr), "=r" (tmp1), "=r" (tmp2)
|
/illumos-gate/usr/src/lib/libm/sparcv9/src/ |
H A D | libm_inlines.h | 170 uint64_t tmp1, tmp2; local 185 : "=r" (ret), "=m" (fsr), "=r" (tmp1), "=r" (tmp2) 208 uint64_t tmp1, tmp2, tmp3; local 225 : "=r" (ret), "=m" (fsr), "=r" (tmp1), "=r" (tmp2), "=r" (tmp3) 237 uint64_t tmp1, tmp2, tmp3; local 254 : "=r" (ret), "=m" (fsr), "=r" (tmp1), "=r" (tmp2), "=r" (tmp3)
|
/illumos-gate/usr/src/uts/sun4v/vm/ |
H A D | mach_sfmmu.h | 75 #define SET_SECCTX(cnum, is_shctx, tmp1, tmp2, label) \ 76 mov MMU_SCONTEXT, tmp1; \ 77 movrnz is_shctx, MMU_SCONTEXT1, tmp1; \ 78 stxa cnum, [tmp1]ASI_MMU_CTX; /* set 2nd ctx reg. */ \ 106 #define SETUP_UTSB_ATOMIC_ASI(tmp1, tmp2) 321 * tmp1 = tmp reg 326 #define TTE_SET_REF_ML(tte, ttepa, tsbarea, tmp1, tmp2, label) \ 334 or tte, TTE_REF_INT, tmp1; \ 335 casxa [ttepa]ASI_MEM, tte, tmp1; /* update ref bit */ \ 336 cmp tte, tmp1; \ [all...] |
/illumos-gate/usr/src/uts/sfmmu/ml/ |
H A D | sfmmu_asm.s | 158 * tmp1, tmp2 = scratch registers (clobbered) 170 #define TSB_LOCK_ENTRY(tsbep, tmp1, tmp2, label) \ 171 lda [tsbep]ASI_MEM, tmp1 ;\ 173 cmp tmp1, tmp2 ;\ 176 casa [tsbep]ASI_MEM, tmp1, tmp2 ;\ 177 cmp tmp1, tmp2 ;\ 185 #define TSB_LOCK_ENTRY(tsbep, tmp1, tmp2, label) \ 186 lda [tsbep]%asi, tmp1 ;\ 188 cmp tmp1, tmp2 ;\ 191 casa [tsbep]%asi, tmp1, tmp [all...] |
/illumos-gate/usr/src/cmd/ypcmd/ |
H A D | ypserv_net_secure.c | 70 struct seclist *tmp1, *tmp2; local 73 tmp1 = (struct seclist *) malloc(sizeof (struct seclist)); 74 slist = tmp2 = tmp1; 116 tmp1->af = netaf; 117 tmp1->mask = maskin; 118 tmp1->net = netin; 119 tmp1->next = (struct seclist *) 121 tmp2 = tmp1; 122 tmp1 = tmp1 [all...] |
/illumos-gate/usr/src/common/crypto/dsa/ |
H A D | dsa_impl.c | 259 BIGNUM msg, tmp, tmp1; local 328 if ((brv = big_init(&tmp1, 2 * BIG_CHUNKS_FOR_160BITS + 1)) != BIG_OK) { 377 if ((brv = big_mul(&tmp1, &(dsakey.x), &(dsakey.r))) != BIG_OK) { 382 if ((brv = big_add(&tmp1, &tmp1, &msg)) != BIG_OK) { 387 if ((brv = big_mul(&tmp, &tmp1, &tmp)) != BIG_OK) { 406 big_finish(&tmp1); 426 BIGNUM msg, tmp1, tmp2, tmp3; local 508 if (big_init(&tmp1, 2 * CHARLEN2BIGNUMLEN(prime_bytes)) != BIG_OK) { 536 if (big_mul(&tmp1, [all...] |
/illumos-gate/usr/src/uts/sun4u/cpu/ |
H A D | opl_olympus_asm.s | 61 #define ECACHE_FLUSHALL(arg1, arg2, arg3, tmp1) \ 702 #define FLUSH_ALL_TLB(tmp1) \ 703 set DEMAP_ALL_TYPE, tmp1 ;\ 704 stxa %g0, [tmp1]ASI_ITLB_DEMAP ;\ 705 stxa %g0, [tmp1]ASI_DTLB_DEMAP ;\ 706 sethi %hi(FLUSH_ADDR), tmp1 ;\ 707 flush tmp1 807 #define UPDATE_STICK_COMPARE(tmp1, tmp2) \ 808 CPU_ADDR(tmp1, tmp2) ;\ 809 lduh [tmp1 [all...] |
H A D | spitfire_asm.s | 54 #define DCACHE_FLUSHPAGE(arg1, arg2, tmp1, tmp2, tmp3) \ 55 ldxa [%g0]ASI_LSU, tmp1 ;\ 56 btst LSU_DC, tmp1 /* is dcache enabled? */ ;\ 58 sethi %hi(dcache_linesize), tmp1 ;\ 59 ld [tmp1 + %lo(dcache_linesize)], tmp1 ;\ 73 * tmp1 = cache line size \ 75 sub tmp3, tmp1, tmp2 ;\ 81 sub tmp2, tmp1, tmp2 ;\ 88 * tmp1 [all...] |
/illumos-gate/usr/src/uts/sun4u/serengeti/ml/ |
H A D | sbdp_asm.s | 71 #define ECACHE_FLUSHTAGS(arg1, arg2, tmp1) \ 72 GET_CPU_IMPL(tmp1) ;\ 74 cmp tmp1, CHEETAH_IMPL ;\ 77 sub arg1, arg2, tmp1 ;\ 79 stxa %g0, [tmp1]ASI_EC_DIAG ;\ 81 cmp %g0, tmp1 ;\ 83 sub tmp1, arg2, tmp1 ;\
|
/illumos-gate/usr/src/uts/sfmmu/vm/ |
H A D | hat_sfmmu.h | 892 * tmp1, tmp2 = scratch registers 897 #define GET_4MBASE_TSBE_PTR(tagacc, tsbe, tmp1, tmp2) \ 900 mov TSB_ENTRIES(0), tmp1; /* nentries in TSB size 0 */ \ 901 sllx tmp1, tmp2, tmp1; /* tmp1 = nentries in TSB */ \ 902 sub tmp1, 1, tmp1; /* mask = nentries - 1 */ \ 904 and tmp2, tmp1, tmp1; /* tsben [all...] |
/illumos-gate/usr/src/cmd/abi/appcert/scripts/ |
H A D | symreport.pl | 709 my ($tmp1, $tmp2, $tmp3); 711 $tmp1 = gettext("ABI SYMBOL USAGE SUMMARY REPORT"); 712 $tmp2 = '*' x length($tmp1); 714 print $summary_fh "$tmp2\n$tmp1\n$tmp2\n\n"; 722 $tmp1 = gettext("References to shared objects in the Solaris ABI"); 723 $tmp2 = '*' x length($tmp1); 725 print $summary_fh "$tmp2\n$tmp1\n$tmp2\n\n"; 766 $tmp1 = gettext("Symbol usage statistics (summary by shared object)"); 767 $tmp2 = '*' x length($tmp1); 769 print $summary_fh "$tmp2\n$tmp1\ [all...] |
H A D | AppcertUtil.pm | 1005 my ($tmp1, $tmp2); 1007 $tmp1 = $file; 1009 while ($tmp2 = readlink($tmp1)) { 1012 $tmp2 = dirname($tmp1) . "/" . $tmp2; 1015 $tmp1 = $tmp2; # 1016 $tmp1 =~ s,/+,/,g; # get rid of //// 1017 $tmp1 =~ s,^\./,,g; # remove leading ./ 1018 $tmp1 =~ s,/\./,/,g; # remove /./ 1019 $tmp1 =~ s,/+,/,g; # get rid of //// again 1020 $tmp1 [all...] |
/illumos-gate/usr/src/lib/libmvec/common/ |
H A D | __vatan.c | 51 double f1, ans1, ansu1, ansl1, tmp1, poly1, conup1, conlo1; local 286 tmp1 = f1*f1; 290 poly1 = f1*((p3*tmp1 + p2)*tmp1 + p1)*tmp1;
|
/illumos-gate/usr/src/uts/sun4u/opl/ml/ |
H A D | drmach_asm.s | 61 #define FJSV_SPECULATIVE_OFF(reg, tmp1, tmp2) \ 63 andn reg, PSTATE_IE, tmp1 ;\ 64 wrpr %g0, tmp1, %pstate ;\ 65 ldxa [%g0]ASI_MCNTL, tmp1 ;\ 68 or tmp1, tmp2, tmp1 ;\ 69 stxa tmp1, [%g0]ASI_MCNTL ;\
|
/illumos-gate/usr/src/uts/intel/kdi/amd64/ |
H A D | kdi_asm.s | 248 #define ADVANCE_CRUMB_POINTER(cpusave, tmp1, tmp2) \ 249 movq KRS_CURCRUMBIDX(cpusave), tmp1; \ 250 cmpq $[KDI_NCRUMBS - 1], tmp1; \ 253 addq $1, tmp1; \ 254 movq tmp1, KRS_CURCRUMBIDX(cpusave); \ 255 movq KRS_CURCRUMB(cpusave), tmp1; \ 256 addq $KRM_SIZE, tmp1; \ 260 leaq KRS_CRUMBS(cpusave), tmp1; \ 261 2: movq tmp1, KRS_CURCRUMB(cpusave); \ 264 3: movq $0, -4(tmp1, tmp [all...] |
/illumos-gate/usr/src/uts/intel/kdi/ia32/ |
H A D | kdi_asm.s | 181 #define ADVANCE_CRUMB_POINTER(cpusave, tmp1, tmp2) \ 182 movl KRS_CURCRUMBIDX(cpusave), tmp1; \ 183 cmpl $[KDI_NCRUMBS - 1], tmp1; \ 186 addl $1, tmp1; \ 187 movl tmp1, KRS_CURCRUMBIDX(cpusave); \ 188 movl KRS_CURCRUMB(cpusave), tmp1; \ 189 addl $KRM_SIZE, tmp1; \ 193 leal KRS_CRUMBS(cpusave), tmp1; \ 194 2: movl tmp1, KRS_CURCRUMB(cpusave); \ 197 3: movl $0, -4(tmp1, tmp [all...] |
/illumos-gate/usr/src/common/bignum/ |
H A D | mont_mulf.c | 75 double tmp, tmp1, x, x1; local 77 tmp = tmp1 = Zero; 83 dt[i + 1] = lower32(x1, Zero) + tmp1; 85 tmp1 = upper32(x1);
|
/illumos-gate/usr/src/lib/libmvec/common/vis/ |
H A D | __vatan.S | 164 fzero %f14 !tmp1 = 0 233 fmuld %f14,%f12,%f12 !poly1 = (f1*tmp1)*((p3*tmp1 + p2)*tmp1 + p1) 429 fmuld %f36,%f36,%f14 !tmp1= f1*f1 434 fmuld %f58,%f14,%f12 !p[3]*tmp1 441 faddd %f12,%f60,%f12 !p[3]*tmp1 + p[2] 444 fmuld %f12,%f14,%f12 !(p3*tmp1 + p2)*tmp1 448 fmuld %f36,%f14,%f14 !f1*tmp1 [all...] |
/illumos-gate/usr/src/uts/common/io/ib/ibnex/ |
H A D | ibnex_hca.c | 416 char *tmp, *tmp1; local 420 if ((tmp1 = strchr(++tmp, ',')) != NULL) 421 *port = ibnex_str2int(tmp, (tmp1 - tmp), &ret); 428 if ((tmp1 = strchr(++tmp, ',')) != NULL) 429 *pkey = ibnex_str2hex(tmp, (tmp1 - tmp), &ret);
|