docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method vfmad_laneq_f64

    vfmad_laneq_f64(double, double, v128, int)

    Floating-point fused Multiply-Add to accumulator (by element). This instruction multiplies the vector elements in the first source SIMD&FP register by the specified value in the second source SIMD&FP register, and accumulates the results in the vector elements of the destination SIMD&FP register. All the values in this instruction are floating-point values.This instruction can generate a floating-point exception. Depending on the settings in FPCR, the exception results in either a flag being set in FPSR or a synchronous exception being generated. For more information, see Floating-point exception traps.Depending on the settings in the CPACR_EL1, CPTR_EL2, and CPTR_EL3 registers, and the current Security state and Exception level, an attempt to execute the instruction might be trapped.
    Equivalent instruction: FMLA Dd,Dn,Vm.D[lane]

    Declaration
    public static double vfmad_laneq_f64(double a0, double a1, v128 a2, int a3)
    Parameters
    Type Name Description
    double a0

    Double a0

    double a1

    Double a1

    v128 a2

    128-bit vector a2

    int a3

    Lane index to a2. Must be an immediate in the range of [0..1]

    Returns
    Type Description
    double

    Double

    In This Article
    Back to top
    Copyright © 2025 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)