diff options
author | John Richardson <john.richardson@arm.com> | 2017-10-02 16:52:16 +0100 |
---|---|---|
committer | Anthony Barbier <anthony.barbier@arm.com> | 2018-11-02 16:35:24 +0000 |
commit | 70f946b02c09632c5b4550939d62840e20a9caa1 (patch) | |
tree | 311b7cbac72850ada6b9a4169643192609eef16e /utils/TypePrinter.h | |
parent | a3b4ce2b848442c4f8bb349307e1fc4a164c3a33 (diff) | |
download | ComputeLibrary-70f946b02c09632c5b4550939d62840e20a9caa1.tar.gz |
COMPMID-489: Move FixedPoint to new validation
Change-Id: Ibb94f44550469ec22553b1f947a7753d3ff90d93
Reviewed-on: http://mpd-gerrit.cambridge.arm.com/90138
Tested-by: Kaizen <jeremy.johnson+kaizengerrit@arm.com>
Reviewed-by: Anthony Barbier <anthony.barbier@arm.com>
Diffstat (limited to 'utils/TypePrinter.h')
-rw-r--r-- | utils/TypePrinter.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/utils/TypePrinter.h b/utils/TypePrinter.h index c955584c76..4f424d9438 100644 --- a/utils/TypePrinter.h +++ b/utils/TypePrinter.h @@ -153,6 +153,15 @@ inline ::std::ostream &operator<<(::std::ostream &os, const FixedPointOp &op) { switch(op) { + case FixedPointOp::ADD: + os << "ADD"; + break; + case FixedPointOp::SUB: + os << "SUB"; + break; + case FixedPointOp::MUL: + os << "MUL"; + break; case FixedPointOp::EXP: os << "EXP"; break; @@ -171,6 +180,7 @@ inline ::std::ostream &operator<<(::std::ostream &os, const FixedPointOp &op) return os; } + inline std::string to_string(const FixedPointOp &op) { std::stringstream str; |