Mercurial > hg > CbC > CbC_gcc
comparison gcc/config/mips/mips.md @ 63:b7f97abdc517 gcc-4.6-20100522
update gcc from gcc-4.5.0 to gcc-4.6
author | ryoma <e075725@ie.u-ryukyu.ac.jp> |
---|---|
date | Mon, 24 May 2010 12:47:05 +0900 |
parents | 77e2b8dfacca |
children | f6334be47118 |
comparison
equal
deleted
inserted
replaced
56:3c8a44c06a95 | 63:b7f97abdc517 |
---|---|
1 ;; Mips.md Machine Description for MIPS based processors | 1 ;; Mips.md Machine Description for MIPS based processors |
2 ;; Copyright (C) 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, | 2 ;; Copyright (C) 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, |
3 ;; 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 | 3 ;; 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 |
4 ;; Free Software Foundation, Inc. | 4 ;; Free Software Foundation, Inc. |
5 ;; Contributed by A. Lichnewsky, lich@inria.inria.fr | 5 ;; Contributed by A. Lichnewsky, lich@inria.inria.fr |
6 ;; Changes by Michael Meissner, meissner@osf.org | 6 ;; Changes by Michael Meissner, meissner@osf.org |
7 ;; 64-bit r4000 support by Ian Lance Taylor, ian@cygnus.com, and | 7 ;; 64-bit r4000 support by Ian Lance Taylor, ian@cygnus.com, and |
8 ;; Brendan Eich, brendan@microunity.com. | 8 ;; Brendan Eich, brendan@microunity.com. |
2886 "TARGET_64BIT && !TARGET_MIPS16" | 2886 "TARGET_64BIT && !TARGET_MIPS16" |
2887 "dsra\t%0,%1,32" | 2887 "dsra\t%0,%1,32" |
2888 [(set_attr "type" "shift") | 2888 [(set_attr "type" "shift") |
2889 (set_attr "mode" "<MODE>")]) | 2889 (set_attr "mode" "<MODE>")]) |
2890 | 2890 |
2891 ;; Logical shift by 32 or more results in proper SI values so | 2891 ;; Logical shift by more than 32 results in proper SI values so truncation is |
2892 ;; truncation is removed by the middle end. | 2892 ;; removed by the middle end. Note that a logical shift by 32 is handled by |
2893 ;; the previous pattern. | |
2893 (define_insn "*<optab>_trunc<mode>_exts" | 2894 (define_insn "*<optab>_trunc<mode>_exts" |
2894 [(set (match_operand:SUBDI 0 "register_operand" "=d") | 2895 [(set (match_operand:SUBDI 0 "register_operand" "=d") |
2895 (truncate:SUBDI | 2896 (truncate:SUBDI |
2896 (any_shiftrt:DI (match_operand:DI 1 "register_operand" "d") | 2897 (any_shiftrt:DI (match_operand:DI 1 "register_operand" "d") |
2897 (match_operand:DI 2 "const_arith_operand" ""))))] | 2898 (match_operand:DI 2 "const_arith_operand" ""))))] |