mirror of
https://github.com/NishiOwO/JWasm.git
synced 2025-04-22 01:04:39 +00:00
25 lines
310 B
NASM
25 lines
310 B
NASM
|
|
;--- SSE 4, 64-bit specific instructions
|
|
;--- was encoded incorrectly prior to v2.06
|
|
|
|
ifdef __JWASM__
|
|
if type near eq 0ff02h
|
|
.x64
|
|
.model flat
|
|
endif
|
|
endif
|
|
|
|
.data
|
|
|
|
m64 label qword
|
|
|
|
.code
|
|
|
|
pextrq rax, xmm1, 1
|
|
pextrq m64, xmm1, 2
|
|
pinsrq xmm0, rax, 3
|
|
pinsrq xmm0, m64, 4
|
|
ret
|
|
|
|
End
|