Home
last modified time | relevance | path

Searched refs:ECX (Results 1 – 25 of 73) sorted by relevance

123

/external/mesa3d/src/mesa/x86/
D3dnow_xform2.S43 MOV_L ( ARG_DEST, ECX )
46 MOV_L ( CONST(4), REGOFF(V4F_SIZE, ECX) )
47 OR_B ( CONST(VEC_SIZE_4), REGOFF(V4F_FLAGS, ECX) )
49 MOV_L ( EDX, REGOFF(V4F_COUNT, ECX) )
53 MOV_L ( REGOFF(V4F_START, ECX), EDX )
54 MOV_L ( ESI, ECX )
62 MOVD ( REGIND(ECX), MM0 ) /* | m00 */
63 PUNPCKLDQ ( REGOFF(16, ECX), MM0 ) /* m10 | m00 */
65 MOVD ( REGOFF(4, ECX), MM1 ) /* | m01 */
66 PUNPCKLDQ ( REGOFF(20, ECX), MM1 ) /* m11 | m01 */
[all …]
D3dnow_xform3.S43 MOV_L ( ARG_DEST, ECX )
46 MOV_L ( CONST(4), REGOFF(V4F_SIZE, ECX) )
47 OR_B ( CONST(VEC_SIZE_4), REGOFF(V4F_FLAGS, ECX) )
49 MOV_L ( EDX, REGOFF(V4F_COUNT, ECX) )
53 MOV_L ( REGOFF(V4F_START, ECX), EDX )
54 MOV_L ( ESI, ECX )
82 PFMUL ( REGOFF(32, ECX), MM2 ) /* x2*m9 | x2*m8 */
85 PFMUL ( REGOFF(40, ECX), MM5 ) /* x2*m11 | x2*m10 */
88 PFMUL ( REGIND(ECX), MM0 ) /* x0*m1 | x0*m0 */
90 PFADD ( REGOFF(48, ECX), MM2 ) /* x2*m9+m13 | x2*m8+m12 */
[all …]
D3dnow_xform4.S43 MOV_L ( ARG_DEST, ECX )
46 MOV_L ( CONST(4), REGOFF(V4F_SIZE, ECX) )
47 OR_B ( CONST(VEC_SIZE_4), REGOFF(V4F_FLAGS, ECX) )
49 MOV_L ( EDX, REGOFF(V4F_COUNT, ECX) )
53 MOV_L ( REGOFF(V4F_START, ECX), EDX )
54 MOV_L ( ESI, ECX )
84 PFMUL ( REGIND(ECX), MM0 ) /* x0*m1 | x0*m0 */
87 PFMUL ( REGOFF(8, ECX), MM1 ) /* x0*m3 | x0*m2 */
90 PFMUL ( REGOFF(16, ECX), MM2 ) /* x1*m5 | x1*m4 */
93 PFMUL ( REGOFF(24, ECX), MM3 ) /* x1*m7 | x1*m6 */
[all …]
Dx86_cliptest.S142 MOV_L( REGOFF(V4F_COUNT, ESI), ECX )
149 MOV_L( ECX, REGOFF(V4F_COUNT, EDI) )
152 ADD_L( EDX, ECX )
154 MOV_L( ECX, ARG_CLIP ) /* put clipmask + count in ARG_CLIP */
155 CMP_L( ECX, EDX )
171 XOR_L( ECX, ECX )
174 ADC_L( ECX, ECX )
177 ADC_L( ECX, ECX )
180 ADC_L( ECX, ECX )
185 ADC_L( ECX, ECX )
[all …]
D3dnow_xform1.S43 MOV_L ( ARG_DEST, ECX )
46 MOV_L ( CONST(4), REGOFF(V4F_SIZE, ECX) )
47 OR_B ( CONST(VEC_SIZE_4), REGOFF(V4F_FLAGS, ECX) )
49 MOV_L ( EDX, REGOFF(V4F_COUNT, ECX) )
53 MOV_L ( REGOFF(4, ECX), EDX )
54 MOV_L ( ESI, ECX )
62 MOVQ ( REGIND(ECX), MM0 ) /* m01 | m00 */
63 MOVQ ( REGOFF(8, ECX), MM1 ) /* m03 | m02 */
65 MOVQ ( REGOFF(48, ECX), MM2 ) /* m31 | m30 */
66 MOVQ ( REGOFF(56, ECX), MM3 ) /* m33 | m32 */
[all …]
Dsse_xform1.S58 MOV_L( REGOFF(V4F_COUNT, ESI), ECX ) /* source count */
60 CMP_L( CONST(0), ECX ) /* count == 0 ? */
66 MOV_L( ECX, REGOFF(V4F_COUNT, EDI) ) /* set dest count */
69 SHL_L( CONST(4), ECX ) /* count *= 16 */
73 ADD_L( EDI, ECX ) /* count += dest ptr */
91 CMP_L ( ECX, EDI )
114 MOV_L( REGOFF(V4F_COUNT, ESI), ECX ) /* source count */
116 TEST_L( ECX, ECX)
122 MOV_L( ECX, REGOFF(V4F_COUNT, EDI) ) /* set dest count */
125 SHL_L( CONST(4), ECX ) /* count *= 16 */
[all …]
Dsse_xform2.S58 MOV_L( REGOFF(V4F_COUNT, ESI), ECX ) /* source count */
60 TEST_L( ECX, ECX )
66 MOV_L( ECX, REGOFF(V4F_COUNT, EDI) ) /* set dest count */
69 SHL_L( CONST(4), ECX ) /* count *= 16 */
73 ADD_L( EDI, ECX ) /* count += dest ptr */
96 CMP_L ( ECX, EDI )
118 MOV_L( REGOFF(V4F_COUNT, ESI), ECX ) /* source count */
120 TEST_L( ECX, ECX)
126 MOV_L( ECX, REGOFF(V4F_COUNT, EDI) ) /* set dest count */
129 SHL_L( CONST(4), ECX ) /* count *= 16 */
[all …]
Dx86_xform2.S80 MOV_L( REGOFF(V4F_COUNT, ESI), ECX )
82 TEST_L( ECX, ECX )
88 MOV_L( ECX, REGOFF(V4F_COUNT, EDI) )
91 SHL_L( CONST(4), ECX )
95 ADD_L( EDI, ECX )
145 CMP_L( ECX, EDI )
172 MOV_L( REGOFF(V4F_COUNT, ESI), ECX )
174 TEST_L( ECX, ECX )
180 MOV_L( ECX, REGOFF(V4F_COUNT, EDI) )
183 SHL_L( CONST(4), ECX )
[all …]
Dx86_xform3.S80 MOV_L( REGOFF(V4F_COUNT, ESI), ECX )
82 TEST_L( ECX, ECX )
88 MOV_L( ECX, REGOFF(V4F_COUNT, EDI) )
91 SHL_L( CONST(4), ECX )
95 ADD_L( EDI, ECX )
161 CMP_L( ECX, EDI )
188 MOV_L( REGOFF(V4F_COUNT, ESI), ECX )
190 TEST_L( ECX, ECX )
196 MOV_L( ECX, REGOFF(V4F_COUNT, EDI) )
199 SHL_L( CONST(4), ECX )
[all …]
Dsse_xform3.S58 MOV_L( REGOFF(V4F_COUNT, ESI), ECX ) /* source count */
60 CMP_L ( CONST(0), ECX ) /* count == 0 ? */
66 MOV_L( ECX, REGOFF(V4F_COUNT, EDI) ) /* set dest count */
69 SHL_L( CONST(4), ECX ) /* count *= 16 */
73 ADD_L( EDI, ECX ) /* count += dest ptr */
105 CMP_L ( ECX, EDI )
127 MOV_L( REGOFF(V4F_COUNT, ESI), ECX ) /* source count */
129 TEST_L( ECX, ECX)
135 MOV_L( ECX, REGOFF(V4F_COUNT, EDI) ) /* set dest count */
138 SHL_L( CONST(4), ECX ) /* count *= 16 */
[all …]
Dx86_xform4.S80 MOV_L( REGOFF(V4F_COUNT, ESI), ECX )
82 TEST_L( ECX, ECX )
88 MOV_L( ECX, REGOFF(V4F_COUNT, EDI) )
91 SHL_L( CONST(4), ECX )
95 ADD_L( EDI, ECX )
168 CMP_L( ECX, EDI )
195 MOV_L( REGOFF(V4F_COUNT, ESI), ECX )
197 TEST_L( ECX, ECX )
203 MOV_L( ECX, REGOFF(V4F_COUNT, EDI) )
206 SHL_L( CONST(4), ECX )
[all …]
D3dnow_normal.S38 #define M(i) REGOFF(i * 4, ECX)
60 MOV_L ( ARG_MAT, ECX )
61 MOV_L ( REGOFF(MATRIX_INV, ECX), ECX ) /* mat->inv */
237 MOV_L ( ARG_MAT, ECX )
239 MOV_L ( REGOFF(MATRIX_INV, ECX), ECX ) /* mat->inv */
377 MOV_L ( ARG_MAT, ECX )
378 MOV_L ( REGOFF(MATRIX_INV, ECX), ECX ) /* mat->inv */
390 MOVD ( REGIND(ECX), MM0 ) /* | m0 */
391 PUNPCKLDQ ( REGOFF(20, ECX), MM0 ) /* m5 | m0 */
394 MOVD ( REGOFF(40, ECX), MM2 ) /* | m10 */
[all …]
Dsse_normal.S61 MOV_L ( REGOFF(V4F_COUNT, ESI), ECX ) /* source count */
63 TEST_L ( ECX, ECX )
67 MOV_L ( ECX, REGOFF(V4F_COUNT, EDI) ) /* set dest-count */
69 IMUL_L( CONST(16), ECX ) /* count *= 16 */
73 ADD_L( EDI, ECX ) /* count += dest ptr */
97 CMP_L ( ECX, EDI )
123 MOV_L ( REGOFF(V4F_COUNT, ESI), ECX ) /* source count */
125 TEST_L ( ECX, ECX )
129 MOV_L ( ECX, REGOFF(V4F_COUNT, EDI) ) /* set dest-count */
131 IMUL_L( CONST(16), ECX ) /* count *= 16 */
[all …]
Dsse_xform4.S54 MOV_L( REGOFF(V4F_COUNT, ESI), ECX )
56 TEST_L( ECX, ECX ) /* verify non-zero count */
62 MOV_L( ECX, REGOFF(V4F_COUNT, EDI) ) /* set dest count */
102 DEC_L( ECX )
126 MOV_L( REGOFF(V4F_COUNT, ESI), ECX ) /* source count */
128 TEST_L( ECX, ECX)
134 MOV_L( ECX, REGOFF(V4F_COUNT, EDI) ) /* set dest count */
137 SHL_L( CONST(4), ECX ) /* count *= 16 */
141 ADD_L( EDI, ECX ) /* count += dest ptr */
177 CMP_L( ECX, EDI )
[all …]
Dmmx_blendtmp.h25 MOV_L ( REGOFF(12, EBP), ECX ) /* n */
26 CMP_L ( CONST(0), ECX)
50 DEC_L ( ECX ) /* n -= 1 */
57 CMP_L ( CONST(2), ECX)
75 DEC_L ( ECX )
76 DEC_L ( ECX ) /* n -= 2 */
80 CMP_L ( CONST(2), ECX )
85 CMP_L ( CONST(1), ECX )
Dcommon_x86_asm.S57 MOV_L (EAX, ECX)
65 CMP_L (ECX, EAX)
88 MOV_L (ECX, REGIND(EDI))
132 MOV_L (ECX, EAX) /* return ECX */
/external/llvm/lib/Support/
DHost.cpp216 unsigned EAX = 0, EBX = 0, ECX = 0, EDX = 0; in getHostCPUName() local
217 if (GetX86CpuIDAndInfo(0x1, &EAX, &EBX, &ECX, &EDX)) in getHostCPUName()
234 bool HasSSE3 = (ECX >> 0) & 1; in getHostCPUName()
235 bool HasSSSE3 = (ECX >> 9) & 1; in getHostCPUName()
236 bool HasSSE41 = (ECX >> 19) & 1; in getHostCPUName()
237 bool HasSSE42 = (ECX >> 20) & 1; in getHostCPUName()
238 bool HasMOVBE = (ECX >> 22) & 1; in getHostCPUName()
243 bool HasAVX = ((ECX & AVXBits) == AVXBits) && !GetX86XCR0(&EAX, &EDX) && in getHostCPUName()
247 !GetX86CpuIDAndInfoEx(0x7, 0x0, &EAX, &EBX, &ECX, &EDX); in getHostCPUName()
252 GetX86CpuIDAndInfo(0x80000001, &EAX, &EBX, &ECX, &EDX); in getHostCPUName()
[all …]
/external/llvm/test/MC/X86/
Dintel-syntax.s63 mov ECX, DWORD PTR [4*ECX + _fnan]
416 div EAX, ECX
417 div EAX, [ECX*8+EBX+0xdeadbeef]
424 idiv EAX, ECX
425 idiv EAX, [ECX*8+EBX+0xdeadbeef]
453 xchg EAX, ECX
454 xchg ECX, EAX
464 xchg RAX, [ECX]
465 xchg [ECX], RAX
466 xchg EAX, [ECX]
[all …]
/external/llvm/test/CodeGen/X86/
Dabi-isel.ll70 ; DARWIN-32-DYNAMIC-NEXT: movl L_dst$non_lazy_ptr, [[ECX:%e..]]
71 ; DARWIN-32-DYNAMIC-NEXT: movl [[EAX]], ([[ECX]])
78 ; DARWIN-32-PIC-NEXT: movl L_src$non_lazy_ptr-L0$pb([[EAX]]), [[ECX:%e..]]
79 ; DARWIN-32-PIC-NEXT: movl ([[ECX]]), [[ECX:%e..]]
81 ; DARWIN-32-PIC-NEXT: movl [[ECX]], ([[EAX]])
142 ; DARWIN-32-DYNAMIC-NEXT: movl L_xdst$non_lazy_ptr, [[ECX:%e.x]]
143 ; DARWIN-32-DYNAMIC-NEXT: movl [[EAX]], ([[ECX]])
150 ; DARWIN-32-PIC-NEXT: movl L_xsrc$non_lazy_ptr-L1$pb([[EAX]]), [[ECX:%e.x]]
151 ; DARWIN-32-PIC-NEXT: movl ([[ECX]]), [[ECX:%e.x]]
153 ; DARWIN-32-PIC-NEXT: movl [[ECX]], ([[EAX]])
[all …]
D2008-08-31-EH_RETURN32.ll14 ; CHECK: movl 12(%ebp), %[[ECX:e..]]
16 ; CHECK: movl %[[ECX]], 4(%ebp,%[[EAX]])
28 ; CHECK: movl 12(%ebp), %[[ECX:e..]]
30 ; CHECK: movl %[[ECX]], 4(%ebp,%[[EAX]])
D2010-04-08-CoalescerBug.ll6 ; REP_MOVSD %ECX<imp-def,dead>, %EDI<imp-def,dead>, %ESI<imp-def,dead>, %ECX<imp-use,kill>, %EDI<im…
Dloop-strength-reduce4.ll7 ; STATIC: movl $-64, [[ECX:%e..]]
9 ; STATIC: movl [[EAX:%e..]], _state+76([[ECX]])
10 ; STATIC: addl $16, [[ECX]]
/external/lzma/C/
DCpuArch.c59 __asm xor ECX, ECX; in MyCPUID() local
65 __asm mov c2, ECX; in MyCPUID() local
/external/llvm/lib/Target/X86/
DX86SelectionDAGInfo.cpp66 X86::ECX, X86::EAX, X86::EDI}; in EmitTargetCodeForMemset()
161 Chain = DAG.getCopyToReg(Chain, dl, Subtarget.is64Bit() ? X86::RCX : X86::ECX, in EmitTargetCodeForMemset()
179 X86::ECX, in EmitTargetCodeForMemset()
233 X86::ECX, X86::ESI, X86::EDI}; in EmitTargetCodeForMemcpy()
256 X86::ECX, in EmitTargetCodeForMemcpy()
DX86CallingConv.td39 CCIfType<[i32], CCAssignToReg<[EAX, EDX, ECX]>>,
90 // For integers, ECX can be used as an extra return register
93 CCIfType<[i32], CCAssignToReg<[EAX, EDX, ECX]>>,
252 CCIfType<[i32], CCAssignToReg<[EDI, ESI, EDX, ECX, R8D, R9D]>>,
326 CCIfType<[i32], CCAssignToRegWithShadow<[ECX , EDX , R8D , R9D ],
487 // The 'nest' parameter, if any, is passed in ECX.
488 CCIfNest<CCAssignToReg<[ECX]>>,
492 CCIfNotVarArg<CCIfInReg<CCIfType<[i32], CCAssignToReg<[EAX, EDX, ECX]>>>>,
505 // The first 2 integer arguments are passed in ECX/EDX
506 CCIfInReg<CCIfType<[i32], CCAssignToReg<[ECX, EDX]>>>,
[all …]

123