diff options
Diffstat (limited to 'gcc/config/i386')
41 files changed, 141 insertions, 54 deletions
diff --git a/gcc/config/i386/ammintrin.h b/gcc/config/i386/ammintrin.h index 8866e37ad38..8d9407faaeb 100644 --- a/gcc/config/i386/ammintrin.h +++ b/gcc/config/i386/ammintrin.h @@ -1,4 +1,4 @@ -/* Copyright (C) 2007 Free Software Foundation, Inc. +/* Copyright (C) 2007, 2008 Free Software Foundation, Inc. This file is part of GCC. diff --git a/gcc/config/i386/bmmintrin.h b/gcc/config/i386/bmmintrin.h index d7c69e576a9..c0744fa533b 100644 --- a/gcc/config/i386/bmmintrin.h +++ b/gcc/config/i386/bmmintrin.h @@ -1,4 +1,4 @@ -/* Copyright (C) 2007 Free Software Foundation, Inc. +/* Copyright (C) 2007, 2008 Free Software Foundation, Inc. This file is part of GCC. diff --git a/gcc/config/i386/bsd.h b/gcc/config/i386/bsd.h index 0256a6165ec..229777a4640 100644 --- a/gcc/config/i386/bsd.h +++ b/gcc/config/i386/bsd.h @@ -1,7 +1,8 @@ /* Definitions for BSD assembler syntax for Intel 386 (actually AT&T syntax for insns and operands, adapted to BSD conventions for symbol names and debugging.) - Copyright (C) 1988, 1996, 2000, 2002, 2007 Free Software Foundation, Inc. + Copyright (C) 1988, 1996, 2000, 2002, 2007, 2008 + Free Software Foundation, Inc. This file is part of GCC. diff --git a/gcc/config/i386/cygming-crtend.c b/gcc/config/i386/cygming-crtend.c index e1f21c0e74e..d49330943e2 100644 --- a/gcc/config/i386/cygming-crtend.c +++ b/gcc/config/i386/cygming-crtend.c @@ -1,5 +1,5 @@ /* crtend object for windows32 targets. - Copyright (C) 2007 Free Software Foundation, Inc. + Copyright (C) 2007, 2008 Free Software Foundation, Inc. Contributed by Danny Smith <dannysmith@users.sourceforge.net> diff --git a/gcc/config/i386/cygming.h b/gcc/config/i386/cygming.h index e9250bb49a4..db43ffda08b 100644 --- a/gcc/config/i386/cygming.h +++ b/gcc/config/i386/cygming.h @@ -1,7 +1,7 @@ /* Operating system specific defines to be used when targeting GCC for hosting on Windows32, using a Unix style C library and tools. Copyright (C) 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, - 2004, 2005, 2007, 2008 + 2004, 2005, 2007, 2008, 2009 Free Software Foundation, Inc. This file is part of GCC. diff --git a/gcc/config/i386/cygwin.asm b/gcc/config/i386/cygwin.asm index 90d9f31ca32..1f0b5133256 100644 --- a/gcc/config/i386/cygwin.asm +++ b/gcc/config/i386/cygwin.asm @@ -1,6 +1,6 @@ /* stuff needed for libgcc on win32. * - * Copyright (C) 1996, 1998, 2001, 2003 Free Software Foundation, Inc. + * Copyright (C) 1996, 1998, 2001, 2003, 2008 Free Software Foundation, Inc. * Written By Steve Chamberlain * * This file is free software; you can redistribute it and/or modify it diff --git a/gcc/config/i386/cygwin.h b/gcc/config/i386/cygwin.h index 0f73f000707..02d059f7628 100644 --- a/gcc/config/i386/cygwin.h +++ b/gcc/config/i386/cygwin.h @@ -1,7 +1,7 @@ /* Operating system specific defines to be used when targeting GCC for hosting on Windows32, using a Unix style C library and tools. Copyright (C) 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, - 2007 Free Software Foundation, Inc. + 2007, 2008, 2009 Free Software Foundation, Inc. This file is part of GCC. diff --git a/gcc/config/i386/cygwin1.c b/gcc/config/i386/cygwin1.c index 3ba812fe449..7de34d24b7a 100644 --- a/gcc/config/i386/cygwin1.c +++ b/gcc/config/i386/cygwin1.c @@ -1,6 +1,6 @@ /* Helper routines for cygwin-specific command-line parsing. Contributed by Christopher Faylor (cgf@redhat.com) - Copyright 2003, 2005, 2007 Free Software Foundation, Inc. + Copyright 2003, 2005, 2007, 2008 Free Software Foundation, Inc. This file is part of GCC. diff --git a/gcc/config/i386/darwin.h b/gcc/config/i386/darwin.h index e2b6025b2c0..039f52f77ba 100644 --- a/gcc/config/i386/darwin.h +++ b/gcc/config/i386/darwin.h @@ -1,5 +1,5 @@ /* Target definitions for x86 running Darwin. - Copyright (C) 2001, 2002, 2004, 2005, 2006, 2007 + Copyright (C) 2001, 2002, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. Contributed by Apple Computer Inc. diff --git a/gcc/config/i386/emmintrin.h b/gcc/config/i386/emmintrin.h index c6590dce4d4..e89085585bc 100644 --- a/gcc/config/i386/emmintrin.h +++ b/gcc/config/i386/emmintrin.h @@ -1,4 +1,5 @@ -/* Copyright (C) 2003, 2004, 2005, 2006, 2007 Free Software Foundation, Inc. +/* Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008 + Free Software Foundation, Inc. This file is part of GCC. diff --git a/gcc/config/i386/gas.h b/gcc/config/i386/gas.h index bf8ac483338..f3d43b31ea2 100644 --- a/gcc/config/i386/gas.h +++ b/gcc/config/i386/gas.h @@ -1,5 +1,5 @@ /* Definitions for Intel 386 using GAS. - Copyright (C) 1988, 1993, 1994, 1996, 2002, 2004, 2007 + Copyright (C) 1988, 1993, 1994, 1996, 2002, 2004, 2007, 2008 Free Software Foundation, Inc. This file is part of GCC. diff --git a/gcc/config/i386/gthr-win32.c b/gcc/config/i386/gthr-win32.c index 666a936cd7e..059a103eff9 100644 --- a/gcc/config/i386/gthr-win32.c +++ b/gcc/config/i386/gthr-win32.c @@ -1,7 +1,7 @@ /* Implementation of W32-specific threads compatibility routines for libgcc2. */ -/* Copyright (C) 1999, 2000, 2002, 2004 Free Software Foundation, Inc. +/* Copyright (C) 1999, 2000, 2002, 2004, 2008 Free Software Foundation, Inc. Contributed by Mumit Khan <khan@xraylith.wisc.edu>. Modified and moved to separate file by Danny Smith <dannysmith@users.sourceforge.net>. diff --git a/gcc/config/i386/i386-interix.h b/gcc/config/i386/i386-interix.h index 40106d85869..380b46c3d3c 100644 --- a/gcc/config/i386/i386-interix.h +++ b/gcc/config/i386/i386-interix.h @@ -1,5 +1,5 @@ /* Target definitions for GCC for Intel 80386 running Interix - Parts Copyright (C) 1991, 1999, 2000, 2002, 2003, 2004, 2007 + Parts Copyright (C) 1991, 1999, 2000, 2002, 2003, 2004, 2007, 2008 Free Software Foundation, Inc. Parts: diff --git a/gcc/config/i386/i386-modes.def b/gcc/config/i386/i386-modes.def index f5fb906ecea..9c948026f75 100644 --- a/gcc/config/i386/i386-modes.def +++ b/gcc/config/i386/i386-modes.def @@ -1,5 +1,5 @@ /* Definitions of target machine for GCC for IA-32. - Copyright (C) 2002, 2004, 2005, 2007 Free Software Foundation, Inc. + Copyright (C) 2002, 2004, 2005, 2007, 2008 Free Software Foundation, Inc. This file is part of GCC. diff --git a/gcc/config/i386/i386-protos.h b/gcc/config/i386/i386-protos.h index 1abd11dead7..23936a8d1e1 100644 --- a/gcc/config/i386/i386-protos.h +++ b/gcc/config/i386/i386-protos.h @@ -1,6 +1,6 @@ /* Definitions of target machine for GCC for IA-32. Copyright (C) 1988, 1992, 1994, 1995, 1996, 1996, 1997, 1998, 1999, - 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007 + 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. This file is part of GCC. diff --git a/gcc/config/i386/i386.c b/gcc/config/i386/i386.c index e41f501c35a..120ab156fb1 100644 --- a/gcc/config/i386/i386.c +++ b/gcc/config/i386/i386.c @@ -4759,7 +4759,7 @@ type_natural_mode (const_tree type, CUMULATIVE_ARGS *cum) { warnedavx = true; warning (0, "AVX vector argument without AVX " - " enabled changes the ABI"); + "enabled changes the ABI"); } return TYPE_MODE (type); } @@ -5115,9 +5115,11 @@ classify_argument (enum machine_mode mode, const_tree type, case TImode: classes[0] = classes[1] = X86_64_INTEGER_CLASS; return 2; - case CTImode: case COImode: case OImode: + /* OImode shouldn't be used directly. */ + gcc_unreachable (); + case CTImode: return 0; case SFmode: if (!(bit_offset % 64)) @@ -5468,6 +5470,10 @@ function_arg_advance_32 (CUMULATIVE_ARGS *cum, enum machine_mode mode, } break; + case OImode: + /* OImode shouldn't be used directly. */ + gcc_unreachable (); + case DFmode: if (cum->float_in_sse < 2) break; @@ -5476,7 +5482,6 @@ function_arg_advance_32 (CUMULATIVE_ARGS *cum, enum machine_mode mode, break; /* FALLTHRU */ - case OImode: case V8SFmode: case V8SImode: case V32QImode: @@ -5673,7 +5678,9 @@ function_arg_32 (CUMULATIVE_ARGS *cum, enum machine_mode mode, break; case OImode: - /* In 32bit, we pass OImode in ymm registers. */ + /* OImode shouldn't be used directly. */ + gcc_unreachable (); + case V8SFmode: case V8SImode: case V32QImode: @@ -5738,9 +5745,6 @@ function_arg_64 (CUMULATIVE_ARGS *cum, enum machine_mode mode, case V16HImode: case V4DFmode: case V4DImode: - /* In 64bit, we pass TImode in interger registers and OImode on - stack. */ - /* Unnamed 256bit vector mode parameters are passed on stack. */ if (!named) return NULL; @@ -6019,6 +6023,10 @@ function_value_32 (enum machine_mode orig_mode, enum machine_mode mode, || (VECTOR_MODE_P (mode) && GET_MODE_SIZE (mode) == 16)) regno = TARGET_SSE ? FIRST_SSE_REG : 0; + /* 32-byte vector modes in %ymm0. */ + else if (VECTOR_MODE_P (mode) && GET_MODE_SIZE (mode) == 32) + regno = TARGET_AVX ? FIRST_SSE_REG : 0; + /* Floating point return values in %st(0) (unless -mno-fp-ret-in-387). */ else if (X87_FLOAT_MODE_P (mode) && TARGET_FLOAT_RETURNS_IN_80387) regno = FIRST_FLOAT_REG; @@ -6036,6 +6044,9 @@ function_value_32 (enum machine_mode orig_mode, enum machine_mode mode, regno = FIRST_SSE_REG; } + /* OImode shouldn't be used directly. */ + gcc_assert (mode != OImode); + return gen_rtx_REG (orig_mode, regno); } @@ -6172,6 +6183,10 @@ return_in_memory_32 (const_tree type, enum machine_mode mode) /* SSE values are returned in XMM0, except when it doesn't exist. */ if (size == 16) return (TARGET_SSE ? 0 : 1); + + /* AVX values are returned in YMM0, except when it doesn't exist. */ + if (size == 32) + return TARGET_AVX ? 0 : 1; } if (mode == XFmode) @@ -6179,6 +6194,10 @@ return_in_memory_32 (const_tree type, enum machine_mode mode) if (size > 12) return 1; + + /* OImode shouldn't be used directly. */ + gcc_assert (mode != OImode); + return 0; } @@ -27120,10 +27139,13 @@ ix86_expand_vector_init_one_nonzero (bool mmx_ok, enum machine_mode mode, case V16HImode: case V8SImode: case V8SFmode: - case V4DImode: case V4DFmode: use_vector_set = TARGET_AVX; break; + case V4DImode: + /* Use ix86_expand_vector_set in 64bit mode only. */ + use_vector_set = TARGET_AVX && TARGET_64BIT; + break; default: break; } @@ -27262,8 +27284,11 @@ ix86_expand_vector_init_one_var (bool mmx_ok, enum machine_mode mode, the general case. */ return false; - case V4DFmode: case V4DImode: + /* Use ix86_expand_vector_set in 64bit mode only. */ + if (!TARGET_64BIT) + return false; + case V4DFmode: case V8SFmode: case V8SImode: case V16HImode: diff --git a/gcc/config/i386/i386.h b/gcc/config/i386/i386.h index a8b97d3cbf1..7600a4563f3 100644 --- a/gcc/config/i386/i386.h +++ b/gcc/config/i386/i386.h @@ -1,6 +1,6 @@ /* Definitions of target machine for GCC for IA-32. Copyright (C) 1988, 1992, 1994, 1995, 1996, 1997, 1998, 1999, 2000, - 2001, 2002, 2003, 2004, 2005, 2006, 2007 + 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, Inc. This file is part of GCC. diff --git a/gcc/config/i386/i386.md b/gcc/config/i386/i386.md index de669ba865e..2fbf654a208 100644 --- a/gcc/config/i386/i386.md +++ b/gcc/config/i386/i386.md @@ -146,6 +146,7 @@ (UNSPEC_FPREM1_U 91) (UNSPEC_C2_FLAG 95) + (UNSPEC_FXAM_MEM 96) ; SSP patterns (UNSPEC_SP_SET 100) @@ -18811,9 +18812,56 @@ (set_attr "unit" "i387") (set_attr "mode" "<MODE>")]) +(define_insn_and_split "fxam<mode>2_i387_with_temp" + [(set (match_operand:HI 0 "register_operand" "") + (unspec:HI + [(match_operand:MODEF 1 "memory_operand" "")] + UNSPEC_FXAM_MEM))] + "TARGET_USE_FANCY_MATH_387 + && !(reload_completed || reload_in_progress)" + "#" + "&& 1" + [(set (match_dup 2)(match_dup 1)) + (set (match_dup 0) + (unspec:HI [(match_dup 2)] UNSPEC_FXAM))] +{ + operands[2] = gen_reg_rtx (<MODE>mode); + + MEM_VOLATILE_P (operands[1]) = 1; +} + [(set_attr "type" "multi") + (set_attr "unit" "i387") + (set_attr "mode" "<MODE>")]) + +(define_expand "isinfxf2" + [(use (match_operand:SI 0 "register_operand" "")) + (use (match_operand:XF 1 "register_operand" ""))] + "TARGET_USE_FANCY_MATH_387 + && TARGET_C99_FUNCTIONS" +{ + rtx mask = GEN_INT (0x45); + rtx val = GEN_INT (0x05); + + rtx cond; + + rtx scratch = gen_reg_rtx (HImode); + rtx res = gen_reg_rtx (QImode); + + emit_insn (gen_fxamxf2_i387 (scratch, operands[1])); + + emit_insn (gen_andqi_ext_0 (scratch, scratch, mask)); + emit_insn (gen_cmpqi_ext_3 (scratch, val)); + cond = gen_rtx_fmt_ee (EQ, QImode, + gen_rtx_REG (CCmode, FLAGS_REG), + const0_rtx); + emit_insn (gen_rtx_SET (VOIDmode, res, cond)); + emit_insn (gen_zero_extendqisi2 (operands[0], res)); + DONE; +}) + (define_expand "isinf<mode>2" [(use (match_operand:SI 0 "register_operand" "")) - (use (match_operand:X87MODEF 1 "register_operand" ""))] + (use (match_operand:MODEF 1 "nonimmediate_operand" ""))] "TARGET_USE_FANCY_MATH_387 && TARGET_C99_FUNCTIONS && !(SSE_FLOAT_MODE_P (<MODE>mode) && TARGET_SSE_MATH)" @@ -18826,7 +18874,18 @@ rtx scratch = gen_reg_rtx (HImode); rtx res = gen_reg_rtx (QImode); - emit_insn (gen_fxam<mode>2_i387 (scratch, operands[1])); + /* Remove excess precision by forcing value through memory. */ + if (memory_operand (operands[1], VOIDmode)) + emit_insn (gen_fxam<mode>2_i387_with_temp (scratch, operands[1])); + else + { + int slot = virtuals_instantiated ? SLOT_TEMP : SLOT_VIRTUAL; + rtx temp = assign_386_stack_local (<MODE>mode, slot); + + emit_move_insn (temp, operands[1]); + emit_insn (gen_fxam<mode>2_i387_with_temp (scratch, temp)); + } + emit_insn (gen_andqi_ext_0 (scratch, scratch, mask)); emit_insn (gen_cmpqi_ext_3 (scratch, val)); cond = gen_rtx_fmt_ee (EQ, QImode, diff --git a/gcc/config/i386/i386.opt b/gcc/config/i386/i386.opt index 2881ea255ad..853059081d2 100644 --- a/gcc/config/i386/i386.opt +++ b/gcc/config/i386/i386.opt @@ -1,6 +1,6 @@ ; Options for the IA-32 and AMD64 ports of the compiler. -; Copyright (C) 2005, 2006, 2007 Free Software Foundation, Inc. +; Copyright (C) 2005, 2006, 2007, 2008 Free Software Foundation, Inc. ; ; This file is part of GCC. ; diff --git a/gcc/config/i386/i386elf.h b/gcc/config/i386/i386elf.h index d2fedad1b59..ba53749acc9 100644 --- a/gcc/config/i386/i386elf.h +++ b/gcc/config/i386/i386elf.h @@ -1,5 +1,5 @@ /* Target definitions for GCC for Intel 80386 using ELF - Copyright (C) 1988, 1991, 1995, 2000, 2001, 2002, 2007 + Copyright (C) 1988, 1991, 1995, 2000, 2001, 2002, 2007, 2008 Free Software Foundation, Inc. Derived from sysv4.h written by Ron Guilmette (rfg@netcom.com). diff --git a/gcc/config/i386/linux.h b/gcc/config/i386/linux.h index ca9a136b3e5..229316867fd 100644 --- a/gcc/config/i386/linux.h +++ b/gcc/config/i386/linux.h @@ -1,6 +1,6 @@ /* Definitions for Intel 386 running Linux-based GNU systems with ELF format. Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2001, 2002, 2004, 2005, - 2006, 2007 Free Software Foundation, Inc. + 2006, 2007, 2008 Free Software Foundation, Inc. Contributed by Eric Youngdale. Modified for stabs-in-ELF by H.J. Lu. diff --git a/gcc/config/i386/linux64.h b/gcc/config/i386/linux64.h index 88c875a0980..a3082c2ab79 100644 --- a/gcc/config/i386/linux64.h +++ b/gcc/config/i386/linux64.h @@ -1,5 +1,5 @@ /* Definitions for AMD x86-64 running Linux-based GNU systems with ELF format. - Copyright (C) 2001, 2002, 2004, 2005, 2006, 2007 + Copyright (C) 2001, 2002, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. Contributed by Jan Hubicka <jh@suse.cz>, based on linux.h. diff --git a/gcc/config/i386/mingw32.h b/gcc/config/i386/mingw32.h index 43f5a056a28..f3fbe8c5865 100644 --- a/gcc/config/i386/mingw32.h +++ b/gcc/config/i386/mingw32.h @@ -1,7 +1,7 @@ /* Operating system specific defines to be used when targeting GCC for hosting on Windows32, using GNU tools and the Windows32 API Library. - Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2007 - Free Software Foundation, Inc. + Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2007, 2008, + 2009 Free Software Foundation, Inc. This file is part of GCC. diff --git a/gcc/config/i386/mm3dnow.h b/gcc/config/i386/mm3dnow.h index 96056e28e31..1401d41db51 100644 --- a/gcc/config/i386/mm3dnow.h +++ b/gcc/config/i386/mm3dnow.h @@ -1,4 +1,4 @@ -/* Copyright (C) 2004, 2007 Free Software Foundation, Inc. +/* Copyright (C) 2004, 2007, 2008 Free Software Foundation, Inc. This file is part of GCC. diff --git a/gcc/config/i386/mmintrin-common.h b/gcc/config/i386/mmintrin-common.h index b906d5c07d2..cd75e12bca5 100644 --- a/gcc/config/i386/mmintrin-common.h +++ b/gcc/config/i386/mmintrin-common.h @@ -1,4 +1,4 @@ -/* Copyright (C) 2007 Free Software Foundation, Inc. +/* Copyright (C) 2007, 2008 Free Software Foundation, Inc. This file is part of GCC. diff --git a/gcc/config/i386/mmintrin.h b/gcc/config/i386/mmintrin.h index 3c135e61766..c3b2700229c 100644 --- a/gcc/config/i386/mmintrin.h +++ b/gcc/config/i386/mmintrin.h @@ -1,5 +1,5 @@ -/* Copyright (C) 2002, 2003, 2004, 2005, 2006, 2007 Free Software - Foundation, Inc. +/* Copyright (C) 2002, 2003, 2004, 2005, 2006, 2007, 2008 + Free Software Foundation, Inc. This file is part of GCC. diff --git a/gcc/config/i386/msformat-c.c b/gcc/config/i386/msformat-c.c index 44e080d4557..4648c8d582b 100644 --- a/gcc/config/i386/msformat-c.c +++ b/gcc/config/i386/msformat-c.c @@ -1,6 +1,6 @@ /* Check calls to formatted I/O functions (-Wformat). Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, - 2001, 2002, 2003, 2004, 2005, 2007 Free Software Foundation, Inc. + 2001, 2002, 2003, 2004, 2005, 2007, 2008 Free Software Foundation, Inc. This file is part of GCC. diff --git a/gcc/config/i386/netware.h b/gcc/config/i386/netware.h index d4f31e0bbb2..4f1ef5588af 100644 --- a/gcc/config/i386/netware.h +++ b/gcc/config/i386/netware.h @@ -1,6 +1,6 @@ /* Core target definitions for GCC for Intel 80x86 running Netware. and using dwarf for the debugging format. - Copyright (C) 1993, 1994, 2004, 2007 Free Software Foundation, Inc. + Copyright (C) 1993, 1994, 2004, 2007, 2008 Free Software Foundation, Inc. Written by David V. Henkel-Wallace (gumby@cygnus.com) diff --git a/gcc/config/i386/pmmintrin.h b/gcc/config/i386/pmmintrin.h index 809799a93aa..dfcc2d56c66 100644 --- a/gcc/config/i386/pmmintrin.h +++ b/gcc/config/i386/pmmintrin.h @@ -1,4 +1,5 @@ -/* Copyright (C) 2003, 2004, 2005, 2006, 2007 Free Software Foundation, Inc. +/* Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008 + Free Software Foundation, Inc. This file is part of GCC. diff --git a/gcc/config/i386/ppro.md b/gcc/config/i386/ppro.md index 81c0746ea1e..5e163d8296f 100644 --- a/gcc/config/i386/ppro.md +++ b/gcc/config/i386/ppro.md @@ -1,5 +1,5 @@ ;; Scheduling for the Intel P6 family of processors -;; Copyright (C) 2004, 2005, 2007 Free Software Foundation, Inc. +;; Copyright (C) 2004, 2005, 2007, 2008 Free Software Foundation, Inc. ;; ;; This file is part of GCC. ;; diff --git a/gcc/config/i386/predicates.md b/gcc/config/i386/predicates.md index a8c01ad8005..b2bef6470be 100644 --- a/gcc/config/i386/predicates.md +++ b/gcc/config/i386/predicates.md @@ -1,5 +1,6 @@ ;; Predicate definitions for IA-32 and x86-64. -;; Copyright (C) 2004, 2005, 2006, 2007 Free Software Foundation, Inc. +;; Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009 +;; Free Software Foundation, Inc. ;; ;; This file is part of GCC. ;; diff --git a/gcc/config/i386/smmintrin.h b/gcc/config/i386/smmintrin.h index d6423b48aa5..6b83b6bbbbe 100644 --- a/gcc/config/i386/smmintrin.h +++ b/gcc/config/i386/smmintrin.h @@ -1,4 +1,4 @@ -/* Copyright (C) 2007 Free Software Foundation, Inc. +/* Copyright (C) 2007, 2008 Free Software Foundation, Inc. This file is part of GCC. diff --git a/gcc/config/i386/sol2-c1.asm b/gcc/config/i386/sol2-c1.asm index 4c30a16f4a7..49f24c1f8cf 100644 --- a/gcc/config/i386/sol2-c1.asm +++ b/gcc/config/i386/sol2-c1.asm @@ -1,6 +1,6 @@ ! crt1.s for Solaris 2, x86 -! Copyright (C) 1993, 1998 Free Software Foundation, Inc. +! Copyright (C) 1993, 1998, 2008 Free Software Foundation, Inc. ! Written By Fred Fish, Nov 1992 ! ! This file is free software; you can redistribute it and/or modify it diff --git a/gcc/config/i386/sol2-ci.asm b/gcc/config/i386/sol2-ci.asm index 1846a1eab89..ea9debdcb5e 100644 --- a/gcc/config/i386/sol2-ci.asm +++ b/gcc/config/i386/sol2-ci.asm @@ -1,6 +1,6 @@ ! crti.s for Solaris 2, x86. -! Copyright (C) 1993 Free Software Foundation, Inc. +! Copyright (C) 1993, 2008 Free Software Foundation, Inc. ! Written By Fred Fish, Nov 1992 ! ! This file is free software; you can redistribute it and/or modify it diff --git a/gcc/config/i386/sol2-cn.asm b/gcc/config/i386/sol2-cn.asm index 37f7362d5db..4821642884d 100644 --- a/gcc/config/i386/sol2-cn.asm +++ b/gcc/config/i386/sol2-cn.asm @@ -1,6 +1,6 @@ ! crtn.s for Solaris 2, x86. -! Copyright (C) 1993 Free Software Foundation, Inc. +! Copyright (C) 1993, 2008 Free Software Foundation, Inc. ! Written By Fred Fish, Nov 1992 ! ! This file is free software; you can redistribute it and/or modify it diff --git a/gcc/config/i386/sol2-gc1.asm b/gcc/config/i386/sol2-gc1.asm index 994326a6b00..d5a6496b425 100644 --- a/gcc/config/i386/sol2-gc1.asm +++ b/gcc/config/i386/sol2-gc1.asm @@ -1,6 +1,6 @@ ! gcrt1.s for Solaris 2, x86 -! Copyright (C) 1993 Free Software Foundation, Inc. +! Copyright (C) 1993, 2008 Free Software Foundation, Inc. ! Written By Fred Fish, Nov 1992 ! ! This file is free software; you can redistribute it and/or modify it diff --git a/gcc/config/i386/sync.md b/gcc/config/i386/sync.md index 4b36d452c4a..e2675744b01 100644 --- a/gcc/config/i386/sync.md +++ b/gcc/config/i386/sync.md @@ -1,5 +1,5 @@ ;; GCC machine description for i386 synchronization instructions. -;; Copyright (C) 2005, 2006, 2007 +;; Copyright (C) 2005, 2006, 2007, 2008 ;; Free Software Foundation, Inc. ;; ;; This file is part of GCC. diff --git a/gcc/config/i386/sysv4.h b/gcc/config/i386/sysv4.h index 267785be320..bedac7a58b6 100644 --- a/gcc/config/i386/sysv4.h +++ b/gcc/config/i386/sysv4.h @@ -1,5 +1,5 @@ /* Target definitions for GCC for Intel 80386 running System V.4 - Copyright (C) 1991, 2001, 2002, 2007 Free Software Foundation, Inc. + Copyright (C) 1991, 2001, 2002, 2007, 2008 Free Software Foundation, Inc. Written by Ron Guilmette (rfg@netcom.com). diff --git a/gcc/config/i386/tmmintrin.h b/gcc/config/i386/tmmintrin.h index 52d1e46424e..76b147228a2 100644 --- a/gcc/config/i386/tmmintrin.h +++ b/gcc/config/i386/tmmintrin.h @@ -1,4 +1,4 @@ -/* Copyright (C) 2006, 2007 Free Software Foundation, Inc. +/* Copyright (C) 2006, 2007, 2008 Free Software Foundation, Inc. This file is part of GCC. diff --git a/gcc/config/i386/vx-common.h b/gcc/config/i386/vx-common.h index 4bf023e5e43..b4bea845fcd 100644 --- a/gcc/config/i386/vx-common.h +++ b/gcc/config/i386/vx-common.h @@ -1,5 +1,5 @@ /* IA32 VxWorks and VxWorks AE target definitions. - Copyright (C) 2007 Free Software Foundation, Inc. + Copyright (C) 2007, 2008 Free Software Foundation, Inc. This file is part of GCC. diff --git a/gcc/config/i386/winnt.c b/gcc/config/i386/winnt.c index 48b82131d3f..ae9196c596f 100644 --- a/gcc/config/i386/winnt.c +++ b/gcc/config/i386/winnt.c @@ -1,7 +1,7 @@ /* Subroutines for insn-output.c for Windows NT. Contributed by Douglas Rupp (drupp@cs.washington.edu) Copyright (C) 1995, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, - 2005, 2006, 2007 Free Software Foundation, Inc. + 2005, 2006, 2007, 2008 Free Software Foundation, Inc. This file is part of GCC. @@ -508,8 +508,7 @@ i386_pe_asm_output_aligned_decl_common (FILE *stream, tree decl, i386_pe_maybe_record_exported_symbol (decl, name, 1); - switch_to_section (bss_section); - fprintf (stream, "\t.balign %d\n\t.comm \t", ((int) align) / BITS_PER_UNIT); + fprintf (stream, "\t.comm\t"); assemble_name (stream, name); fprintf (stream, ", " HOST_WIDE_INT_PRINT_DEC "\t" ASM_COMMENT_START " " HOST_WIDE_INT_PRINT_DEC "\n", |