Mercurial > hg > CbC > CbC_gcc
comparison gcc/config/mcore/mcore.md @ 67:f6334be47118
update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
author | nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp> |
---|---|
date | Tue, 22 Mar 2011 17:18:12 +0900 |
parents | 77e2b8dfacca |
children | 04ced10e8804 |
comparison
equal
deleted
inserted
replaced
65:65488c3d617d | 67:f6334be47118 |
---|---|
1 ;; Machine description the Motorola MCore | 1 ;; Machine description the Motorola MCore |
2 ;; Copyright (C) 1993, 1999, 2000, 2004, 2005, 2007 | 2 ;; Copyright (C) 1993, 1999, 2000, 2004, 2005, 2007, 2009, 2010 |
3 ;; Free Software Foundation, Inc. | 3 ;; Free Software Foundation, Inc. |
4 ;; Contributed by Motorola. | 4 ;; Contributed by Motorola. |
5 | 5 |
6 ;; This file is part of GCC. | 6 ;; This file is part of GCC. |
7 | 7 |
52 (define_insn_reservation "memory" 2 | 52 (define_insn_reservation "memory" 2 |
53 (eq_attr "type" "load") | 53 (eq_attr "type" "load") |
54 "nothing") | 54 "nothing") |
55 | 55 |
56 (include "predicates.md") | 56 (include "predicates.md") |
57 (include "constraints.md") | |
57 | 58 |
58 ;; ------------------------------------------------------------------------- | 59 ;; ------------------------------------------------------------------------- |
59 ;; Test and bit test | 60 ;; Test and bit test |
60 ;; ------------------------------------------------------------------------- | 61 ;; ------------------------------------------------------------------------- |
61 | 62 |
695 (plus:SI (match_operand:SI 1 "mcore_arith_reg_operand" "") | 696 (plus:SI (match_operand:SI 1 "mcore_arith_reg_operand" "") |
696 (match_operand:SI 2 "nonmemory_operand" "")))] | 697 (match_operand:SI 2 "nonmemory_operand" "")))] |
697 "" | 698 "" |
698 " | 699 " |
699 { | 700 { |
700 extern int flag_omit_frame_pointer; | |
701 | |
702 /* If this is an add to the frame pointer, then accept it as is so | 701 /* If this is an add to the frame pointer, then accept it as is so |
703 that we can later fold in the fp/sp offset from frame pointer | 702 that we can later fold in the fp/sp offset from frame pointer |
704 elimination. */ | 703 elimination. */ |
705 if (flag_omit_frame_pointer | 704 if (flag_omit_frame_pointer |
706 && GET_CODE (operands[1]) == REG | 705 && GET_CODE (operands[1]) == REG |