mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-24 13:21:05 +00:00
Bug 1827727 - Fix building Skia on GCC ARM. r=aosmond,gfx-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D175578
This commit is contained in:
parent
5f37f41db4
commit
1b21d02a37
@ -233,7 +233,7 @@ namespace SK_OPTS_NS {
|
||||
SI F abs_ (F v) { return vabsq_f32(v); }
|
||||
SI I32 abs_ (I32 v) { return vabsq_s32(v); }
|
||||
SI F rcp_fast(F v) { auto e = vrecpeq_f32 (v); return vrecpsq_f32 (v,e ) * e; }
|
||||
SI F rcp_precise (F v) { auto e = rcp_fast(v); return vrecpsq_f32 (v,e ) * F(e); }
|
||||
SI F rcp_precise (F v) { float32x4_t e = rcp_fast(v); return vrecpsq_f32(v,e) * e; }
|
||||
SI F rsqrt (F v) { auto e = vrsqrteq_f32(v); return vrsqrtsq_f32(v,e*e) * e; }
|
||||
|
||||
SI U16 pack(U32 v) { return SK_CONVERTVECTOR(v, U16); }
|
||||
|
Loading…
Reference in New Issue
Block a user