aboutsummaryrefslogtreecommitdiff
path: root/gcc/c
diff options
context:
space:
mode:
authorTakayuki 'January June' Suwa <jjsuwa_sys3175@yahoo.co.jp>2024-05-30 22:32:24 +0900
committerMax Filippov <jcmvbkbc@gmail.com>2024-05-30 23:24:25 -0700
commit1e091097b1b42fed562a6d80a6e08603d1c648a2 (patch)
tree9f87aad127cf5449a8bcc50734b4137795cbdbed /gcc/c
parentd2cfe8a73b3c4195a25cde28e1641ef36ebb08c1 (diff)
downloadgcc-1e091097b1b42fed562a6d80a6e08603d1c648a2.zip
gcc-1e091097b1b42fed562a6d80a6e08603d1c648a2.tar.gz
gcc-1e091097b1b42fed562a6d80a6e08603d1c648a2.tar.bz2
xtensa: Use REG_P(), MEM_P(), etc. instead of comparing GET_CODE()
Instead of comparing directly, this patch replaces as much as possible with macros that determine RTX code such as REG_P(), SUBREG_P() or MEM_P(), etc. gcc/ChangeLog: * config/xtensa/xtensa.cc (xtensa_valid_move, constantpool_address_p, xtensa_tls_symbol_p, gen_int_relational, xtensa_emit_move_sequence, xtensa_copy_incoming_a7, xtensa_expand_block_move, xtensa_expand_nonlocal_goto, xtensa_emit_call, xtensa_legitimate_address_p, xtensa_legitimize_address, xtensa_tls_referenced_p, print_operand, print_operand_address, xtensa_output_literal): Replace RTX code comparisons with their predicate macros such as REG_P(). * config/xtensa/xtensa.h (CONSTANT_ADDRESS_P, LEGITIMATE_PIC_OPERAND_P): Ditto. * config/xtensa/xtensa.md (reload<mode>_literal, indirect_jump): Ditto.
Diffstat (limited to 'gcc/c')
0 files changed, 0 insertions, 0 deletions