Home
last modified time | relevance | path

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

123456

/external/mesa3d/src/mesa/x86/
D3dnow_xform2.S44 MOV_L ( ARG_DEST, ECX )
47 MOV_L ( CONST(4), REGOFF(V4F_SIZE, ECX) )
48 OR_B ( CONST(VEC_SIZE_4), REGOFF(V4F_FLAGS, ECX) )
50 MOV_L ( EDX, REGOFF(V4F_COUNT, ECX) )
54 MOV_L ( REGOFF(V4F_START, ECX), EDX )
55 MOV_L ( ESI, ECX )
63 MOVD ( REGIND(ECX), MM0 ) /* | m00 */
64 PUNPCKLDQ ( REGOFF(16, ECX), MM0 ) /* m10 | m00 */
66 MOVD ( REGOFF(4, ECX), MM1 ) /* | m01 */
67 PUNPCKLDQ ( REGOFF(20, ECX), MM1 ) /* m11 | m01 */
[all …]
D3dnow_xform3.S44 MOV_L ( ARG_DEST, ECX )
47 MOV_L ( CONST(4), REGOFF(V4F_SIZE, ECX) )
48 OR_B ( CONST(VEC_SIZE_4), REGOFF(V4F_FLAGS, ECX) )
50 MOV_L ( EDX, REGOFF(V4F_COUNT, ECX) )
54 MOV_L ( REGOFF(V4F_START, ECX), EDX )
55 MOV_L ( ESI, ECX )
83 PFMUL ( REGOFF(32, ECX), MM2 ) /* x2*m9 | x2*m8 */
86 PFMUL ( REGOFF(40, ECX), MM5 ) /* x2*m11 | x2*m10 */
89 PFMUL ( REGIND(ECX), MM0 ) /* x0*m1 | x0*m0 */
91 PFADD ( REGOFF(48, ECX), MM2 ) /* x2*m9+m13 | x2*m8+m12 */
[all …]
D3dnow_xform4.S44 MOV_L ( ARG_DEST, ECX )
47 MOV_L ( CONST(4), REGOFF(V4F_SIZE, ECX) )
48 OR_B ( CONST(VEC_SIZE_4), REGOFF(V4F_FLAGS, ECX) )
50 MOV_L ( EDX, REGOFF(V4F_COUNT, ECX) )
54 MOV_L ( REGOFF(V4F_START, ECX), EDX )
55 MOV_L ( ESI, ECX )
85 PFMUL ( REGIND(ECX), MM0 ) /* x0*m1 | x0*m0 */
88 PFMUL ( REGOFF(8, ECX), MM1 ) /* x0*m3 | x0*m2 */
91 PFMUL ( REGOFF(16, ECX), MM2 ) /* x1*m5 | x1*m4 */
94 PFMUL ( REGOFF(24, ECX), MM3 ) /* x1*m7 | x1*m6 */
[all …]
Dx86_cliptest.S143 MOV_L( REGOFF(V4F_COUNT, ESI), ECX )
150 MOV_L( ECX, REGOFF(V4F_COUNT, EDI) )
153 ADD_L( EDX, ECX )
155 MOV_L( ECX, ARG_CLIP ) /* put clipmask + count in ARG_CLIP */
156 CMP_L( ECX, EDX )
172 XOR_L( ECX, ECX )
175 ADC_L( ECX, ECX )
178 ADC_L( ECX, ECX )
181 ADC_L( ECX, ECX )
186 ADC_L( ECX, ECX )
[all …]
D3dnow_xform1.S44 MOV_L ( ARG_DEST, ECX )
47 MOV_L ( CONST(4), REGOFF(V4F_SIZE, ECX) )
48 OR_B ( CONST(VEC_SIZE_4), REGOFF(V4F_FLAGS, ECX) )
50 MOV_L ( EDX, REGOFF(V4F_COUNT, ECX) )
54 MOV_L ( REGOFF(4, ECX), EDX )
55 MOV_L ( ESI, ECX )
63 MOVQ ( REGIND(ECX), MM0 ) /* m01 | m00 */
64 MOVQ ( REGOFF(8, ECX), MM1 ) /* m03 | m02 */
66 MOVQ ( REGOFF(48, ECX), MM2 ) /* m31 | m30 */
67 MOVQ ( REGOFF(56, ECX), MM3 ) /* m33 | m32 */
[all …]
Dsse_xform1.S59 MOV_L( REGOFF(V4F_COUNT, ESI), ECX ) /* source count */
61 CMP_L( CONST(0), ECX ) /* count == 0 ? */
67 MOV_L( ECX, REGOFF(V4F_COUNT, EDI) ) /* set dest count */
70 SHL_L( CONST(4), ECX ) /* count *= 16 */
74 ADD_L( EDI, ECX ) /* count += dest ptr */
92 CMP_L ( ECX, EDI )
115 MOV_L( REGOFF(V4F_COUNT, ESI), ECX ) /* source count */
117 TEST_L( ECX, ECX)
123 MOV_L( ECX, REGOFF(V4F_COUNT, EDI) ) /* set dest count */
126 SHL_L( CONST(4), ECX ) /* count *= 16 */
[all …]
Dsse_xform2.S59 MOV_L( REGOFF(V4F_COUNT, ESI), ECX ) /* source count */
61 TEST_L( ECX, ECX )
67 MOV_L( ECX, REGOFF(V4F_COUNT, EDI) ) /* set dest count */
70 SHL_L( CONST(4), ECX ) /* count *= 16 */
74 ADD_L( EDI, ECX ) /* count += dest ptr */
97 CMP_L ( ECX, EDI )
119 MOV_L( REGOFF(V4F_COUNT, ESI), ECX ) /* source count */
121 TEST_L( ECX, ECX)
127 MOV_L( ECX, REGOFF(V4F_COUNT, EDI) ) /* set dest count */
130 SHL_L( CONST(4), ECX ) /* count *= 16 */
[all …]
Dx86_xform2.S81 MOV_L( REGOFF(V4F_COUNT, ESI), ECX )
83 TEST_L( ECX, ECX )
89 MOV_L( ECX, REGOFF(V4F_COUNT, EDI) )
92 SHL_L( CONST(4), ECX )
96 ADD_L( EDI, ECX )
146 CMP_L( ECX, EDI )
173 MOV_L( REGOFF(V4F_COUNT, ESI), ECX )
175 TEST_L( ECX, ECX )
181 MOV_L( ECX, REGOFF(V4F_COUNT, EDI) )
184 SHL_L( CONST(4), ECX )
[all …]
Dx86_xform3.S81 MOV_L( REGOFF(V4F_COUNT, ESI), ECX )
83 TEST_L( ECX, ECX )
89 MOV_L( ECX, REGOFF(V4F_COUNT, EDI) )
92 SHL_L( CONST(4), ECX )
96 ADD_L( EDI, ECX )
162 CMP_L( ECX, EDI )
189 MOV_L( REGOFF(V4F_COUNT, ESI), ECX )
191 TEST_L( ECX, ECX )
197 MOV_L( ECX, REGOFF(V4F_COUNT, EDI) )
200 SHL_L( CONST(4), ECX )
[all …]
Dsse_xform3.S59 MOV_L( REGOFF(V4F_COUNT, ESI), ECX ) /* source count */
61 CMP_L ( CONST(0), ECX ) /* count == 0 ? */
67 MOV_L( ECX, REGOFF(V4F_COUNT, EDI) ) /* set dest count */
70 SHL_L( CONST(4), ECX ) /* count *= 16 */
74 ADD_L( EDI, ECX ) /* count += dest ptr */
106 CMP_L ( ECX, EDI )
128 MOV_L( REGOFF(V4F_COUNT, ESI), ECX ) /* source count */
130 TEST_L( ECX, ECX)
136 MOV_L( ECX, REGOFF(V4F_COUNT, EDI) ) /* set dest count */
139 SHL_L( CONST(4), ECX ) /* count *= 16 */
[all …]
Dx86_xform4.S81 MOV_L( REGOFF(V4F_COUNT, ESI), ECX )
83 TEST_L( ECX, ECX )
89 MOV_L( ECX, REGOFF(V4F_COUNT, EDI) )
92 SHL_L( CONST(4), ECX )
96 ADD_L( EDI, ECX )
169 CMP_L( ECX, EDI )
196 MOV_L( REGOFF(V4F_COUNT, ESI), ECX )
198 TEST_L( ECX, ECX )
204 MOV_L( ECX, REGOFF(V4F_COUNT, EDI) )
207 SHL_L( CONST(4), ECX )
[all …]
Dsse_normal.S62 MOV_L ( REGOFF(V4F_COUNT, ESI), ECX ) /* source count */
64 TEST_L ( ECX, ECX )
68 MOV_L ( ECX, REGOFF(V4F_COUNT, EDI) ) /* set dest-count */
70 IMUL_L( CONST(16), ECX ) /* count *= 16 */
74 ADD_L( EDI, ECX ) /* count += dest ptr */
98 CMP_L ( ECX, EDI )
124 MOV_L ( REGOFF(V4F_COUNT, ESI), ECX ) /* source count */
126 TEST_L ( ECX, ECX )
130 MOV_L ( ECX, REGOFF(V4F_COUNT, EDI) ) /* set dest-count */
132 IMUL_L( CONST(16), ECX ) /* count *= 16 */
[all …]
Dsse_xform4.S55 MOV_L( REGOFF(V4F_COUNT, ESI), ECX )
57 TEST_L( ECX, ECX ) /* verify non-zero count */
63 MOV_L( ECX, REGOFF(V4F_COUNT, EDI) ) /* set dest count */
103 DEC_L( ECX )
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 */
142 ADD_L( EDI, ECX ) /* count += dest ptr */
178 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.S56 MOV_L (EAX, ECX)
64 CMP_L (ECX, EAX)
87 MOV_L (ECX, REGIND(EDI))
131 MOV_L (ECX, EAX) /* return ECX */
/external/llvm-project/llvm/lib/Support/
DHost.cpp982 static void getAvailableFeatures(unsigned ECX, unsigned EDX, unsigned MaxLeaf, in getAvailableFeatures() argument
999 if ((ECX >> 0) & 1) in getAvailableFeatures()
1001 if ((ECX >> 1) & 1) in getAvailableFeatures()
1003 if ((ECX >> 9) & 1) in getAvailableFeatures()
1005 if ((ECX >> 12) & 1) in getAvailableFeatures()
1007 if ((ECX >> 19) & 1) in getAvailableFeatures()
1009 if ((ECX >> 20) & 1) in getAvailableFeatures()
1011 if ((ECX >> 23) & 1) in getAvailableFeatures()
1013 if ((ECX >> 25) & 1) in getAvailableFeatures()
1016 if ((ECX >> 22) & 1) in getAvailableFeatures()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Support/
DHost.cpp979 static void getAvailableFeatures(unsigned ECX, unsigned EDX, unsigned MaxLeaf, in getAvailableFeatures() argument
1007 if ((ECX >> 0) & 1) in getAvailableFeatures()
1009 if ((ECX >> 1) & 1) in getAvailableFeatures()
1011 if ((ECX >> 9) & 1) in getAvailableFeatures()
1013 if ((ECX >> 12) & 1) in getAvailableFeatures()
1015 if ((ECX >> 19) & 1) in getAvailableFeatures()
1017 if ((ECX >> 20) & 1) in getAvailableFeatures()
1019 if ((ECX >> 23) & 1) in getAvailableFeatures()
1021 if ((ECX >> 25) & 1) in getAvailableFeatures()
1024 if ((ECX >> 22) & 1) in getAvailableFeatures()
[all …]
/external/llvm-project/compiler-rt/lib/builtins/
Dcpu_model.c570 static void getAvailableFeatures(unsigned ECX, unsigned EDX, unsigned MaxLeaf, in getAvailableFeatures() argument
586 if ((ECX >> 0) & 1) in getAvailableFeatures()
588 if ((ECX >> 1) & 1) in getAvailableFeatures()
590 if ((ECX >> 9) & 1) in getAvailableFeatures()
592 if ((ECX >> 12) & 1) in getAvailableFeatures()
594 if ((ECX >> 19) & 1) in getAvailableFeatures()
596 if ((ECX >> 20) & 1) in getAvailableFeatures()
598 if ((ECX >> 23) & 1) in getAvailableFeatures()
600 if ((ECX >> 25) & 1) in getAvailableFeatures()
607 bool HasAVX = ((ECX & AVXBits) == AVXBits) && !getX86XCR0(&EAX, &EDX) && in getAvailableFeatures()
[all …]
/external/llvm/lib/Support/
DHost.cpp706 static unsigned getAvailableFeatures(unsigned int ECX, unsigned int EDX, in getAvailableFeatures() argument
713 Features |= (((ECX >> 0) & 1) << FEATURE_SSE3); in getAvailableFeatures()
714 Features |= (((ECX >> 9) & 1) << FEATURE_SSSE3); in getAvailableFeatures()
715 Features |= (((ECX >> 19) & 1) << FEATURE_SSE4_1); in getAvailableFeatures()
716 Features |= (((ECX >> 20) & 1) << FEATURE_SSE4_2); in getAvailableFeatures()
717 Features |= (((ECX >> 22) & 1) << FEATURE_MOVBE); in getAvailableFeatures()
723 bool HasAVX = ((ECX & AVXBits) == AVXBits) && !getX86XCR0(&EAX, &EDX) && in getAvailableFeatures()
727 MaxLeaf >= 0x7 && !getX86CpuIDAndInfoEx(0x7, 0x0, &EAX, &EBX, &ECX, &EDX); in getAvailableFeatures()
737 getX86CpuIDAndInfo(0x80000001, &EAX, &EBX, &ECX, &EDX); in getAvailableFeatures()
743 unsigned EAX = 0, EBX = 0, ECX = 0, EDX = 0; in getHostCPUName() local
[all …]
/external/llvm/test/MC/X86/
Dintel-syntax.s65 mov ECX, DWORD PTR [4*ECX + _fnan]
418 div EAX, ECX
419 div EAX, [ECX*8+EBX+0xdeadbeef]
426 idiv EAX, ECX
427 idiv EAX, [ECX*8+EBX+0xdeadbeef]
455 xchg EAX, ECX
456 xchg ECX, EAX
466 xchg RAX, [ECX]
467 xchg [ECX], RAX
468 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]])
Dpromote-vec3.ll25 ; SSE3-NEXT: # kill: %CX<def> %CX<kill> %ECX<kill>
39 ; SSE41-NEXT: # kill: %CX<def> %CX<kill> %ECX<kill>
53 ; AVX_ANY-NEXT: # kill: %CX<def> %CX<kill> %ECX<kill>
67 ; AVX_X86_64-NEXT: # kill: %CX<def> %CX<kill> %ECX<kill>
91 ; SSE3-NEXT: # kill: %CX<def> %CX<kill> %ECX<kill>
106 ; SSE41-NEXT: # kill: %CX<def> %CX<kill> %ECX<kill>
121 ; AVX_ANY-NEXT: # kill: %CX<def> %CX<kill> %ECX<kill>
136 ; AVX_X86_64-NEXT: # kill: %CX<def> %CX<kill> %ECX<kill>
/external/llvm-project/llvm/test/MC/X86/
Dintel-syntax.s129 mov ECX, DWORD PTR [4*ECX + _fnan]
484 div EAX, ECX
485 div EAX, [ECX*8+EBX+0xdeadbeef]
492 idiv EAX, ECX
493 idiv EAX, [ECX*8+EBX+0xdeadbeef]
521 xchg EAX, ECX
522 xchg ECX, EAX
532 xchg RAX, [ECX]
533 xchg [ECX], RAX
534 xchg EAX, [ECX]
[all …]
/external/llvm-project/llvm/test/CodeGen/X86/
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]])

123456