Home
last modified time | relevance | path

Searched refs:v1 (Results 1 – 25 of 36) sorted by relevance

12

/original-bsd/lib/libc/mips/net/
H A Dhtonl.s24 srl v1, a0, 24 # v1 = 0x00000011
26 or v0, v0, v1
27 and v1, a0, 0xff00
28 sll v1, v1, 8 # v1 = 0x00330000
29 or v0, v0, v1
30 srl v1, a0, 8
31 and v1, v1, 0xff00 # v1 = 0x00002200
32 or v0, v0, v1
H A Dhtons.s26 sll v1, a0, 8
27 and v1, v1, 0xff00
28 or v0, v0, v1
/original-bsd/lib/libc/quad/
H A Dmuldi3.c86 #define v1 v.ul[H] macro
103 if (u1 == 0 && v1 == 0) {
123 if (v0 >= v1)
124 vdiff = v0 - v1;
129 high = u1 * v1;
141 #undef v1
172 v1 = HHALF(v); in __lmulq()
178 if (u1 == 0 && v1 == 0) in __lmulq()
185 if (v0 >= v1) in __lmulq()
186 vdiff = v0 - v1; in __lmulq()
[all …]
H A Dqdivrem.c64 register digit v1, v2; local
171 v1 = v[1]; /* for D3 -- note that v[1..n] are constant */
187 if (uj0 == v1) {
193 qhat = n / v1;
194 rhat = n % v1;
199 if ((rhat += v1) >= B)
/original-bsd/lib/libc/mips/string/
H A Dbcmp.s43 move v0, v1 # init v0,v1 so unmodified bytes match
45 LWHI v1, 0(a1)
47 bne v0, v1, nomatch
55 lw v1, 0(a1)
57 bne v0, v1, nomatch
69 lbu v1, 0(a1)
71 bne v0, v1, nomatch
82 lw v1, 0(a1)
84 bne v0, v1, nomatch
93 lbu v1, 0(a1)
[all …]
H A Dffs.s23 and v1, a0, 1 # bit set?
26 beq v1, zero, 1b # no, continue
H A Dstrlen.s18 addu v1, a0, 1
23 subu v0, a0, v1 # compute length - 1 for '\0' char
/original-bsd/lib/libc/mips/gen/
H A Disinf.s29 mfc1 v1, $f13 # get MSW of x
31 sll t1, v1, 1 # get x exponent
34 sll t2, v1, 32 - 20 # get x fraction
54 mfc1 v1, $f13 # get MSW of x
56 sll t1, v1, 1 # get x exponent
59 sll t2, v1, 32 - 20 # get x fraction
H A Dsetjmp.s39 lw v1, SETJMP_FRAME_SIZE(sp) # v1 = jmpbuf
40 sw v0, (1 * 4)(v1) # save sc_mask = sigblock(0)
45 lw v1, STAND_FRAME_SIZE+8(sp) # get old ss_onstack
46 and v1, v1, 1 # extract onstack flag
47 sw v1, 0(a0) # save it in sc_onstack
H A Dldexp.s37 mfc1 v1, $f13 # get MSW of x
39 sll t1, v1, 1 # get x exponent
46 addu v0, v0, v1 # multiply by (2**N)
52 sll t2, v1, 32 - 20 # get x fraction
54 srl t0, v1, 31 # get x sign
126 sll t2, v1, 31 - 20 # clear exponent, extract fraction
147 bge v1, zero, 1f # should result be negative?
166 bge v1, zero, 1f # is result negative?
181 bge v1, zero, 1f # should result be negative infinity?
/original-bsd/sys/pmax/pmax/
H A Dfp.s84 or v1, v1, v0
814 subu v1, v1, t9
832 subu v1, v1, t9
1010 sltu v1, v1, t2
1470 subu v1, v1, v0
1686 subu v1, v1, t9
1694 subu v1, v1, t9
1829 subu v1, v1, t9
1917 subu v1, v1, t9
1925 subu v1, v1, t9
[all …]
H A Dlocore.s217 srl v1, a0, 24 # v1 = 0x00000011
221 sll v1, v1, 8 # v1 = 0x00330000
224 and v1, v1, 0xff00 # v1 = 0x00002200
238 and v1, v1, 0xff00
439 and v1, v1, 3
708 move v1, sp # v1 = old stack address
712 addu v1, v1, 4
804 lw v1, P_FORW(a0) # v1 = p->p_forw
1126 lw v1, 4(a0) # v1 = p->prev
2902 j v1
[all …]
/original-bsd/lib/libc/mips/sys/
H A Dsbrk.s29 lw v1, curbrk
31 addu a0, a0, v1 # compute current break
34 move v0, v1 # return old val of _curbrk from above
H A Dfork.s21 beq v1, zero, 1f # v1 == 0 in parent, 1 in child
H A Dcerror.s23 li v1, -1
H A Dpipe.s22 sw v1, 4(a0)
H A DOvfork.s30 beq v1, zero, 2f # parent process ?
/original-bsd/lib/libmp/
H A Dmdiv.c52 m_trq(v1,v2,u1,u2,u3) in m_trq() argument
55 if(u1==v1) d=077777; in m_trq()
56 else d=(u1*0100000L+u2)/v1; in m_trq()
58 { x1=u1*0100000L+u2-v1*d; in m_trq()
67 int qq,n,v1,v2,j; local
93 v1=v.val[n-1];
97 { qq=m_trq(v1,v2,u.val[j+n],u.val[j+n-1],u.val[j+n-2]);
/original-bsd/sys/news3400/news3400/
H A Dlocore.s240 srl v1, a0, 24 # v1 = 0x00000011
244 sll v1, v1, 8 # v1 = 0x00330000
247 and v1, v1, 0xff00 # v1 = 0x00002200
261 and v1, v1, 0xff00
834 lw v1, P_FORW(a0) # v1 = p->p_forw
957 sll v1, v1, t2
1151 lw v1, 4(a0) # v1 = p->prev
1307 mfhi v1
1402 mfhi v1
2941 j v1
[all …]
/original-bsd/usr.bin/calendar/
H A Dcalendar.c171 int day, flags, month, v1, v2; local
177 if (!(v1 = getfield(endp, &endp, &flags)))
179 if (flags & F_ISDAY || v1 > 12) {
181 day = v1;
186 month = v1;
193 day = v1;
197 month = v1;
/original-bsd/contrib/dungeon/
H A Dcio.c149 prvers_(v1, v2, v3) in prvers_() argument
151 int *v1, *v2; in prvers_()
154 printf(" V%1d.%2d%c\n", *v1, *v2, *v3);
/original-bsd/local/ditroff/ditroff.okeeffe/ideal/
H A Dinter.c112 float u1, v1, u2, v2; local
129 v1 = v2 = const/ycoeff;
131 v1 = 0.0;
136 v1 = 0.0;
141 v1 = const/ycoeff;
145 lncrc = lcinter (u1,v1, u2,v2, x1,y1,r1, theta1,phi1, theta2,phi2);
/original-bsd/sys/pmax/include/
H A Dregdef.h17 #define v1 $3 macro
/original-bsd/local/ditroff/ditroff.okeeffe/pic/
H A Dpltroff.c259 float h1, v1; local
263 v1 = yconv(y);
265 dv = v1 - vpos;
270 vpos = v1;
/original-bsd/contrib/sc/
H A Dinterp.c96 double v1,v2,v3;
976 dosubstr(s, v1, v2) in dosubstr() argument
978 register int v1,v2;
989 if (v1 < 0 || v1 > v2) { /* out of range, return null string */
996 s1 = &s[v1];
997 for(; v1 <= v2; s1++, s2++, v1++)
1255 minsr = v1->row;
1305 eraser(v1, v2) in eraser() argument
1310 erase_area(v1->row, v1->col, v2->row, v2->col);
1489 minr = v1->row;
[all …]

12