File tree Expand file tree Collapse file tree 1 file changed +10
-0
lines changed
IGC/BiFModule/Implementation Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -678,5 +678,15 @@ double __builtin_IB_sub_group_scan_OpGroupFAdd_f64(double x) __attribute__((cons
678
678
double __builtin_IB_sub_group_scan_OpGroupFMax_f64 (double x ) __attribute__((const ));
679
679
double __builtin_IB_sub_group_scan_OpGroupFMin_f64 (double x ) __attribute__((const ));
680
680
681
+ // The following mul/fma with rtz is used internally for int div/rem emulation
682
+ // x * y, using round-to-zero
683
+ double __builtin_IB_mul_rtz_f64 (double x , double y ) __attribute__((const ));
684
+ float __builtin_IB_mul_rtz_f32 (float x , float y ) __attribute__((const ));
685
+ // x * y + z, using round-to-zero
686
+ double __builtin_IB_fma_rtz_f64 (double x , double y , double z ) __attribute__((const ));
687
+ float __builtin_IB_fma_rtz_f32 (float x , float y , float z ) __attribute__((const ));
688
+ // x + y, using round-to-zero
689
+ double __builtin_IB_add_rtz_f64 (double x , double y ) __attribute__((const ));
690
+ float __builtin_IB_add_rtz_f32 (float x , float y ) __attribute__((const ));
681
691
682
692
#endif // IGCBIF_INTRINSICS_CL
You can’t perform that action at this time.
0 commit comments