aboutsummaryrefslogtreecommitdiff
path: root/core/hash
diff options
context:
space:
mode:
Diffstat (limited to 'core/hash')
-rw-r--r--core/hash/crc32.odin2
-rw-r--r--core/hash/hash.odin2
-rw-r--r--core/hash/xxhash/common.odin4
-rw-r--r--core/hash/xxhash/streaming.odin2
-rw-r--r--core/hash/xxhash/xxhash_3.odin2
-rw-r--r--core/hash/xxhash/xxhash_32.odin2
-rw-r--r--core/hash/xxhash/xxhash_64.odin2
7 files changed, 8 insertions, 8 deletions
diff --git a/core/hash/crc32.odin b/core/hash/crc32.odin
index fead4d74f..761444676 100644
--- a/core/hash/crc32.odin
+++ b/core/hash/crc32.odin
@@ -1,6 +1,6 @@
package hash
-import "core:intrinsics"
+import "base:intrinsics"
@(optimization_mode="speed")
crc32 :: proc(data: []byte, seed := u32(0)) -> u32 #no_bounds_check {
diff --git a/core/hash/hash.odin b/core/hash/hash.odin
index 176d17141..ea99b630c 100644
--- a/core/hash/hash.odin
+++ b/core/hash/hash.odin
@@ -1,7 +1,7 @@
package hash
import "core:mem"
-import "core:intrinsics"
+import "base:intrinsics"
@(optimization_mode="speed")
adler32 :: proc(data: []byte, seed := u32(1)) -> u32 #no_bounds_check {
diff --git a/core/hash/xxhash/common.odin b/core/hash/xxhash/common.odin
index 8b34c1e8f..faf88e0d4 100644
--- a/core/hash/xxhash/common.odin
+++ b/core/hash/xxhash/common.odin
@@ -9,8 +9,8 @@
*/
package xxhash
-import "core:intrinsics"
-import "core:runtime"
+import "base:intrinsics"
+import "base:runtime"
mem_copy :: runtime.mem_copy
byte_swap :: intrinsics.byte_swap
diff --git a/core/hash/xxhash/streaming.odin b/core/hash/xxhash/streaming.odin
index 6f630b042..07744a12b 100644
--- a/core/hash/xxhash/streaming.odin
+++ b/core/hash/xxhash/streaming.odin
@@ -10,7 +10,7 @@
package xxhash
import "core:mem"
-import "core:intrinsics"
+import "base:intrinsics"
/*
=== XXH3 128-bit streaming ===
diff --git a/core/hash/xxhash/xxhash_3.odin b/core/hash/xxhash/xxhash_3.odin
index fa50075f9..611f4dc9f 100644
--- a/core/hash/xxhash/xxhash_3.odin
+++ b/core/hash/xxhash/xxhash_3.odin
@@ -9,7 +9,7 @@
*/
package xxhash
-import "core:intrinsics"
+import "base:intrinsics"
/*
*************************************************************************
diff --git a/core/hash/xxhash/xxhash_32.odin b/core/hash/xxhash/xxhash_32.odin
index 5bc87c2c0..2f27118f2 100644
--- a/core/hash/xxhash/xxhash_32.odin
+++ b/core/hash/xxhash/xxhash_32.odin
@@ -9,7 +9,7 @@
*/
package xxhash
-import "core:intrinsics"
+import "base:intrinsics"
/*
32-bit hash functions
diff --git a/core/hash/xxhash/xxhash_64.odin b/core/hash/xxhash/xxhash_64.odin
index 9280e9c59..b274da374 100644
--- a/core/hash/xxhash/xxhash_64.odin
+++ b/core/hash/xxhash/xxhash_64.odin
@@ -9,7 +9,7 @@
*/
package xxhash
-import "core:intrinsics"
+import "base:intrinsics"
/*
64-bit hash functions