mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-26 09:01:35 +01:00
lang: have hasher_u32.update_u32 take a roslice
This commit is contained in:
1 parent
ea3fbc37f5
commit
29c4122360
11 files changed
+68
-42
No files matched your search
@@ -12,14 +12,14 @@
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
pri func hasher.up_arm_neon!(x: slice base.u8),
|
||||
pri func hasher.up_arm_neon!(x: roslice base.u8),
|
||||
choose cpu_arch >= arm_neon,
|
||||
{
|
||||
// These variables are the same as the non-SIMD version.
|
||||
var s1 : base.u32
|
||||
var s2 : base.u32
|
||||
var remaining : slice base.u8
|
||||
var p : slice base.u8
|
||||
var remaining : roslice base.u8
|
||||
var p : roslice base.u8
|
||||
|
||||
// The remaining variables are specific to the SIMD version.
|
||||
|
||||
|
||||
Reference in new issue
Block a user