Syntax of gfx904 Instructions

Introduction

This document describes the syntax of instructions specific to gfx904.

For a description of other gfx904 instructions see Syntax of Core GFX9 Instructions.

Notation

Notation used in this document is explained here.

Overvew

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_fma_mix_f32                  vdst,     src0:m:fx, src1:m:fx, src2:m:fx      m_op_sel m_op_sel_hi clamp
v_fma_mixhi_f16                vdst,     src0:m:fx, src1:m:fx, src2:m:fx      m_op_sel m_op_sel_hi clamp
v_fma_mixlo_f16                vdst,     src0:m:fx, src1:m:fx, src2:m:fx      m_op_sel m_op_sel_hi clamp