mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-03-31 15:31:11 +08:00
[ARM] Fix CLZ_DEFINED_VALUE_AT_ZERO for vector modes
2014-11-02 Michael Collison <michael.collison@linaro.org> * config/arm/arm.h (CLZ_DEFINED_VALUE_AT_ZERO) : Update to support vector modes. (CTZ_DEFINED_VALUE_AT_ZERO): Ditto. From-SVN: r217014
This commit is contained in:
parent
e82d71d91e
commit
9b227e35bd
@ -1,3 +1,9 @@
|
||||
2014-11-02 Michael Collison <michael.collison@linaro.org>
|
||||
|
||||
* config/arm/arm.h (CLZ_DEFINED_VALUE_AT_ZERO) : Update
|
||||
to support vector modes.
|
||||
(CTZ_DEFINED_VALUE_AT_ZERO): Ditto.
|
||||
|
||||
2014-11-01 Andrew MacLeod <amacleod@redhat,com>
|
||||
|
||||
* optabs.h: Flatten insn-codes.h to source files. Move some prototypes
|
||||
|
@ -2142,9 +2142,10 @@ extern int making_const_table;
|
||||
? reverse_condition_maybe_unordered (code) \
|
||||
: reverse_condition (code))
|
||||
|
||||
/* The arm5 clz instruction returns 32. */
|
||||
#define CLZ_DEFINED_VALUE_AT_ZERO(MODE, VALUE) ((VALUE) = 32, 1)
|
||||
#define CTZ_DEFINED_VALUE_AT_ZERO(MODE, VALUE) ((VALUE) = 32, 1)
|
||||
#define CLZ_DEFINED_VALUE_AT_ZERO(MODE, VALUE) \
|
||||
((VALUE) = GET_MODE_UNIT_BITSIZE (MODE))
|
||||
#define CTZ_DEFINED_VALUE_AT_ZERO(MODE, VALUE) \
|
||||
((VALUE) = GET_MODE_UNIT_BITSIZE (MODE))
|
||||
|
||||
#define CC_STATUS_INIT \
|
||||
do { cfun->machine->thumb1_cc_insn = NULL_RTX; } while (0)
|
||||
|
Loading…
x
Reference in New Issue
Block a user