Le 22 février 2024 05:04:58 GMT+02:00, flow gg a écrit :
>.macro vabsaddu dst src tmp
>- vneg.v \tmp, \src
>- vmax.vv \tmp, \src, \tmp
>+ vfabs.v \tmp, \src
>vwaddu.wv \dst, \dst, \tmp
>.endm
>
>After making this change, the test
.macro vabsaddu dst src tmp
- vneg.v \tmp, \src
- vmax.vv \tmp, \src, \tmp
+ vfabs.v \tmp, \src
vwaddu.wv \dst, \dst, \tmp
.endm
After making this change, the tests did not pass. I'm not quite clear on
how to understand the differe
Le tiistaina 6. helmikuuta 2024, 17.56.32 EET flow gg a écrit :
>
Did you try to compute integral absolute values with the ad-hoc (floating
point) instruction instead of vneg/vmax? It should work since the sign is in
the same place, though I don't know if it will be faster.
--
レミ・デニ-クールモン
htt