Skip to content

Commit

Permalink
Add missing part of commit 871afcb
Browse files Browse the repository at this point in the history
Change-Id: I87eb43007cc582f6f27803c3534e6c4ae2476872
  • Loading branch information
astojano committed Nov 22, 2018
1 parent 6160bc8 commit a02a00f
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions IGC/BiFModule/Implementation/IGCBiF_Intrinsics.cl
Expand Up @@ -678,5 +678,15 @@ double __builtin_IB_sub_group_scan_OpGroupFAdd_f64(double x) __attribute__((cons
double __builtin_IB_sub_group_scan_OpGroupFMax_f64(double x) __attribute__((const));
double __builtin_IB_sub_group_scan_OpGroupFMin_f64(double x) __attribute__((const));

// The following mul/fma with rtz is used internally for int div/rem emulation
// x * y, using round-to-zero
double __builtin_IB_mul_rtz_f64(double x, double y) __attribute__((const));
float __builtin_IB_mul_rtz_f32(float x, float y) __attribute__((const));
// x * y + z, using round-to-zero
double __builtin_IB_fma_rtz_f64(double x, double y, double z) __attribute__((const));
float __builtin_IB_fma_rtz_f32(float x, float y, float z) __attribute__((const));
// x + y, using round-to-zero
double __builtin_IB_add_rtz_f64(double x, double y) __attribute__((const));
float __builtin_IB_add_rtz_f32(float x, float y) __attribute__((const));

#endif // IGCBIF_INTRINSICS_CL

0 comments on commit a02a00f

Please sign in to comment.