aboutsummaryrefslogtreecommitdiff
path: root/pseudocode/operators/NEGATE.tosac
diff options
context:
space:
mode:
authorKevin Petit <kevin.petit@arm.com>2024-01-16 21:40:08 +0000
committerKevin Petit <kevin.petit@arm.com>2024-01-16 21:40:32 +0000
commit1c16f5447886826cd86d0fe2893dcd193c42dcec (patch)
treeaa0c335dc3d09684d5d98a27b5d20a8ef343ff89 /pseudocode/operators/NEGATE.tosac
parenta7ac313a13f8f82b4b3ca9730bd746392f6600d9 (diff)
downloadspecification-1c16f5447886826cd86d0fe2893dcd193c42dcec.tar.gz
pseudocode: a collection of trivial fixes
- Add missing parenthesis in ARITHMETIC_SHIFT_RIGHT - Add missing semicolons - Remove stray dot in VARIABLE_WRITE Change-Id: I28ab7c80c735995437588fffeffb1f12d112f3ec Signed-off-by: Kevin Petit <kevin.petit@arm.com>
Diffstat (limited to 'pseudocode/operators/NEGATE.tosac')
-rw-r--r--pseudocode/operators/NEGATE.tosac4
1 files changed, 2 insertions, 2 deletions
diff --git a/pseudocode/operators/NEGATE.tosac b/pseudocode/operators/NEGATE.tosac
index 8c235f1..cae57f3 100644
--- a/pseudocode/operators/NEGATE.tosac
+++ b/pseudocode/operators/NEGATE.tosac
@@ -7,8 +7,8 @@
// copies and copies may only be made to the extent permitted
// by a licensing agreement from ARM Limited.
-ERROR_IF(in_out_t != i8_t && input1_zp != 0) // Zero point only for int8_t
-ERROR_IF(in_out_t != i8_t && output_zp != 0) // Zero point only for int8_t
+ERROR_IF(in_out_t != i8_t && input1_zp != 0); // Zero point only for int8_t
+ERROR_IF(in_out_t != i8_t && output_zp != 0); // Zero point only for int8_t
for_each(index in shape) {
in_out_t value1 = tensor_read<in_out_t>(input1, shape, index);
acc_t value = apply_sub_s<acc_t>(sign_extend<acc_t>(value1),