Instruções de conversão
Convertendo valores entre float, double e inteiro.
Conversão entre double e float
CVTPS2PD | Convert packed single-precision floating-point values to packed double-precision floating-point values
CVTPS2PD xmm(n), xmm(n)
CVTPS2PD xmm(n), float(2)CVTPD2PS | Convert packed double-precision floating-point values to packed single-precision floating-point values
CVTPD2PS xmm(n), xmm(n)
CVTPD2PS xmm(n), double(2)CVTSS2SD | Convert scalar single-precision floating-point value to scalar double-precision floating-point value
CVTSS2SD xmm(n), xmm(n)
CVTSS2SD xmm(n), float(1)CVTSD2SS | Convert scalar double-precision floating-point value to scalar single-precision floating-point value
Conversão entre double e inteiro
CVTPD2DQ/CVTTPD2DQ | Convert (with truncation) packed double-precision floating-point values to packed doubleword integers
CVTDQ2PD | Convert packed doubleword integers to packed double-precision floating-point values
CVTSD2SI/CVTTSD2SI | Convert scalar double-precision floating-point value to doubleword integer
CVTSI2SD | Convert doubleword integer to scalar double-precision floating-point value
Conversão entre float e inteiro
CVTPS2DQ/CVTTPS2DQ | Convert (with truncation) packed single-precision floating-point values to packed doubleword integers
CVTDQ2PS | Convert packed doubleword integers to packed single-precision floating-point values
CVTSS2SI/CVTTSS2SI | Convert scalar single-precision floating-point value to doubleword integer
CVTSI2SS | Convert doubleword integer to scalar single-precision floating-point value
Last updated
Was this helpful?