diff options
author | Brendan Dahl <brendan.dahl@gmail.com> | 2024-08-09 09:13:33 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-08-09 09:13:33 -0700 |
commit | b3e22d29451fbf52521d59ea34e8a5d735c4149c (patch) | |
tree | 034a8d510b7d6fa7589115ac2a046b11585390ce /src/passes/Print.cpp | |
parent | d945aa489a1ad62c130e04ceea8492c7a728ab57 (diff) | |
download | binaryen-b3e22d29451fbf52521d59ea34e8a5d735c4149c.tar.gz binaryen-b3e22d29451fbf52521d59ea34e8a5d735c4149c.tar.bz2 binaryen-b3e22d29451fbf52521d59ea34e8a5d735c4149c.zip |
[FP16] Implement relation operations. (#6825)
Specified at
https://github.com/WebAssembly/half-precision/blob/main/proposals/half-precision/Overview.md
Diffstat (limited to 'src/passes/Print.cpp')
-rw-r--r-- | src/passes/Print.cpp | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/src/passes/Print.cpp b/src/passes/Print.cpp index fd22f1b71..5c83e89f1 100644 --- a/src/passes/Print.cpp +++ b/src/passes/Print.cpp @@ -1689,6 +1689,24 @@ struct PrintExpressionContents case GeSVecI64x2: o << "i64x2.ge_s"; break; + case EqVecF16x8: + o << "f16x8.eq"; + break; + case NeVecF16x8: + o << "f16x8.ne"; + break; + case LtVecF16x8: + o << "f16x8.lt"; + break; + case GtVecF16x8: + o << "f16x8.gt"; + break; + case LeVecF16x8: + o << "f16x8.le"; + break; + case GeVecF16x8: + o << "f16x8.ge"; + break; case EqVecF32x4: o << "f32x4.eq"; break; |