Instruction
VCVTTSD2USIS
Converts the low double to an unsigned 32- or 64-bit integer with truncation and, if the invalid exception is masked, saturation and zero for NaN.
- Extensions
- Forms
- 4 (4 EVEX)
- Data
- Intel XED v2026.08.23
VCVTTSD2USIS converts the low double of a register or eight bytes of
memory to an unsigned integer in a general-purpose register, truncating
toward zero and saturating: values beyond the range give FFFFFFFFh or
all 64 bits set, values of -1 or less give 0, and a NaN gives 0.
VCVTTSD2USI returns all ones, the unsigned
indefinite, for every one of those, a negative input included. EVEX.W
picks a 32-bit or, in 64-bit mode, a 64-bit result. It belongs to
AVX10.2: opcode 6Ch in EVEX map 5 with an F2 prefix, beside the signed
VCVTTSD2SIS’s 6Dh, with {sae}. NaNs, infinities
and out-of-range values still set IE, and a lost fraction sets PE.
A corrected helper
Revision 7.0 of the AVX10.2 specification lists among its fixes that VCVTTSD2USIS’s operation called the signed conversion helper; it now names the unsigned one. Earlier revisions therefore described a signed result for this instruction.
In our builds
GCC 14 has no AVX10.2 option. Clang 23 with -mavx10.2 compiles
_mm_cvtts_roundsd_u64(x, _MM_FROUND_CUR_DIRECTION) to
vcvttsd2usis rax, xmm0, while (unsigned)x in C stays VCVTTSD2USI.
No AVX10.2 processor appears in this site’s recorded cases.
Forms
| Instruction | Encoding | Requires |
|---|---|---|
VCVTTSD2USIS r32, xmm, {sae}
VCVTTSD2USIS_GPR32u32_XMMf64_AVX512 | EVEX.LIG.F2.MAP5.W0 6C /r | AVX10.2 |
VCVTTSD2USIS r32, m64
VCVTTSD2USIS_GPR32u32_MEMf64_AVX512 | EVEX.LIG.F2.MAP5.W0 6C /r | AVX10.2 |
VCVTTSD2USIS r64, xmm, {sae} 64-bit mode only
VCVTTSD2USIS_GPR64u64_XMMf64_AVX512 | EVEX.LIG.F2.MAP5.W1 6C /r | AVX10.2 |
VCVTTSD2USIS r64, m64 64-bit mode only
VCVTTSD2USIS_GPR64u64_MEMf64_AVX512 | EVEX.LIG.F2.MAP5.W1 6C /r | AVX10.2 |
Data flow
Where the elements of the sources go, element 0 on the right; results that depend on a control value are drawn for an example. How to read.
r32 receives the conversion of double 0 of xmm2: r0.
Operation
What the forms do, in pseudocode that our tests run against results recorded on real processors. How to read.
a = src2.f64[0]
dest.write(cvtts_uint(a, dest.bits)) # r32: bits 63:32 cleared
# {sae}: no exception flagsNot run on a processor: none of these processors has AVX10.2.
Operands
| Operand | Kind | Action |
|---|---|---|
VCVTTSD2USIS r32, xmm/m64, {sae} VCVTTSD2USIS r64, xmm/m64, {sae} 64-bit mode only | ||
r32/64 | explicit | write |
xmm/m64 | explicit | read |
Flags
None: XED records no flag that the forms test or change.
Exceptions
The exception class is XED's name for the set of exception conditions that a form follows. How to read.
- All forms
AVX512-E3NF
Attributes
What else XED records about the forms. How to read.
- All forms
- follows MXCSR
Intrinsics
The C intrinsics of Clang 23.1.2 that compile to VCVTTSD2USIS, each with the form it compiles to and the Clang options it needs. The forms come from compiling every intrinsic and decoding the result with Intel XED; all intrinsics A–Z explains the method.
| Intrinsic | Compiles to |
|---|---|
_mm_cvtts_roundsd_u32
unsigned int _mm_cvtts_roundsd_u32(__m128d __A, const int __R) |
|
_mm_cvtts_roundsd_u64
unsigned long long _mm_cvtts_roundsd_u64(__m128d __A, const int __R) |
|
CPUID and processors
Each form belongs to an XED ISA set. A form can be used when the processor reports every CPUID bit of one of its ISA set's alternatives.
| ISA set | CPUID | Processors |
|---|---|---|
AVX512_SAT_CVT_DS_SCALAR | AVX10.2 | Nova Lake, Diamond Rapids |
More AVX10.2 instructions
- VCVTPH2HF8S
- VCVTPH2IBS
- VCVTPH2IUBS
- VCVTPS2IBS
- VCVTPS2IUBS
- VCVTTBF162IBS
- VCVTTBF162IUBS
- VCVTTPD2DQS
- VCVTTPD2QQS
- VCVTTPD2UDQS
- VCVTTPD2UQQS
- VCVTTPH2IBS
- VCVTTPH2IUBS
- VCVTTPS2DQS
- VCVTTPS2IBS
- VCVTTPS2IUBS
- VCVTTPS2QQS
- VCVTTPS2UDQS
- VCVTTPS2UQQS
- VCVTTSD2SIS
- VCVTTSS2SIS
- VCVTTSS2USIS
- VDIVBF16
- VDPPHPS
- VFMADD132BF16
- VFMADD213BF16
- VFMADD231BF16
- VFMSUB132BF16
- VFMSUB213BF16
- VFMSUB231BF16
- VFNMADD132BF16
- VFNMADD213BF16
- VFNMADD231BF16
- VFNMSUB132BF16
- VFNMSUB213BF16
- VFNMSUB231BF16
- VFPCLASSBF16
- VGETEXPBF16
- VGETMANTBF16
- VMAXBF16
Sources
- Intel XED v2026.08.23 (commit
0bcb6237345c): forms, encodings, operands, flags, exception classes, attributes, ISA sets, CPUID bits and chip model. - Clang's x86 intrinsic headers, LLVM 23.1.2 (commit
85ac56026243): the intrinsics, their signatures and doc comments, and the Clang of that release, which compiled each of them. - Intel Advanced Vector Extensions 10.2 Architecture Specification, revision 7.0 (361050-007, April 2026)
The tables are derived from Intel XED, Copyright Intel Corporation, licensed under the Apache License 2.0; x86-64.net converted and reformatted them. The intrinsics and their signatures come from Clang, part of the LLVM Project, licensed under the Apache License 2.0 with LLVM Exceptions. The text is our own.