Syntax of gfx900, gfx902, gfx909 and gfx90c Instructions — LLVM 18.1.8 documentation

# Syntax of gfx900, gfx902, gfx909 and gfx90c Instructions

## Introduction

This document describes the syntax of instructions specific to gfx900, gfx902, gfx909 and gfx90c.

For a description of other gfx900, gfx902, gfx909 and gfx90c instructions see Syntax of Core GFX9 Instructions.

## Notation

Notation used in this document is explained here.

## Overview

An overview of generic syntax and other features of AMDGPU instructions may be found in this document.

## Instructions

### VOP3P

    INSTRUCTION                    DST       SRC0       SRC1       SRC2       MODIFIERS
    ————————————————————————————————————————————————————————————————————————————————————————————————————
    v_mad_mix_f32                  vdst,     src0:m:fx, src1:m:fx, src2:m:fx  m_op_sel m_op_sel_hi clamp
    v_mad_mixhi_f16                vdst,     src0:m:fx, src1:m:fx, src2:m:fx  m_op_sel m_op_sel_hi clamp
    v_mad_mixlo_f16                vdst,     src0:m:fx, src1:m:fx, src2:m:fx  m_op_sel m_op_sel_hi clamp