diff options
author | TatWai Chong <tatwai.chong@arm.com> | 2024-04-02 15:45:29 -0700 |
---|---|---|
committer | Eric Kunze <eric.kunze@arm.com> | 2024-04-08 17:09:38 +0000 |
commit | 0dac6c90a1ed753d1018077be83941834f937601 (patch) | |
tree | a6c59981ac161d12df7a4deb65bca14905465d4d /verif/generator/tosa_arg_gen.py | |
parent | 129201df8126a16abb0e4fbf7372354021f8a55d (diff) | |
download | reference_model-0dac6c90a1ed753d1018077be83941834f937601.tar.gz |
Fix the wrong QMax and QMin type assignment in rescale op
Signed integer type is used to retain QMax and QMin no matter what
the value of `output_unsigned` is, but the value of QMax and QMin
are unsigned integer when output_unsigned is true.
Also add a handful of arithmetic helpers to align the pseudo code.
Change-Id: Ie3cd444a290ddae08884186cd4b349a88acad032
Signed-off-by: TatWai Chong <tatwai.chong@arm.com>
Diffstat (limited to 'verif/generator/tosa_arg_gen.py')
0 files changed, 0 insertions, 0 deletions