Home
last modified time | relevance | path

Searched refs:tmp1 (Results 1 – 25 of 74) sorted by relevance

123

/titanic_52/usr/src/common/crypto/arcfour/sun4v/
H A Darcfour_crypt.c67 unsigned int tmp0, tmp1, i_accum, shift = 0, i1; in arcfour_crypt() local
115 tmp1 = base[j]; in arcfour_crypt()
116 base[i] = (uchar_t)tmp1; in arcfour_crypt()
118 tmp0 += tmp1; in arcfour_crypt()
139 tmp1 = base[j]; in arcfour_crypt()
141 base[i] = (uchar_t)tmp1; in arcfour_crypt()
144 tmp0 += tmp1; in arcfour_crypt()
184 tmp1 = base[j]; in arcfour_crypt()
188 i_accum = tmp1; in arcfour_crypt()
191 tmp0 += tmp1; in arcfour_crypt()
[all...]
/titanic_52/usr/src/uts/sun4u/vm/
H A Dmach_sfmmu.h83 * tmp1 : %o4 scratch
87 #define SET_SECCTX(cnum, is_shctx, tmp1, tmp2, label) \ argument
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
281 TTE_SET_REF_ML(tte,ttepa,tsbarea,tmp1,tmp2,label) global() argument
330 TTE_SET_REFMOD_ML(tte,ttepa,tsbarea,tmp1,tmp2,label,exitlabel) global() argument
387 MAKE_TSBREG(tsbreg,tsbinfo,vabase,tmp1,tmp2,label) global() argument
412 MAKE_TSBREG_SECTSB(tsbreg,tsb1,tsb2,tmp1,tmp2,tmp3,label) global() argument
475 RESV_OFFSET(tsbinfo,resva,tmp1,label) global() argument
573 GET_2ND_TSBE_PTR(tagacc,tsbp8k,tsbe_ptr,tmp1,tmp2,label) global() argument
614 LOAD_TSBREG(tsbreg,tmp1,tmp2) global() argument
717 SET_SHCTX_TAGACC(tmp1,tmp2,asi) global() argument
783 SAVE_CTX1(traptype,tmp1,tmp2,label) global() argument
[all...]
/titanic_52/usr/src/uts/sun4u/sys/
H A Dfpras_impl.h133 * tmp1 (register): used for scratch, not preserved
140 #define FPRAS_INTERVAL(operation, blk, doex, tmp1, tmp2, tmp3, tmp4, label) \ argument
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 ;\
212 FPRAS_REWRITE_TYPE1(blk,doex,fpq,tmp1,label) global() argument
235 FPRAS_REWRITE_TYPE2Q1(blk,doex,tmp1,tmp2,label1,label2) global() argument
263 FPRAS_REWRITE_TYPE2Q2(blk,doex,tmp1,tmp2,label1,label2) global() argument
[all...]
H A Dcheetahasm.h802 #define PCACHE_FLUSHALL(tmp1, tmp2, tmp3) \ argument
803 sethi %hi(FLUSH_ADDR), tmp1 ;\
807 flush tmp1 /* See Cheetah PRM 8.10.2 */
815 #define CH_DCACHE_FLUSHALL(arg1, arg2, tmp1) \ argument
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 argument
885 ECACHE_FLUSHALL(arg1,arg2,tmp1,tmp2) global() argument
[all...]
/titanic_52/usr/src/cmd/mdb/sparc/v9/kmdb/
H A Dkaif_asmutil.h46 #define ADVANCE_CRUMB_POINTER(cpusave, tmp1, tmp2) \ argument
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; \
71 ADD_CRUMB_CONST(cpusave,offset,value,tmp1,tmp2) global() argument
76 ADD_CRUMB_FLAG(cpusave,flag,tmp1,tmp2,tmp3) global() argument
[all...]
/titanic_52/usr/src/uts/sun4u/starfire/ml/
H A Ddrmach_asm.s58 #define ICACHE_FLUSHALL(lbl, arg1, arg2, tmp1) \ argument
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) \ argument
76 ldxa [%g0]ASI_LSU, tmp1 ;\
93 ECACHE_FLUSHALL(lbl,arg1,arg2,arg3,tmp1,tmp2) global() argument
106 SF_WORKAROUND(tmp1,tmp2) global() argument
112 SF_WORKAROUND(tmp1,tmp2) global() argument
124 VTAG_FLUSHPAGE(lbl,arg1,arg2,tmp1,tmp2,tmp3,tmp4) global() argument
160 DTLB_FLUSH_UNLOCKED(lbl,arg1,tmp1,tmp2,tmp3,tmp4,tmp5,tmp6) global() argument
189 ITLB_FLUSH_UNLOCKED(lbl,arg1,tmp1,tmp2,tmp3,tmp4,tmp5,tmp6) global() argument
[all...]
/titanic_52/usr/src/uts/sun4v/vm/
H A Dmach_sfmmu.h75 #define SET_SECCTX(cnum, is_shctx, tmp1, tmp2, label) \ argument
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) argument
321 * tmp1 = tmp reg
326 #define TTE_SET_REF_ML(tte, ttepa, tsbarea, tmp1, tmp2, label) \ argument
334 or tte, TTE_REF_INT, tmp1; \
335 casxa [ttepa]ASI_MEM, tte, tmp1; /* update ref bit */ \
336 cmp tte, tmp1; \
358 TTE_SET_REFMOD_ML(tte,ttepa,tsbarea,tmp1,tmp2,label,exitlabel) global() argument
402 GET_1ST_TSBE_PTR(tagacc,tsbe,tmp1,tmp2) global() argument
[all...]
/titanic_52/usr/src/uts/sfmmu/ml/
H A Dsfmmu_asm.s158 * tmp1, tmp2 = scratch registers (clobbered)
170 #define TSB_LOCK_ENTRY(tsbep, tmp1, tmp2, label) \ argument
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) \ argument
186 lda [tsbep]%asi, tmp1 ;\
188 cmp tmp1, tmp2 ;\
191 casa [tsbep]%asi, tmp1, tmp
211 TSB_INSERT_UNLOCK_ENTRY(tsbep,tte,tagtarget,tmp1) global() argument
220 TSB_INSERT_UNLOCK_ENTRY(tsbep,tte,tagtarget,tmp1) global() argument
242 TSB_UPDATE_TL(tsbep,tte,tagtarget,ttepa,tmp1,tmp2,label) global() argument
261 TSB_UPDATE_TL(tsbep,tte,tagtarget,ttepa,tmp1,tmp2,label) global() argument
294 TSB_UPDATE_TL_PN(tsbep,tte,tagtarget,ttepa,tmp1,tmp2,label) global() argument
370 TSB_UPDATE(tsbep,tteva,tagtarget,tmp1,tmp2,label) global() argument
383 TSB_UPDATE(tsbep,tteva,tagtarget,tmp1,tmp2,label) global() argument
413 TSB_INVALIDATE(tsbep,tag,tmp1,tmp2,tmp3,label) global() argument
432 TSB_INVALIDATE(tsbep,tag,tmp1,tmp2,tmp3,label) global() argument
1594 HAT_HSEARCH_DBSTAT(hatid,tsbarea,tmp1,tmp2) global() argument
1605 HAT_HLINK_DBSTAT(hatid,tsbarea,tmp1,tmp2) global() argument
1619 HAT_HSEARCH_DBSTAT(hatid,tsbarea,tmp1,tmp2) global() argument
1621 HAT_HLINK_DBSTAT(hatid,tsbarea,tmp1,tmp2) global() argument
1629 HAT_GLOBAL_STAT(statname,tmp1,tmp2) global() argument
1640 HAT_PERCPU_STAT32(tsbarea,stat,tmp1) global() argument
1649 HAT_PERCPU_STAT16(tsbarea,stat,tmp1) global() argument
1660 KPM_TLBMISS_STAT_INCR(tagacc,val,tsbma,tmp1,label) global() argument
1680 KPM_TLBMISS_STAT_INCR(tagacc,val,tsbma,tmp1,label) global() argument
2016 ISM_CHECK(tagacc,tsbmiss,ismseg,ismhat,tmp1,tmp2,tmp3,label,ismhit) global() argument
2064 HMEHASH_FUNC_ASM(tagacc,hatid,tsbarea,hmeshift,hmebp,vapg,label,tmp1,tmp2) global() argument
2105 HMEHASH_SEARCH(hmebp,hmeblktag,hatid,hmeblkpa,tsbarea,tmp1,label) global() argument
2141 HMEHASH_SEARCH_SHME(hmeblktag,hatid,hmeblkpa,tsbarea,tmp1,tmp2,label) global() argument
2189 HMEBLK_TO_HMENT(vaddr,hmeblkpa,hmentoff,hmemisc,tmp1,label1) global() argument
4124 KPMLOCK_ENTER(kpmlckp,tmp1,label1,asi) global() argument
4150 PAGE_NUM2MEMSEG_NOLOCK_PA(pfn,mseg,tsbmp,tmp1,tmp2,tmp3,label) global() argument
[all...]
/titanic_52/usr/src/uts/sun4u/cpu/
H A Dopl_olympus_asm.s61 #define ECACHE_FLUSHALL(arg1, arg2, arg3, tmp1) \ argument
702 #define FLUSH_ALL_TLB(tmp1) \ argument
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) \ argument
808 CPU_ADDR(tmp1, tmp2) ;\
809 lduh [tmp1
825 IAG_CRE(tmp1,tmp2) global() argument
897 CLEAR_GEN_REGS(tmp1,label) global() argument
968 RESET_PREV_TSTATE(tmp1,tmp2,label) global() argument
1005 RESET_MMU_REGS(tmp1,tmp2,tmp3) global() argument
1109 RESET_TO_PRIV(tmp,tmp1,tmp2,local) global() argument
1640 RESTORE_WREGS(tmp1,tmp2) global() argument
1663 SAVE_WREGS(tmp1,tmp2) global() argument
[all...]
H A Dspitfire_asm.s54 #define DCACHE_FLUSHPAGE(arg1, arg2, tmp1, tmp2, tmp3) \ argument
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
141 DCACHE_FLUSHCOLOR(arg,tmp1,tmp2) global() argument
198 SF_WORKAROUND(tmp1,tmp2) global() argument
204 SF_WORKAROUND(tmp1,tmp2) global() argument
215 VTAG_FLUSHUPAGE(lbl,arg1,arg2,tmp1,tmp2,tmp3,tmp4) global() argument
247 DTLB_FLUSH_UNLOCKED_UCTXS(lbl,arg1,tmp1,tmp2,tmp3,tmp4,tmp5,tmp6) global() argument
282 ITLB_FLUSH_UNLOCKED_UCTXS(lbl,arg1,tmp1,tmp2,tmp3,tmp4,tmp5,tmp6) global() argument
[all...]
/titanic_52/usr/src/contrib/ast/src/cmd/ksh93/tests/
H A Dreadcsv.sh34 tmp1=$tmp/tmp1.csv
36 cat > $tmp1 <<- \EOF
65 done < $tmp1 > $tmp2
67 diff "$tmp1" "$tmp2" >/dev/null 2>&1 || err_exit "files $tmp1 and $tmp2 differ"
/titanic_52/usr/src/cmd/ypcmd/
H A Dypserv_net_secure.c70 struct seclist *tmp1, *tmp2; in get_secure_nets() local
73 tmp1 = (struct seclist *) malloc(sizeof (struct seclist)); in get_secure_nets()
74 slist = tmp2 = tmp1; in get_secure_nets()
116 tmp1->af = netaf; in get_secure_nets()
117 tmp1->mask = maskin; in get_secure_nets()
118 tmp1->net = netin; in get_secure_nets()
119 tmp1->next = (struct seclist *) in get_secure_nets()
121 tmp2 = tmp1; in get_secure_nets()
122 tmp1 = tmp1 in get_secure_nets()
[all...]
/titanic_52/usr/src/common/crypto/dsa/
H A Ddsa_impl.c259 BIGNUM msg, tmp, tmp1; in dsa_sign() local
328 if ((brv = big_init(&tmp1, 2 * BIG_CHUNKS_FOR_160BITS + 1)) != BIG_OK) { in dsa_sign()
377 if ((brv = big_mul(&tmp1, &(dsakey.x), &(dsakey.r))) != BIG_OK) { in dsa_sign()
382 if ((brv = big_add(&tmp1, &tmp1, &msg)) != BIG_OK) { in dsa_sign()
387 if ((brv = big_mul(&tmp, &tmp1, &tmp)) != BIG_OK) { in dsa_sign()
406 big_finish(&tmp1); in dsa_sign()
426 BIGNUM msg, tmp1, tmp2, tmp3; in dsa_verify() local
508 if (big_init(&tmp1, 2 * CHARLEN2BIGNUMLEN(prime_bytes)) != BIG_OK) { in dsa_verify()
536 if (big_mul(&tmp1, in dsa_verify()
[all...]
/titanic_52/usr/src/lib/libm/sparc/src/
H A Dlibm_inlines.h177 uint32_t tmp1, tmp2; in __swapEX() local
180 "and %4,0x1f,%2\n\t" /* tmp1 = %2 = %o1 */ in __swapEX()
192 : "=r" (ret), "=m" (fsr), "=r" (tmp1), "=r" (tmp2) in __swapEX()
215 uint32_t tmp1, tmp2, tmp3; in __swapRD() local
231 : "=r" (ret), "=m" (fsr), "=r" (tmp1), "=r" (tmp2), "=r" (tmp3) in __swapRD()
242 uint32_t fsr, tmp1, tmp2; in __swapTE() local
258 : "=r" (ret), "=m" (fsr), "=r" (tmp1), "=r" (tmp2) in __swapTE()
/titanic_52/usr/src/lib/libm/sparcv9/src/
H A Dlibm_inlines.h170 uint64_t tmp1, tmp2; in __swapEX() local
185 : "=r" (ret), "=m" (fsr), "=r" (tmp1), "=r" (tmp2) in __swapEX()
208 uint64_t tmp1, tmp2, tmp3; in __swapRD() local
225 : "=r" (ret), "=m" (fsr), "=r" (tmp1), "=r" (tmp2), "=r" (tmp3) in __swapRD()
237 uint64_t tmp1, tmp2, tmp3; in __swapTE() local
254 : "=r" (ret), "=m" (fsr), "=r" (tmp1), "=r" (tmp2), "=r" (tmp3) in __swapTE()
/titanic_52/usr/src/uts/sfmmu/vm/
H A Dhat_sfmmu.h892 * tmp1, tmp2 = scratch registers
897 #define GET_4MBASE_TSBE_PTR(tagacc, tsbe, tmp1, tmp2) \ argument
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
908 GET_2ND_TSBE_PTR(tagacc,tsbe,tmp1,tmp2) global() argument
923 GET_3RD_TSBE_PTR(tagacc,tsbe,tmp1,tmp2) global() argument
934 GET_4TH_TSBE_PTR(tagacc,tsbe,tmp1,tmp2) global() argument
998 MAKE_UTSBREG(tsbinfo,tsbreg,tmp1) global() argument
1019 SET_UTSBREG(regnum,tsbreg,tmp1) global() argument
2048 CPU_TSBMISS_AREA(tsbmiss,tmp1) global() argument
[all...]
/titanic_52/usr/src/cmd/abi/appcert/scripts/
H A Dsymreport.pl709 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 DAppcertUtil.pm1005 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...]
/titanic_52/usr/src/uts/sun4u/serengeti/ml/
H A Dsbdp_asm.s71 #define ECACHE_FLUSHTAGS(arg1, arg2, tmp1) \ argument
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 ;\
/titanic_52/usr/src/uts/intel/kdi/ia32/
H A Dkdi_asm.s181 #define ADVANCE_CRUMB_POINTER(cpusave, tmp1, tmp2) \ argument
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...]
/titanic_52/usr/src/uts/intel/kdi/amd64/
H A Dkdi_asm.s248 #define ADVANCE_CRUMB_POINTER(cpusave, tmp1, tmp2) \ argument
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...]
/titanic_52/usr/src/lib/libmvec/common/
H A D__vatan.c51 double f1, ans1, ansu1, ansl1, tmp1, poly1, conup1, conlo1; in __vatan() local
286 tmp1 = f1*f1; in __vatan()
290 poly1 = f1*((p3*tmp1 + p2)*tmp1 + p1)*tmp1; in __vatan()
/titanic_52/usr/src/common/bignum/
H A Dbignumimpl.c1026 BIGNUM bbhigh, bblow, tresult, tmp1, tmp2; in big_div_pos() local
1070 if ((err = big_init1(&tmp1, alen + 2, in big_div_pos()
1108 big_shiftleft(&tmp1, aa, offs); in big_div_pos()
1109 rlen = tmp1.len - bblow.len + 1; in big_div_pos()
1112 tmp1.len++; in big_div_pos()
1113 tlen = tmp1.len; in big_div_pos()
1114 tmp1.value[tmp1.len - 1] = 0; in big_div_pos()
1116 higha = (tmp1.value[tlen - 1] << (BIG_CHUNK_SIZE / 2)) + in big_div_pos()
1117 (tmp1 in big_div_pos()
1557 BIGNUM tmp1; big_mul() local
1896 BIGNUM tmp1; big_modexp_ncp_int() local
[all...]
/titanic_52/usr/src/uts/sun4u/opl/ml/
H A Ddrmach_asm.s61 #define FJSV_SPECULATIVE_OFF(reg, tmp1, tmp2) \ argument
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 ;\
/titanic_52/usr/src/lib/libmvec/common/vis/
H A D__vatan.S164 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...]

123