• Ryo Suzuki's avatar
    arm neon qdmlal: fix saturation (#1194) · 69c9cd5c
    Ryo Suzuki authored
    * Fix qdmlal instructions
    
    qdmlal instructions were implemented without saturation.
    This has been fixed by utilising existing SIMDe saturating mult and add instructions.
    Unit tests have been updated to test for all possible saturation cases.
    
    - Fix qdmlal, qdmlal_n, qdmlal_lane,  qdmlal_high, qdmlal_high_n and qdmlal_high_lane
    - Update unit tests for qdmlal, qdmlal_n, qdmlal_lane, qdmlal_high, qdmlal_high_n, qdmala_high_lane
    
    Change-Id: I8d0d8cfba3f8d5203f2028efbe74b00c51485c61
    
    * arm neon qdmlal_high_lane: unroll SIMDE_CONSTIFY for testing macro implemented functions with MSVC
    
    ---------
    Co-authored-by: default avatarMichael R. Crusoe <michael.crusoe@gmail.com>
    69c9cd5c
qdmlal_high_lane.h 3.4 KB