Corrected a bug in the SSE version of subtract
This commit is contained in:
parent
32efd60ec9
commit
e07cbf8989
1 changed files with 1 additions and 1 deletions
|
|
@ -535,7 +535,7 @@ void subtract<float, true>(absl::Span<const float> input, absl::Span<float> outp
|
|||
snippetSubtract<float>(in, out);
|
||||
|
||||
while (out < lastAligned) {
|
||||
_mm_store_ps(out, _mm_sub_ps(_mm_load_ps(in), _mm_load_ps(out)));
|
||||
_mm_store_ps(out, _mm_sub_ps(_mm_load_ps(out), _mm_load_ps(in)));
|
||||
out += TypeAlignment;
|
||||
in += TypeAlignment;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue