diff options
author | Christophe Lyon <christophe.lyon@arm.com> | 2023-02-20 14:04:29 +0000 |
---|---|---|
committer | Christophe Lyon <christophe.lyon@arm.com> | 2023-05-03 16:58:27 +0200 |
commit | 566094741d98ba746f37a651e30d60595f57c11e (patch) | |
tree | f69b71b87a63fb17b6fb7f21112e227a0a52cff5 /gcc/config/arm/arm-mve-builtins.cc | |
parent | 632f70d8652b806d0390e37d1a6f1bc0a25ce238 (diff) | |
download | gcc-566094741d98ba746f37a651e30d60595f57c11e.zip gcc-566094741d98ba746f37a651e30d60595f57c11e.tar.gz gcc-566094741d98ba746f37a651e30d60595f57c11e.tar.bz2 |
arm: [MVE intrinsics] add binary_orrq shape
patch adds the binary_orrq shape description.
MODE_n intrinsics use a set of predicates (preds_m_or_none) different
the MODE_none ones, so we explicitly reference preds_m_or_none from
the shape, thus we need to make it a global array.
2022-09-08 Christophe Lyon <christophe.lyon@arm.com>
gcc/
* config/arm/arm-mve-builtins-shapes.cc (binary_orrq): New.
* config/arm/arm-mve-builtins-shapes.h (binary_orrq): New.
* config/arm/arm-mve-builtins.cc (preds_m_or_none): Remove static.
* config/arm/arm-mve-builtins.h (preds_m_or_none): Declare.
Diffstat (limited to 'gcc/config/arm/arm-mve-builtins.cc')
-rw-r--r-- | gcc/config/arm/arm-mve-builtins.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/config/arm/arm-mve-builtins.cc b/gcc/config/arm/arm-mve-builtins.cc index e409a02..c74e890 100644 --- a/gcc/config/arm/arm-mve-builtins.cc +++ b/gcc/config/arm/arm-mve-builtins.cc @@ -285,7 +285,7 @@ static const predication_index preds_none[] = { PRED_none, NUM_PREDS }; /* Used by functions that have the m (merging) predicated form, and in addition have an unpredicated form. */ -static const predication_index preds_m_or_none[] = { +const predication_index preds_m_or_none[] = { PRED_m, PRED_none, NUM_PREDS }; |