Skip to content

Commit de79de5

Browse files
committed
addps: move to lkmc
1 parent f04f4a9 commit de79de5

File tree

1 file changed

+0
-37
lines changed

1 file changed

+0
-37
lines changed

simd.asm

Lines changed: 0 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -24,13 +24,6 @@ ENTRY
2424

2525
; # SIMD Registers
2626

27-
; # MMX
28-
29-
; From the MMX extenion.
30-
31-
; TODO. Not very useful after SSE: splits 32 bits into multiple sections,
32-
; but not any larger than EAX.
33-
3427
; # XMM
3528

3629
; # movss
@@ -106,22 +99,6 @@ ENTRY
10699

107100
; # MOVMSKPS - Move sign bits of each of the 4 packed scalars to an x86 integer register.
108101

109-
; # AVX
110-
111-
; From AVX extensions.
112-
113-
; 32 bytes.
114-
115-
; # pcmpeqd
116-
117-
; Compare each double word of the registers for equality.
118-
119-
; # pmovmskb
120-
121-
; # VEX prefix
122-
123-
; TODO
124-
125102
; # packed
126103

127104
; # scalar
@@ -138,20 +115,6 @@ ENTRY
138115

139116
; # SSE2
140117

141-
; # addps
142-
143-
; Add Packed Single precision float.
144-
145-
MOV4 reso0, __float32__(0.0), __float32__(0.5), __float32__(0.25), __float32__(0.125)
146-
MOV4 reso1, __float32__(0.0), __float32__(1.0), __float32__(2.0), __float32__(4.0)
147-
148-
movups xmm0, [reso0]
149-
movups xmm1, [reso1]
150-
addps xmm0, xmm1
151-
movups [reso0], xmm0
152-
153-
ASSERT_EQ4 reso0, __float32__(0.0), __float32__(1.5), __float32__(2.25), __float32__(4.125)
154-
155118
; # cvttss2si
156119

157120
; Convert with Truncation Scalar Single-Precision FP Value to Dword Integer.

0 commit comments

Comments
 (0)