diff options
author | Robin Dapp <rdapp@ventanamicro.com> | 2023-07-13 09:10:06 +0200 |
---|---|---|
committer | Robin Dapp <rdapp@ventanamicro.com> | 2023-07-24 13:41:23 +0200 |
commit | fe39eca4136bf2f9dc740c05e7957027736fc11b (patch) | |
tree | 56a6a6cd69bd9fce7c6165842cabe07093c0a95e /gcc/tree-vectorizer.h | |
parent | 9f66753ef48f37729a88735ae1a2bf2d2558e69f (diff) | |
download | gcc-fe39eca4136bf2f9dc740c05e7957027736fc11b.zip gcc-fe39eca4136bf2f9dc740c05e7957027736fc11b.tar.gz gcc-fe39eca4136bf2f9dc740c05e7957027736fc11b.tar.bz2 |
vect: Handle demoting FLOAT and promoting FIX_TRUNC.
The recent changes that allowed multi-step conversions for
"non-packing/unpacking", i.e. modifier == NONE targets included
promoting to-float and demoting to-int variants. This patch
adds the missing demoting to-float and promoting to-int handling.
gcc/ChangeLog:
* tree-vect-stmts.cc (vectorizable_conversion): Handle
more demotion/promotion for modifier == NONE.
gcc/testsuite/ChangeLog:
* gcc.target/riscv/rvv/autovec/conversions/vec-narrow-int64-float16.c: New test.
* gcc.target/riscv/rvv/autovec/conversions/vec-widen-float16-int64.c: New test.
Diffstat (limited to 'gcc/tree-vectorizer.h')
0 files changed, 0 insertions, 0 deletions