EHS/src/Math_GCC_AMD64.asm
Karutoh bcd71cf2b5
All checks were successful
Build & Release / Windows-AMD64-Build (push) Successful in 1m8s
Build & Release / Linux-AMD64-Build (push) Successful in 1m30s
Build & Release / Linux-AARCH64-Build (push) Successful in 3m21s
Adjusted workflow.
2024-02-05 22:25:30 -08:00

61 lines
1.2 KiB
NASM

global _ZN3ehs4Math8Sqrt_AVXEf
global _ZN3ehs4Math8Sqrt_AVXEd
global _ZN3ehs4Math8Sqrt_SSEEf
global _ZN3ehs4Math9Sqrt_SSE2Ed
global _ZN3ehs4Math4NearEf
global _ZN3ehs4Math4NearEd
global _ZN3ehs4Math5FloorEf
global _ZN3ehs4Math5FloorEd
global _ZN3ehs4Math4CeilEf
global _ZN3ehs4Math4CeilEd
global _ZN3ehs4Math5TruncEf
global _ZN3ehs4Math5TruncEd
section .text
_ZN3ehs4Math8Sqrt_AVXEf:
VSQRTPS XMM0, XMM0
RET
_ZN3ehs4Math8Sqrt_AVXEd:
VSQRTPD XMM0, XMM0
RET
_ZN3ehs4Math8Sqrt_SSEEf:
SQRTPS XMM0, XMM0
RET
_ZN3ehs4Math9Sqrt_SSE2Ed:
SQRTPD XMM0, XMM0
RET
_ZN3ehs4Math4NearEf:
ROUNDPS XMM0, XMM0, 0
RET
_ZN3ehs4Math4NearEd:
ROUNDPD XMM0, XMM0, 0
RET
_ZN3ehs4Math5FloorEf:
ROUNDPS XMM0, XMM0, 1
RET
_ZN3ehs4Math5FloorEd:
ROUNDPD XMM0, XMM0, 1
RET
_ZN3ehs4Math4CeilEf:
ROUNDPS XMM0, XMM0, 2
RET
_ZN3ehs4Math4CeilEd:
ROUNDPD XMM0, XMM0, 2
RET
_ZN3ehs4Math5TruncEf:
ROUNDPS XMM0, XMM0, 3
RET
_ZN3ehs4Math5TruncEd:
ROUNDPD XMM0, XMM0, 3
RET