summaryrefslogtreecommitdiffstats
path: root/third_party/gemmology
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-06-12 05:43:14 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-06-12 05:43:14 +0000
commit8dd16259287f58f9273002717ec4d27e97127719 (patch)
tree3863e62a53829a84037444beab3abd4ed9dfc7d0 /third_party/gemmology
parentReleasing progress-linux version 126.0.1-1~progress7.99u1. (diff)
downloadfirefox-8dd16259287f58f9273002717ec4d27e97127719.tar.xz
firefox-8dd16259287f58f9273002717ec4d27e97127719.zip
Merging upstream version 127.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'third_party/gemmology')
-rw-r--r--third_party/gemmology/gemmology.h9
-rw-r--r--third_party/gemmology/moz.yaml4
2 files changed, 5 insertions, 8 deletions
diff --git a/third_party/gemmology/gemmology.h b/third_party/gemmology/gemmology.h
index eb5ebed3b4..21004d2709 100644
--- a/third_party/gemmology/gemmology.h
+++ b/third_party/gemmology/gemmology.h
@@ -786,7 +786,6 @@ public:
using batch8 = xsimd::batch<int8_t, Arch>;
using batch16 = xsimd::batch<int16_t, Arch>;
using batch32 = xsimd::batch<int32_t, Arch>;
- using ubatch32 = xsimd::batch<uint32_t, Arch>;
// Put higher rows in the second half of the register. These will jumble
// around in the same way then conveniently land in the right place.
@@ -814,7 +813,7 @@ public:
return xsimd::bitwise_cast<int8_t>(
xsimd::swizzle(xsimd::bitwise_cast<int32_t>(packed),
- xsimd::make_batch_constant<ubatch32, Tiler<Arch>>()));
+ xsimd::make_batch_constant<uint32_t, Arch, Tiler<Arch>>()));
} else if constexpr (batchf32::size == 8)
return Tile(quant_mult, input, input + 2 * cols, input + 16 * cols,
input + 18 * cols);
@@ -833,7 +832,6 @@ public:
using batch8 = xsimd::batch<int8_t, Arch>;
using batch16 = xsimd::batch<int16_t, Arch>;
using batch32 = xsimd::batch<int32_t, Arch>;
- using ubatch32 = xsimd::batch<uint32_t, Arch>;
const batch8 neg127(-127);
// Grab 4 registers at a time in 32-bit format.
@@ -857,7 +855,7 @@ public:
// and the values are only used for GEMM.
return xsimd::bitwise_cast<int8_t>(
xsimd::swizzle(xsimd::bitwise_cast<int32_t>(packed),
- xsimd::make_batch_constant<ubatch32, Tiler<Arch>>()));
+ xsimd::make_batch_constant<uint32_t, Arch, Tiler<Arch>>()));
}
private:
@@ -869,7 +867,6 @@ private:
using batch8 = xsimd::batch<int8_t, Arch>;
using batch16 = xsimd::batch<int16_t, Arch>;
using batch32 = xsimd::batch<int32_t, Arch>;
- using ubatch32 = xsimd::batch<uint32_t, Arch>;
const batch8 neg127 = -127;
const batch8 pos127 = +127;
@@ -894,7 +891,7 @@ private:
// and the values are only used for GEMM.
return xsimd::bitwise_cast<uint8_t>(
xsimd::swizzle(xsimd::bitwise_cast<int32_t>(packed),
- xsimd::make_batch_constant<ubatch32, Tiler<Arch>>()));
+ xsimd::make_batch_constant<uint32_t, Arch, Tiler<Arch>>()));
}
};
diff --git a/third_party/gemmology/moz.yaml b/third_party/gemmology/moz.yaml
index 749227e2ee..bb99db1a39 100644
--- a/third_party/gemmology/moz.yaml
+++ b/third_party/gemmology/moz.yaml
@@ -10,8 +10,8 @@ origin:
url: https://github.com/mozilla/gemmology
- release: dbcd029c3bc6e183355ea597216d379677ff9b19 (2024-02-20T12:36:14Z).
- revision: dbcd029c3bc6e183355ea597216d379677ff9b19
+ release: a37d922a88ded67a0b741f16390821000fde99ee (2024-04-17T11:18:45Z).
+ revision: a37d922a88ded67a0b741f16390821000fde99ee
license: MIT