# X86.Sse4_2

> SSE 4.2 intrinsics

## Definition

* **Type:** Class
* **Namespace:** [Unity.Burst.Intrinsics](/engine/6000.7/script-reference/unity/burst/intrinsics.md)
* **Assembly:** UnityEngine.BurstModule

```csharp
public static class X86.Sse4_2
```

## Static Properties

| Property                                                                                                  | Description                                                            |
| --------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------- |
| [IsSse42Supported](/engine/6000.7/script-reference/unity/burst/intrinsics/x86/sse4-2/issse42supported.md) | Evaluates to true at compile time if SSE 4.2 intrinsics are supported. |

## Static Methods

| Method                                                                                           | Description                                                                                                                                                                               |
| ------------------------------------------------------------------------------------------------ | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| [cmpestra](/engine/6000.7/script-reference/unity/burst/intrinsics/x86/sse4-2/cmpestra.md)        | Compare packed strings in a and b with lengths la and lb using the control in imm8, and returns 1 if b did not contain a null character and the resulting mask was zero, and 0 otherwise. |
| [cmpestrc](/engine/6000.7/script-reference/unity/burst/intrinsics/x86/sse4-2/cmpestrc.md)        | Compare packed strings in a and b with lengths la and lb using the control in imm8, and returns 1 if the resulting mask was non-zero, and 0 otherwise.                                    |
| [cmpestri](/engine/6000.7/script-reference/unity/burst/intrinsics/x86/sse4-2/cmpestri.md)        | Compare packed strings in a and b with lengths la and lb using the control in imm8, and store the generated index in dst.                                                                 |
| [cmpestrm](/engine/6000.7/script-reference/unity/burst/intrinsics/x86/sse4-2/cmpestrm.md)        | Compare packed strings in a and b with lengths la and lb using the control in imm8, and store the generated mask in dst.                                                                  |
| [cmpestro](/engine/6000.7/script-reference/unity/burst/intrinsics/x86/sse4-2/cmpestro.md)        | Compare packed strings in a and b with lengths la and lb using the control in imm8, and returns bit 0 of the resulting bit mask.                                                          |
| [cmpestrs](/engine/6000.7/script-reference/unity/burst/intrinsics/x86/sse4-2/cmpestrs.md)        | Compare packed strings in a and b with lengths la and lb using the control in imm8, and returns 1 if any character in a was null, and 0 otherwise.                                        |
| [cmpestrz](/engine/6000.7/script-reference/unity/burst/intrinsics/x86/sse4-2/cmpestrz.md)        | Compare packed strings in a and b with lengths la and lb using the control in imm8, and returns 1 if any character in b was null, and 0 otherwise.                                        |
| [cmpgt\_epi64](/engine/6000.7/script-reference/unity/burst/intrinsics/x86/sse4-2/cmpgt-epi64.md) | Compare packed 64-bit integers in a and b for greater-than, and store the results in dst.                                                                                                 |
| [cmpistra](/engine/6000.7/script-reference/unity/burst/intrinsics/x86/sse4-2/cmpistra.md)        | Compare packed strings with implicit lengths in a and b using the control in imm8, and returns 1 if b did not contain a null character and the resulting mask was zero, and 0 otherwise.  |
| [cmpistrc](/engine/6000.7/script-reference/unity/burst/intrinsics/x86/sse4-2/cmpistrc.md)        | Compare packed strings with implicit lengths in a and b using the control in imm8, and returns 1 if the resulting mask was non-zero, and 0 otherwise.                                     |
| [cmpistri](/engine/6000.7/script-reference/unity/burst/intrinsics/x86/sse4-2/cmpistri.md)        | Compare packed strings with implicit lengths in a and b using the control in imm8, and store the generated index in dst.                                                                  |
| [cmpistrm](/engine/6000.7/script-reference/unity/burst/intrinsics/x86/sse4-2/cmpistrm.md)        | Compare packed strings with implicit lengths in a and b using the control in imm8, and store the generated mask in dst.                                                                   |
| [cmpistro](/engine/6000.7/script-reference/unity/burst/intrinsics/x86/sse4-2/cmpistro.md)        | Compare packed strings with implicit lengths in a and b using the control in imm8, and returns bit 0 of the resulting bit mask.                                                           |
| [cmpistrs](/engine/6000.7/script-reference/unity/burst/intrinsics/x86/sse4-2/cmpistrs.md)        | Compare packed strings with implicit lengths in a and b using the control in imm8, and returns 1 if any character in a was null, and 0 otherwise.                                         |
| [cmpistrz](/engine/6000.7/script-reference/unity/burst/intrinsics/x86/sse4-2/cmpistrz.md)        | Compare packed strings with implicit lengths in a and b using the control in imm8, and returns 1 if any character in b was null, and 0 otherwise.                                         |
| [crc32\_u16](/engine/6000.7/script-reference/unity/burst/intrinsics/x86/sse4-2/crc32-u16.md)     | Starting with the initial value in crc, accumulates a CRC32 value for unsigned 16-bit integer v, and stores the result in dst.                                                            |
| [crc32\_u32](/engine/6000.7/script-reference/unity/burst/intrinsics/x86/sse4-2/crc32-u32.md)     | Starting with the initial value in crc, accumulates a CRC32 value for unsigned 32-bit integer v, and stores the result in dst.                                                            |
| [crc32\_u64](/engine/6000.7/script-reference/unity/burst/intrinsics/x86/sse4-2/crc32-u64.md)     | Starting with the initial value in crc, accumulates a CRC32 value for unsigned 64-bit integer v, and stores the result in dst.                                                            |
| [crc32\_u8](/engine/6000.7/script-reference/unity/burst/intrinsics/x86/sse4-2/crc32-u8.md)       | Starting with the initial value in crc, accumulates a CRC32 value for unsigned 8-bit integer v, and stores the result in dst.                                                             |

## Enums

| Enum                                                                                         | Description                                |
| -------------------------------------------------------------------------------------------- | ------------------------------------------ |
| [X86.Sse4\_2.SIDD](/engine/6000.7/script-reference/unity/burst/intrinsics/x86/sse4-2sidd.md) | Constants for string comparison intrinsics |
