diff options
author | Kevin Petit <kevin.petit@arm.com> | 2024-02-08 10:29:43 +0000 |
---|---|---|
committer | Kevin Petit <kevin.petit@arm.com> | 2024-02-08 10:29:43 +0000 |
commit | 599de076047aae846fd28cc52a777e4b6e534aaf (patch) | |
tree | b8eab10e9cab319d9023b141480e2cd82486c0af /pseudocode/operators/MUL.tosac | |
parent | c65cd9ccff6000be01ee0742319009f0061879ce (diff) | |
download | specification-599de076047aae846fd28cc52a777e4b6e534aaf.tar.gz |
pseudocode: use function call syntax to call templated functions
Change-Id: I24409a38aaf4818a9ab0abc0cad5c7d052e01bd1
Signed-off-by: Kevin Petit <kevin.petit@arm.com>
Diffstat (limited to 'pseudocode/operators/MUL.tosac')
-rw-r--r-- | pseudocode/operators/MUL.tosac | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pseudocode/operators/MUL.tosac b/pseudocode/operators/MUL.tosac index 5cc9f80..13c4a17 100644 --- a/pseudocode/operators/MUL.tosac +++ b/pseudocode/operators/MUL.tosac @@ -20,7 +20,7 @@ for_each(index in shape) { int64_t product = sign_extend<int64_t>(value1) * sign_extend<int64_t>(value2); int64_t round = static_cast<int64_t>(1) << (shift - 1); product = (product + round) >> shift; - REQUIRE(product >= minimum_s<i32_t> && product <= maximum_s<i32_t>) + REQUIRE(product >= minimum_s<i32_t>() && product <= maximum_s<i32_t>()) result = product; } else { result = apply_mul_s(value1, value2); // low 32-bits of result for i32_t |