MCPcopy Create free account
hub / github.com/EricLengyel/Terathon-Math-Library / VecUInt8Load

Function VecUInt8Load

TSSimd.h:2012–2023  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2010 }
2011
2012 inline vec_uint8 VecUInt8Load(const uint8 *ptr)
2013 {
2014 #if defined(TERATHON_SSE)
2015
2016 return (_mm_load_si128(reinterpret_cast<const __m128i *>(ptr)));
2017
2018 #elif defined(TERATHON_NEON)
2019
2020 return (vld1q_u8(ptr));
2021
2022 #endif
2023 }
2024
2025 inline vec_uint8 VecUInt8LoadUnaligned(const uint8 *ptr)
2026 {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected