comparison gcc/config/avr/avr.md @ 131:84e7813d76e9

gcc-8.2
author mir3636
date Thu, 25 Oct 2018 07:37:49 +0900
parents 04ced10e8804
children 1830386684a0
comparison
equal deleted inserted replaced
111:04ced10e8804 131:84e7813d76e9
1 ;; Machine description for GNU compiler, 1 ;; Machine description for GNU compiler,
2 ;; for ATMEL AVR micro controllers. 2 ;; for ATMEL AVR micro controllers.
3 ;; Copyright (C) 1998-2017 Free Software Foundation, Inc. 3 ;; Copyright (C) 1998-2018 Free Software Foundation, Inc.
4 ;; Contributed by Denis Chertykov (chertykov@gmail.com) 4 ;; Contributed by Denis Chertykov (chertykov@gmail.com)
5 5
6 ;; This file is part of GCC. 6 ;; This file is part of GCC.
7 7
8 ;; GCC is free software; you can redistribute it and/or modify 8 ;; GCC is free software; you can redistribute it and/or modify
3366 (define_split 3366 (define_split
3367 [(set (match_operand:HI 0 "register_operand") 3367 [(set (match_operand:HI 0 "register_operand")
3368 (match_operand:HI 1 "reg_or_0_operand"))] 3368 (match_operand:HI 1 "reg_or_0_operand"))]
3369 "optimize 3369 "optimize
3370 && reload_completed 3370 && reload_completed
3371 && GENERAL_REG_P (operands[0])
3372 && (operands[1] == const0_rtx || GENERAL_REG_P (operands[1]))
3371 && (!AVR_HAVE_MOVW 3373 && (!AVR_HAVE_MOVW
3372 || const0_rtx == operands[1])" 3374 || const0_rtx == operands[1])"
3373 [(set (match_dup 2) (match_dup 3)) 3375 [(set (match_dup 2) (match_dup 3))
3374 (set (match_dup 4) (match_dup 5))] 3376 (set (match_dup 4) (match_dup 5))]
3375 { 3377 {