Home
last modified time | relevance | path

Searched refs:ebx (Results 1 – 25 of 130) sorted by relevance

123456

/openbsd/gnu/llvm/compiler-rt/lib/builtins/i386/
H A Dumoddi3.S27 pushl %ebx
40 orl %eax, %ebx //
56 movl 12(%esp), %ebx
58 subl %eax, %ebx
67 1: movl %ebx, %eax
71 popl %ebx
94 subl %eax, %ebx
103 3: movl %ebx, %eax
107 popl %ebx
118 movl %eax, %ebx //
[all …]
H A Dudivdi3.S26 pushl %ebx
38 shll %cl, %ebx // (low word of b) >> (1 + i)
39 orl %eax, %ebx //
55 movl 12(%esp), %ebx
57 subl %eax, %ebx
66 popl %ebx
87 movl 12(%esp), %ebx
89 subl %eax, %ebx
98 popl %ebx
108 movl %eax, %ebx //
[all …]
H A Dmoddi3.S54 pushl %ebx
67 orl %eax, %ebx //
83 movl 16(%esp), %ebx
85 subl %eax, %ebx
94 1: movl %ebx, %eax
102 popl %ebx
125 subl %eax, %ebx
134 3: movl %ebx, %eax
142 popl %ebx
152 movl %eax, %ebx //
[all …]
H A Ddivdi3.S55 pushl %ebx
67 shll %cl, %ebx // (low word of b) >> (1 + i)
68 orl %eax, %ebx //
84 movl 16(%esp), %ebx
86 subl %eax, %ebx
100 popl %ebx
122 movl 16(%esp), %ebx
124 subl %eax, %ebx
138 popl %ebx
149 movl %eax, %ebx //
[all …]
H A Dmuldi3.S14 pushl %ebx
20 movl 20(%esp), %ebx // b.hi
21 imull %edx, %ebx // a.lo * b.hi
24 addl %ecx, %ebx // EBX = (a.lo*b.hi + a.hi*b.lo)
25 addl %ebx, %edx
27 popl %ebx
/openbsd/sys/arch/i386/i386/
H A Din_cksum.s95 leal n(%ebx), %ebx ; \
100 addb (%ebx), %ah
121 pushl %ebx
165 pushl %ebx
269 leal 128(%ebx), %ebx
288 leal 32(%ebx), %ebx
303 leal 16(%ebx), %ebx
312 leal 8(%ebx), %ebx
320 leal 4(%ebx), %ebx
331 leal 2(%ebx), %ebx
[all …]
H A Dvector.s76 push %ebx ;\
84 movl %ebx,%esi ;\
96 movl CPL,%ebx ;\
97 cmpl %eax,%ebx ;\
99 pushl %ebx /* cpl to restore on exit */ ;\
105 testl %ebx,%ebx ;\
110 pushl %ebx /* arg 2: ih structure */ ;\
117 addl $1,IH_COUNT(%ebx) /* count the intrs */ ;\
118 adcl $0,IH_COUNT+4(%ebx) ;\
123 5: movl IH_NEXT(%ebx),%ebx /* next handler in chain */ ;\
[all …]
H A Dlocore.s310 pushl %ebx
736 movl %ebx,(%eax) # save ebx
748 movl (%eax),%ebx # restore ebx
768 pushl %ebx
837 popl %ebx
1476 xor %ebx,%ebx
1483 popl %ebx
1500 popl %ebx
1516 shrl %ebx
1517 shrl %ebx
[all …]
H A Dapmcall.S48 pushl %ebx
52 movl 16(%ebp), %ebx
53 movl 8(%ebx), %ecx
54 movl 12(%ebx), %edx
55 movl 12(%ebp), %ebx
93 movl %ebx, 4(%edi)
105 popl %ebx
/openbsd/sys/arch/amd64/stand/pxeboot/
H A Dsrt0.S47 movl $0xb80a0, %ebx
147 movl $0xb8000, %ebx
156 movl $0xb80a4, %ebx
181 movl $0xb8004, %ebx
190 pushl %ebx
191 movl 8(%esp), %ebx
192 addl %ebx, %ebx
193 addl $0xb8000, %ebx
198 andl $0xfffffffe, %ebx
199 movb %al, (%ebx)
[all …]
/openbsd/sys/arch/i386/stand/pxeboot/
H A Dsrt0.S47 movl $0xb80a0, %ebx
147 movl $0xb8000, %ebx
156 movl $0xb80a4, %ebx
181 movl $0xb8004, %ebx
190 pushl %ebx
191 movl 8(%esp), %ebx
192 addl %ebx, %ebx
193 addl $0xb8000, %ebx
198 andl $0xfffffffe, %ebx
199 movb %al, (%ebx)
[all …]
/openbsd/sys/arch/amd64/stand/cdboot/
H A Dsrt0.S47 movl $0xb80a0, %ebx
146 movl $0xb8000, %ebx
155 movl $0xb80a4, %ebx
186 movl $0xb8004, %ebx
195 pushl %ebx
196 movl 8(%esp), %ebx
197 addl %ebx, %ebx
198 addl $0xb8000, %ebx
203 andl $0xfffffffe, %ebx
204 movb %al, (%ebx)
[all …]
/openbsd/sys/arch/i386/stand/cdboot/
H A Dsrt0.S47 movl $0xb80a0, %ebx
146 movl $0xb8000, %ebx
155 movl $0xb80a4, %ebx
186 movl $0xb8004, %ebx
195 pushl %ebx
196 movl 8(%esp), %ebx
197 addl %ebx, %ebx
198 addl $0xb8000, %ebx
203 andl $0xfffffffe, %ebx
204 movb %al, (%ebx)
[all …]
/openbsd/regress/sys/arch/i386/f00f/
H A Df00f.c51 uint32_t eax, ebx, ecx, edx; in main() local
55 ebx = 0x22222222; in main()
61 mem, edx, eax, ecx, ebx); in main()
65 : "+m" (mem), "+a" (eax), "+b" (ebx), "+c" (ecx), "+d" (edx)); in main()
67 mem, edx, eax, ecx, ebx); in main()
73 if (ecx != 0x33333333 || ebx != 0x22222222) in main()
79 : "+m" (mem), "+a" (eax), "+b" (ebx), "+c" (ecx), "+d" (edx)); in main()
81 mem, edx, eax, ecx, ebx); in main()
87 if (ecx != 0x33333333 || ebx != 0x22222222) in main()
103 mem, edx, eax, ecx, ebx); in main()
/openbsd/sys/arch/amd64/amd64/
H A Dlocore0.S200 movl %ebx,(%ebp)
215 cmpl $0x756e6547, %ebx # "Genu"
249 movl %ebx,RELOC(cpu_ebxfeature)
378 addl %ecx,%ebx
510 movl %eax, (%ebx)
513 movl %ebp, 4(%ebx)
515 addl $8, %ebx
535 movl %eax,(%ebx)
538 movl %ebp, 4(%ebx)
557 movl RELOC((pg_nx + 4)), %ebx
[all …]
H A Dcacheinfo.c183 intel_print_one_cache(struct cpu_info *ci, int leaf, u_int eax, u_int ebx, in intel_print_one_cache() argument
194 ways = (ebx >> 22) + 1; in intel_print_one_cache()
195 linesize = (ebx & 0xfff) + 1; in intel_print_one_cache()
196 partitions = ((ebx >> 12) & 0x3ff) + 1; in intel_print_one_cache()
230 u_int eax, ebx, ecx, dummy; in intel_print_cacheinfo() local
238 CPUID_LEAF(fn, leaf, eax, ebx, ecx, dummy); in intel_print_cacheinfo()
240 PREV_SAME(prev_cache[leaf][1], ebx) && in intel_print_cacheinfo()
260 CPUID_LEAF(fn, leaf, eax, ebx, ecx, dummy); in intel_print_cacheinfo()
265 PREV_SET(prev_cache[leaf][1], ebx); in intel_print_cacheinfo()
267 if (intel_print_one_cache(ci, leaf, eax, ebx, ecx)) in intel_print_cacheinfo()
/openbsd/lib/libc/arch/i386/string/
H A Dmemset.S11 pushl %ebx
35 movl %ecx,%ebx
36 subl %edx,%ebx
42 movl %ebx,%ecx
47 movl %ebx,%ecx /* set remainder by bytes */
53 popl %ebx
/openbsd/sys/lib/libkern/arch/i386/
H A Dmemset.S12 pushl %ebx
34 movl %ecx,%ebx
35 subl %edx,%ebx
41 movl %ebx,%ecx
46 movl %ebx,%ecx /* set remainder by bytes */
52 popl %ebx
/openbsd/libexec/ld.so/i386/
H A Dldasm.S44 movl %esp,%ebx
45 movl %ebx,%edi # save dl_data arg for dl_boot
46 pushl %ebx # push dl_data for dl_boot_bind
76 1: popl %ebx
77 addl $_GLOBAL_OFFSET_TABLE_+[.-1b], %ebx
78 leal _dl_dtors@GOTOFF(%ebx), %edx
90 pushl %ebx
108 popl %ebx
/openbsd/sys/arch/i386/isa/
H A Dicu.s48 pushl %ebx
51 movl CPL,%ebx # save priority
53 1: movl %ebx,%eax # get cpl
64 2: movl %ebx,CPL
68 popl %ebx
80 popl %ebx # get previous priority
82 1: movl %ebx,%eax
96 movl %ebx,CPL
/openbsd/sys/arch/amd64/stand/efiboot/
H A Dstart_i386.S51 movl %eax, %ebx
53 addl $_DYNAMIC-0b, %ebx
54 pushl %ebx /* dynamic */
57 popl %ebx /* remove ImageBase from the stack */
58 popl %ebx /* remove dynamic from the stack */
/openbsd/gnu/gcc/gcc/config/i386/
H A Ddriver-i386.c64 unsigned int eax, ebx, ecx, edx; in host_detect_local_cpu() local
86 : "=&r" (eax), "=&r" (ebx) in host_detect_local_cpu()
89 if (((eax ^ ebx) & 0x00200000) == 0) in host_detect_local_cpu()
96 cpuid (0, eax, ebx, ecx, edx); in host_detect_local_cpu()
99 vendor = ebx; in host_detect_local_cpu()
103 cpuid (1, eax, ebx, ecx, edx); in host_detect_local_cpu()
113 cpuid (0x80000000, eax, ebx, ecx, edx); in host_detect_local_cpu()
117 cpuid (0x80000001, eax, ebx, ecx, edx); in host_detect_local_cpu()
H A Dcrtfastmath.c52 unsigned int eax, ebx, ecx, edx; in set_fast_math() local
57 : "=&r" (eax), "=&r" (ebx) in set_fast_math()
60 if (((eax ^ ebx) & 0x00200000) == 0) in set_fast_math()
65 : "=a" (eax), "=r" (ebx), "=c" (ecx), "=d" (edx) in set_fast_math()
72 : "=a" (eax), "=r" (ebx), "=c" (ecx), "=d" (edx) in set_fast_math()
/openbsd/sys/arch/amd64/stand/libsa/
H A Dmdrandom.c28 u_int eax, ebx, ecx, edx; in mdrandom() local
41 CPUID(1, eax, ebx, ecx, edx); in mdrandom()
59 CPUID(0, eax, ebx, ecx, edx); in mdrandom()
61 CPUID_LEAF(7, 0, eax, ebx, ecx, edx); in mdrandom()
62 if (ebx & SEFF0EBX_RDSEED) { in mdrandom()
/openbsd/sys/arch/i386/stand/libsa/
H A Dmdrandom.c28 u_int eax, ebx, ecx, edx; in mdrandom() local
34 CPUID(1, eax, ebx, ecx, edx); in mdrandom()
64 CPUID(0, eax, ebx, ecx, edx); in mdrandom()
66 CPUID_LEAF(7, 0, eax, ebx, ecx, edx); in mdrandom()
67 if (ebx & SEFF0EBX_RDSEED) { in mdrandom()

123456