Displaying 2 results from an estimated 2 matches for "xy_c".
2017 Jun 06
0
celt_inner_prod() and dual_inner_prod() NEON intrinsics
...ank Ulrich!
Yes, using
celt_assert(1.0 + celt_inner_prod_neon_float_c_simulation(x, y, N)
== 1.0 + xy);
celt_assert(1.0 + xy1_c == 1.0 + *xy1);
celt_assert(1.0 + xy2_c == 1.0 + *xy2);
can avoid the useage of VERY_SMALL.
Hi Jean-Marc,
I added
{
const opus_val32 xy_c = celt_inner_prod_neon_float_c_simulation(x,
y, N);
const int32_t *x_bin = (int32_t*)x;
const int32_t *y_bin = (int32_t*)y;
const int32_t *xy_bin = (int32_t*)&xy;
const int32_t *xy_bin_c = (int32_t*)&xy_c;
// if((xy_c != xy) && (xy_c != 0.0) &...
2017 Jun 06
4
Antw: Re: celt_inner_prod() and dual_inner_prod() NEON intrinsics
>>> Linfeng Zhang <linfengz at google.com> schrieb am 06.06.2017 um 06:46 in Nachricht
<CAKoqLCAfj+fDUMLfN4dLNSZ4NNAZpaSt_BWZRp+7XBqfhiSqiQ at mail.gmail.com>:
> Hi Jean-Marc,
>
> I tried "==" before, and it failed when both results are 0.0. Maybe the
> exponent or sign has difference because of the different 0.0 representation
> in NEON. If anybody