comparison gcc/config/msp430/msp430.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 TI MSP43* processors 1 ;; Machine Description for TI MSP43* processors
2 ;; Copyright (C) 2013-2017 Free Software Foundation, Inc. 2 ;; Copyright (C) 2013-2018 Free Software Foundation, Inc.
3 ;; Contributed by Red Hat. 3 ;; Contributed by Red Hat.
4 4
5 ;; This file is part of GCC. 5 ;; This file is part of GCC.
6 6
7 ;; GCC is free software; you can redistribute it and/or modify 7 ;; GCC is free software; you can redistribute it and/or modify
617 ;; patterns. Doing these manually allows for alternate optimization 617 ;; patterns. Doing these manually allows for alternate optimization
618 ;; paths. 618 ;; paths.
619 619
620 (define_insn "zero_extendqisi2" 620 (define_insn "zero_extendqisi2"
621 [(set (match_operand:SI 0 "nonimmediate_operand" "=r") 621 [(set (match_operand:SI 0 "nonimmediate_operand" "=r")
622 (zero_extend:SI (subreg:HI (match_operand:QI 1 "nonimmediate_operand" "rm") 0)))] 622 (zero_extend:SI (match_operand:QI 1 "nonimmediate_operand" "rm")))]
623 "msp430x" 623 ""
624 "MOV.B\t%1,%L0 { CLR\t%H0" 624 "MOV.B\t%1,%L0 { CLR\t%H0"
625 ) 625 )
626 626
627 (define_insn "zero_extendhisi2" 627 (define_insn "zero_extendhisi2"
628 [(set (match_operand:SI 0 "nonimmediate_operand" "=rm,r") 628 [(set (match_operand:SI 0 "nonimmediate_operand" "=rm,r")
629 (zero_extend:SI (match_operand:HI 1 "nonimmediate_operand" "0,r")))] 629 (zero_extend:SI (match_operand:HI 1 "nonimmediate_operand" "0,r")))]
630 "msp430x" 630 ""
631 "@ 631 "@
632 MOV.W\t#0,%H0 632 MOV.W\t#0,%H0
633 MOV.W\t%1,%L0 { MOV.W\t#0,%H0" 633 MOV.W\t%1,%L0 { MOV.W\t#0,%H0"
634 ) 634 )
635 635