Browse Source

Initialize abs_mask1 with itself to silence a gcc warning

actual initialization is via the _mm_cmpeq_ep18, which I've seen claimed to be the fastest way to set an xmm register to all 1s
tags/v0.3.18
Martin Kroeker GitHub 4 years ago
parent
commit
99aa10b3ff
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      kernel/x86_64/casum_microk_skylakex-2.c

+ 1
- 1
kernel/x86_64/casum_microk_skylakex-2.c View File

@@ -15,7 +15,7 @@ static FLOAT casum_kernel(BLASLONG n, FLOAT *x)
if (n2 < 64) {
__m128 accum_10, accum_11, accum_12, accum_13;
__m128 abs_mask1;
__m128 abs_mask1 = abs_mask1;

accum_10 = _mm_setzero_ps();
accum_11 = _mm_setzero_ps();


Loading…
Cancel
Save