| author | |
| committer | |
| log | b976e89c16b4cfd97986f0dd642f987c9ca6ec64 |
| tree | 877ecaa1dcf3912e2593bea1eb688c0f95d41642 |
| parent | 5837147461a2340c1e250d57fda9566f21322dd5 |
Adds a `@branchHint` to a 1 in 12 branch of the pi/2 remainder calculation.1 files changed, 1 insertions(+), 0 deletions(-)
lib/compiler_rt/rem_pio2_large.zig+1| ... | ... | @@ -356,6 +356,7 @@ pub fn rem_pio2_large(x: []f64, y: []f64, e0: i32, nx: i32, prec: usize) i32 { |
| 356 | 356 | } |
| 357 | 357 | } |
| 358 | 358 | if (q0 > 0) { // rare case: chance is 1 in 12 |
| 359 | @branchHint(.unlikely); | |
| 359 | 360 | switch (q0) { |
| 360 | 361 | 1 => iq[@intCast(jz - 1)] &= 0x7fffff, |
| 361 | 362 | 2 => iq[@intCast(jz - 1)] &= 0x3fffff, |