Instruction
VCVTTSS2SIS
Converts the low single to a signed 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
VCVTTSS2SIS converts the low single of a register or four bytes of
memory to a signed integer in a general-purpose register, truncating
toward zero and saturating: too large a value gives 7FFFFFFFh, or
7FFFFFFFFFFFFFFFh for a 64-bit result, too small a value gives the
smallest integer, and a NaN gives 0, where
VCVTTSS2SI returns the integer indefinite for all
of them. EVEX.W chooses the width in 64-bit mode and is ignored
elsewhere. It belongs to AVX10.2: opcode 6Dh in EVEX map 5 with an F3
prefix, the double version VCVTTSD2SIS having
F2, with {sae} and no write mask. NaNs, infinities and out-of-range
values still set IE, and a lost fraction sets PE.
VCVTTSS2USIS converts to an unsigned integer and
VCVTTPS2DQS a vector of singles.
In our builds
GCC 14 has no AVX10.2 option. Clang 23 with -mavx10.2 compiles
_mm_cvtts_roundss_i32(x, _MM_FROUND_CUR_DIRECTION) to
vcvttss2sis eax, xmm0, while (long)x on a float stays VCVTTSS2SI,
so code that wants the saturating result has to ask for it through the
intrinsic. No AVX10.2 processor appears in this site’s recorded cases.
Forms
| Instruction | Encoding | Requires |
|---|---|---|
VCVTTSS2SIS r32, xmm, {sae}
VCVTTSS2SIS_GPR32i32_XMMf32_AVX512 | EVEX.LIG.F3.MAP5.W0 6D /r | AVX10.2 |
VCVTTSS2SIS r32, m32
VCVTTSS2SIS_GPR32i32_MEMf32_AVX512 | EVEX.LIG.F3.MAP5.W0 6D /r | AVX10.2 |
VCVTTSS2SIS r64, xmm, {sae} 64-bit mode only
VCVTTSS2SIS_GPR64i64_XMMf32_AVX512 | EVEX.LIG.F3.MAP5.W1 6D /r | AVX10.2 |
VCVTTSS2SIS r64, m32 64-bit mode only
VCVTTSS2SIS_GPR64i64_MEMf32_AVX512 | EVEX.LIG.F3.MAP5.W1 6D /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 single 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.f32[0]
dest.write(cvtts_int(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 |
|---|---|---|
VCVTTSS2SIS r32, xmm/m32, {sae} VCVTTSS2SIS r64, xmm/m32, {sae} 64-bit mode only | ||
r32/64 | explicit | write |
xmm/m32 | 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 VCVTTSS2SIS, 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_roundss_i32
int _mm_cvtts_roundss_i32(__m128 __A, const int __R) |
|
_mm_cvtts_roundss_i64
long long _mm_cvtts_roundss_i64(__m128 __A, const int __R) |
|
_mm_cvtts_roundss_si32
int _mm_cvtts_roundss_si32(__m128 __A, const int __R) |
|
_mm_cvtts_roundss_si64
long long _mm_cvtts_roundss_si64(__m128 __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
- VCVTPH2IBS
- VCVTPH2IUBS
- VCVTPS2IBS
- VCVTPS2IUBS
- VCVTTBF162IBS
- VCVTTBF162IUBS
- VCVTTPD2DQS
- VCVTTPD2QQS
- VCVTTPD2UDQS
- VCVTTPD2UQQS
- VCVTTPH2IBS
- VCVTTPH2IUBS
- VCVTTPS2DQS
- VCVTTPS2IBS
- VCVTTPS2IUBS
- VCVTTPS2QQS
- VCVTTPS2UDQS
- VCVTTPS2UQQS
- VCVTTSD2SIS
- VCVTTSD2USIS
- VCVTTSS2USIS
- VDIVBF16
- VDPPHPS
- VFMADD132BF16
- VFMADD213BF16
- VFMADD231BF16
- VFMSUB132BF16
- VFMSUB213BF16
- VFMSUB231BF16
- VFNMADD132BF16
- VFNMADD213BF16
- VFNMADD231BF16
- VFNMSUB132BF16
- VFNMSUB213BF16
- VFNMSUB231BF16
- VFPCLASSBF16
- VGETEXPBF16
- VGETMANTBF16
- VMAXBF16
- VMINBF16
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.