Comparison Instructions
315 AMDGPU instructions in this category - showing 100 per page, page 3 of 4 - click any row for encoding, pseudocode, and full documentation.
| Mnemonic | Syntax | Format | Summary |
|---|---|---|---|
| v_cmpsx_ngt_f64 | v_cmpsx_ngt_f64 | VOPC | AMDGPU VOPC vector instruction operating on f64 data. (Format and name extracted from LLVM's AMDGPU backend source - semantics not yet curated.) |
| v_cmpsx_nle_f32 | v_cmpsx_nle_f32 | VOPC | AMDGPU VOPC vector instruction operating on f32 data. (Format and name extracted from LLVM's AMDGPU backend source - semantics not yet curated.) |
| v_cmpsx_nle_f64 | v_cmpsx_nle_f64 | VOPC | AMDGPU VOPC vector instruction operating on f64 data. (Format and name extracted from LLVM's AMDGPU backend source - semantics not yet curated.) |
| v_cmpsx_nlg_f32 | v_cmpsx_nlg_f32 | VOPC | AMDGPU VOPC vector instruction operating on f32 data. (Format and name extracted from LLVM's AMDGPU backend source - semantics not yet curated.) |
| v_cmpsx_nlg_f64 | v_cmpsx_nlg_f64 | VOPC | AMDGPU VOPC vector instruction operating on f64 data. (Format and name extracted from LLVM's AMDGPU backend source - semantics not yet curated.) |
| v_cmpsx_nlt_f32 | v_cmpsx_nlt_f32 | VOPC | AMDGPU VOPC vector instruction operating on f32 data. (Format and name extracted from LLVM's AMDGPU backend source - semantics not yet curated.) |
| v_cmpsx_nlt_f64 | v_cmpsx_nlt_f64 | VOPC | AMDGPU VOPC vector instruction operating on f64 data. (Format and name extracted from LLVM's AMDGPU backend source - semantics not yet curated.) |
| v_cmpsx_o_f32 | v_cmpsx_o_f32 | VOPC | AMDGPU VOPC vector instruction operating on f32 data. (Format and name extracted from LLVM's AMDGPU backend source - semantics not yet curated.) |
| v_cmpsx_o_f64 | v_cmpsx_o_f64 | VOPC | AMDGPU VOPC vector instruction operating on f64 data. (Format and name extracted from LLVM's AMDGPU backend source - semantics not yet curated.) |
| v_cmpsx_tru_f32 | v_cmpsx_tru_f32 | VOPC | AMDGPU VOPC vector instruction operating on f32 data. (Format and name extracted from LLVM's AMDGPU backend source - semantics not yet curated.) |
| v_cmpsx_tru_f64 | v_cmpsx_tru_f64 | VOPC | AMDGPU VOPC vector instruction operating on f64 data. (Format and name extracted from LLVM's AMDGPU backend source - semantics not yet curated.) |
| v_cmpsx_u_f32 | v_cmpsx_u_f32 | VOPC | AMDGPU VOPC vector instruction operating on f32 data. (Format and name extracted from LLVM's AMDGPU backend source - semantics not yet curated.) |
| v_cmpsx_u_f64 | v_cmpsx_u_f64 | VOPC | AMDGPU VOPC vector instruction operating on f64 data. (Format and name extracted from LLVM's AMDGPU backend source - semantics not yet curated.) |
| v_cmpx_class_f16 | v_cmpx_class_f16 | VOPC | Evaluate the IEEE numeric class function specified as a 10 bit mask in the second input on the first input, a half-precision float, and set the… |
| v_cmpx_class_f32 | v_cmpx_class_f32 | VOPC | Evaluate the IEEE numeric class function specified as a 10 bit mask in the second input on the first input, a single-precision float, and set the… |
| v_cmpx_class_f64 | v_cmpx_class_f64 | VOPC | Evaluate the IEEE numeric class function specified as a 10 bit mask in the second input on the first input, a double-precision float, and set the… |
| v_cmpx_eq_f16 | v_cmpx_eq_f16 | VOPC | Set the per-lane condition code to 1 iff the first input is equal to the second input. |
| v_cmpx_eq_f32 | v_cmpx_eq_f32 | VOPC | Set the per-lane condition code to 1 iff the first input is equal to the second input. |
| v_cmpx_eq_f64 | v_cmpx_eq_f64 | VOPC | Set the per-lane condition code to 1 iff the first input is equal to the second input. |
| v_cmpx_eq_i16 | v_cmpx_eq_i16 | VOPC | Set the per-lane condition code to 1 iff the first input is equal to the second input. |
| v_cmpx_eq_i32 | v_cmpx_eq_i32 | VOPC | Set the per-lane condition code to 1 iff the first input is equal to the second input. |
| v_cmpx_eq_i64 | v_cmpx_eq_i64 | VOPC | Set the per-lane condition code to 1 iff the first input is equal to the second input. |
| v_cmpx_eq_u16 | v_cmpx_eq_u16 | VOPC | Set the per-lane condition code to 1 iff the first input is equal to the second input. |
| v_cmpx_eq_u32 | v_cmpx_eq_u32 | VOPC | Set the per-lane condition code to 1 iff the first input is equal to the second input. |
| v_cmpx_eq_u64 | v_cmpx_eq_u64 | VOPC | Set the per-lane condition code to 1 iff the first input is equal to the second input. |
| v_cmpx_f_f16 | v_cmpx_f_f16 | VOPC | Set the per-lane condition code to 0. Store the result into the EXEC mask and to VCC or a scalar register. |
| v_cmpx_f_f32 | v_cmpx_f_f32 | VOPC | Set the per-lane condition code to 0. Store the result into the EXEC mask and to VCC or a scalar register. |
| v_cmpx_f_f64 | v_cmpx_f_f64 | VOPC | Set the per-lane condition code to 0. Store the result into the EXEC mask and to VCC or a scalar register. |
| v_cmpx_f_i16 | v_cmpx_f_i16 | VOPC | Set the per-lane condition code to 0. Store the result into the EXEC mask and to VCC or a scalar register. |
| v_cmpx_f_i32 | v_cmpx_f_i32 | VOPC | Set the per-lane condition code to 0. Store the result into the EXEC mask and to VCC or a scalar register. |
| v_cmpx_f_i64 | v_cmpx_f_i64 | VOPC | Set the per-lane condition code to 0. Store the result into the EXEC mask and to VCC or a scalar register. |
| v_cmpx_f_u16 | v_cmpx_f_u16 | VOPC | Set the per-lane condition code to 0. Store the result into the EXEC mask and to VCC or a scalar register. |
| v_cmpx_f_u32 | v_cmpx_f_u32 | VOPC | Set the per-lane condition code to 0. Store the result into the EXEC mask and to VCC or a scalar register. |
| v_cmpx_f_u64 | v_cmpx_f_u64 | VOPC | Set the per-lane condition code to 0. Store the result into the EXEC mask and to VCC or a scalar register. |
| v_cmpx_ge_f16 | v_cmpx_ge_f16 | VOPC | Set the per-lane condition code to 1 iff the first input is greater than or equal to the second input. |
| v_cmpx_ge_f32 | v_cmpx_ge_f32 | VOPC | Set the per-lane condition code to 1 iff the first input is greater than or equal to the second input. |
| v_cmpx_ge_f64 | v_cmpx_ge_f64 | VOPC | Set the per-lane condition code to 1 iff the first input is greater than or equal to the second input. |
| v_cmpx_ge_i16 | v_cmpx_ge_i16 | VOPC | Set the per-lane condition code to 1 iff the first input is greater than or equal to the second input. |
| v_cmpx_ge_i32 | v_cmpx_ge_i32 | VOPC | Set the per-lane condition code to 1 iff the first input is greater than or equal to the second input. |
| v_cmpx_ge_i64 | v_cmpx_ge_i64 | VOPC | Set the per-lane condition code to 1 iff the first input is greater than or equal to the second input. |
| v_cmpx_ge_u16 | v_cmpx_ge_u16 | VOPC | Set the per-lane condition code to 1 iff the first input is greater than or equal to the second input. |
| v_cmpx_ge_u32 | v_cmpx_ge_u32 | VOPC | Set the per-lane condition code to 1 iff the first input is greater than or equal to the second input. |
| v_cmpx_ge_u64 | v_cmpx_ge_u64 | VOPC | Set the per-lane condition code to 1 iff the first input is greater than or equal to the second input. |
| v_cmpx_gt_f16 | v_cmpx_gt_f16 | VOPC | Set the per-lane condition code to 1 iff the first input is greater than the second input. |
| v_cmpx_gt_f32 | v_cmpx_gt_f32 | VOPC | Set the per-lane condition code to 1 iff the first input is greater than the second input. |
| v_cmpx_gt_f64 | v_cmpx_gt_f64 | VOPC | Set the per-lane condition code to 1 iff the first input is greater than the second input. |
| v_cmpx_gt_i16 | v_cmpx_gt_i16 | VOPC | Set the per-lane condition code to 1 iff the first input is greater than the second input. |
| v_cmpx_gt_i32 | v_cmpx_gt_i32 | VOPC | Set the per-lane condition code to 1 iff the first input is greater than the second input. |
| v_cmpx_gt_i64 | v_cmpx_gt_i64 | VOPC | Set the per-lane condition code to 1 iff the first input is greater than the second input. |
| v_cmpx_gt_u16 | v_cmpx_gt_u16 | VOPC | Set the per-lane condition code to 1 iff the first input is greater than the second input. |
| v_cmpx_gt_u32 | v_cmpx_gt_u32 | VOPC | Set the per-lane condition code to 1 iff the first input is greater than the second input. |
| v_cmpx_gt_u64 | v_cmpx_gt_u64 | VOPC | Set the per-lane condition code to 1 iff the first input is greater than the second input. |
| v_cmpx_le_f16 | v_cmpx_le_f16 | VOPC | Set the per-lane condition code to 1 iff the first input is less than or equal to the second input. |
| v_cmpx_le_f32 | v_cmpx_le_f32 | VOPC | Set the per-lane condition code to 1 iff the first input is less than or equal to the second input. |
| v_cmpx_le_f64 | v_cmpx_le_f64 | VOPC | Set the per-lane condition code to 1 iff the first input is less than or equal to the second input. |
| v_cmpx_le_i16 | v_cmpx_le_i16 | VOPC | Set the per-lane condition code to 1 iff the first input is less than or equal to the second input. |
| v_cmpx_le_i32 | v_cmpx_le_i32 | VOPC | Set the per-lane condition code to 1 iff the first input is less than or equal to the second input. |
| v_cmpx_le_i64 | v_cmpx_le_i64 | VOPC | Set the per-lane condition code to 1 iff the first input is less than or equal to the second input. |
| v_cmpx_le_u16 | v_cmpx_le_u16 | VOPC | Set the per-lane condition code to 1 iff the first input is less than or equal to the second input. |
| v_cmpx_le_u32 | v_cmpx_le_u32 | VOPC | Set the per-lane condition code to 1 iff the first input is less than or equal to the second input. |
| v_cmpx_le_u64 | v_cmpx_le_u64 | VOPC | Set the per-lane condition code to 1 iff the first input is less than or equal to the second input. |
| v_cmpx_lg_f16 | v_cmpx_lg_f16 | VOPC | Set the per-lane condition code to 1 iff the first input is less than or greater than the second input. |
| v_cmpx_lg_f32 | v_cmpx_lg_f32 | VOPC | Set the per-lane condition code to 1 iff the first input is less than or greater than the second input. |
| v_cmpx_lg_f64 | v_cmpx_lg_f64 | VOPC | Set the per-lane condition code to 1 iff the first input is less than or greater than the second input. |
| v_cmpx_lt_f16 | v_cmpx_lt_f16 | VOPC | Set the per-lane condition code to 1 iff the first input is less than the second input. |
| v_cmpx_lt_f32 | v_cmpx_lt_f32 | VOPC | Set the per-lane condition code to 1 iff the first input is less than the second input. |
| v_cmpx_lt_f64 | v_cmpx_lt_f64 | VOPC | Set the per-lane condition code to 1 iff the first input is less than the second input. |
| v_cmpx_lt_i16 | v_cmpx_lt_i16 | VOPC | Set the per-lane condition code to 1 iff the first input is less than the second input. |
| v_cmpx_lt_i32 | v_cmpx_lt_i32 | VOPC | Set the per-lane condition code to 1 iff the first input is less than the second input. |
| v_cmpx_lt_i64 | v_cmpx_lt_i64 | VOPC | Set the per-lane condition code to 1 iff the first input is less than the second input. |
| v_cmpx_lt_u16 | v_cmpx_lt_u16 | VOPC | Set the per-lane condition code to 1 iff the first input is less than the second input. |
| v_cmpx_lt_u32 | v_cmpx_lt_u32 | VOPC | Set the per-lane condition code to 1 iff the first input is less than the second input. |
| v_cmpx_lt_u64 | v_cmpx_lt_u64 | VOPC | Set the per-lane condition code to 1 iff the first input is less than the second input. |
| v_cmpx_ne_i16 | v_cmpx_ne_i16 | VOPC | Set the per-lane condition code to 1 iff the first input is not equal to the second input. |
| v_cmpx_ne_i32 | v_cmpx_ne_i32 | VOPC | Set the per-lane condition code to 1 iff the first input is not equal to the second input. |
| v_cmpx_ne_i64 | v_cmpx_ne_i64 | VOPC | Set the per-lane condition code to 1 iff the first input is not equal to the second input. |
| v_cmpx_ne_u16 | v_cmpx_ne_u16 | VOPC | Set the per-lane condition code to 1 iff the first input is not equal to the second input. |
| v_cmpx_ne_u32 | v_cmpx_ne_u32 | VOPC | Set the per-lane condition code to 1 iff the first input is not equal to the second input. |
| v_cmpx_ne_u64 | v_cmpx_ne_u64 | VOPC | Set the per-lane condition code to 1 iff the first input is not equal to the second input. |
| v_cmpx_neq_f16 | v_cmpx_neq_f16 | VOPC | Set the per-lane condition code to 1 iff the first input is not equal to the second input. |
| v_cmpx_neq_f32 | v_cmpx_neq_f32 | VOPC | Set the per-lane condition code to 1 iff the first input is not equal to the second input. |
| v_cmpx_neq_f64 | v_cmpx_neq_f64 | VOPC | Set the per-lane condition code to 1 iff the first input is not equal to the second input. |
| v_cmpx_nge_f16 | v_cmpx_nge_f16 | VOPC | Set the per-lane condition code to 1 iff the first input is not greater than or equal to the second input. |
| v_cmpx_nge_f32 | v_cmpx_nge_f32 | VOPC | Set the per-lane condition code to 1 iff the first input is not greater than or equal to the second input. |
| v_cmpx_nge_f64 | v_cmpx_nge_f64 | VOPC | Set the per-lane condition code to 1 iff the first input is not greater than or equal to the second input. |
| v_cmpx_ngt_f16 | v_cmpx_ngt_f16 | VOPC | Set the per-lane condition code to 1 iff the first input is not greater than the second input. |
| v_cmpx_ngt_f32 | v_cmpx_ngt_f32 | VOPC | Set the per-lane condition code to 1 iff the first input is not greater than the second input. |
| v_cmpx_ngt_f64 | v_cmpx_ngt_f64 | VOPC | Set the per-lane condition code to 1 iff the first input is not greater than the second input. |
| v_cmpx_nle_f16 | v_cmpx_nle_f16 | VOPC | Set the per-lane condition code to 1 iff the first input is not less than or equal to the second input. |
| v_cmpx_nle_f32 | v_cmpx_nle_f32 | VOPC | Set the per-lane condition code to 1 iff the first input is not less than or equal to the second input. |
| v_cmpx_nle_f64 | v_cmpx_nle_f64 | VOPC | Set the per-lane condition code to 1 iff the first input is not less than or equal to the second input. |
| v_cmpx_nlg_f16 | v_cmpx_nlg_f16 | VOPC | Set the per-lane condition code to 1 iff the first input is not less than or greater than the second input. |
| v_cmpx_nlg_f32 | v_cmpx_nlg_f32 | VOPC | Set the per-lane condition code to 1 iff the first input is not less than or greater than the second input. |
| v_cmpx_nlg_f64 | v_cmpx_nlg_f64 | VOPC | Set the per-lane condition code to 1 iff the first input is not less than or greater than the second input. |
| v_cmpx_nlt_f16 | v_cmpx_nlt_f16 | VOPC | Set the per-lane condition code to 1 iff the first input is not less than the second input. |
| v_cmpx_nlt_f32 | v_cmpx_nlt_f32 | VOPC | Set the per-lane condition code to 1 iff the first input is not less than the second input. |
| v_cmpx_nlt_f64 | v_cmpx_nlt_f64 | VOPC | Set the per-lane condition code to 1 iff the first input is not less than the second input. |
| v_cmpx_o_f16 | v_cmpx_o_f16 | VOPC | Set the per-lane condition code to 1 iff the first input is orderable to the second input. |
| v_cmpx_o_f32 | v_cmpx_o_f32 | VOPC | Set the per-lane condition code to 1 iff the first input is orderable to the second input. |
| v_cmpx_o_f64 | v_cmpx_o_f64 | VOPC | Set the per-lane condition code to 1 iff the first input is orderable to the second input. |