Age | Commit message (Collapse) | Author |
|
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/apple-local-200502-branch@111619 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
* gcc/config/i386/darwin.h (BASIC_STACK_BOUNDARY): Delete.
* gcc/config/i386/i386.c (BASIC_STACK_BOUNDARY): Delete.
(APPLE LOCAL) Fix.
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/apple-local-200502-branch@111576 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
* targhooks.h (vector_alignment_reachable): New.
* targhooks.c (default_vector_alignment_reachable): New.
* target.h (gcc_target): Add vector_alignment_reachable.
* target-def.h (TARGET_VECTOR_ALIGNMENT_REACHABLE): New.
* tree-vect-analyze.c (vect_enhance_data_refs_alignment): Avoid
peeling when natural alignment is not reachable due to known
misalignment. Use target hook to check unknown alignment.
* config/rs6000.c (TARGET_VECTOR_ALIGNMENT_REACHABLE,
rs6000_vector_alignment_reachable): New.
* gcc.dg/vect/vect-align-2.c: New.
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/apple-local-200502-branch@111571 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/apple-local-200502-branch@111515 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
(marked APPLE LOCAL "4356747 stack realign")
* gcc/config/i386/i386.c
(ix86_force_align_arg_pointer_string): Tweak decl.
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/apple-local-200502-branch@111512 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
* config.gcc (*-*-darwin*): Define default_use_cxa_atexit.
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/apple-local-200502-branch@111511 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
(marked APPLE LOCAL "4356747 stack realign")
* gcc/rtl.h (gen_tmp_stack_mem): Declare.
Fix up previous ChangeLog entry.
* gcc/testsuite/ChangeLog.apple-ppc: Fix.
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/apple-local-200502-branch@111510 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/apple-local-200502-branch@111505 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
* Radar 4356747
(marked APPLE LOCAL "4356747 stack realign")
doc/extend.texi (force_align_arg_pointer): Document.
doc/invoke.texi (-mstackrealign): Document.
config/i386/i386.h (TARGET_OPTIONS): Add -mstackrealgin.
config/i386/i386.c (ix86_force_align_arg_pointer): New.
(ix86_force_align_arg_pointer_string): New.
(ix86_attribute_table): Add "force_align_arg_pointer" attribute.
(ix86_function_regparm): Compensate for new attribute.
(ix86_internal_arg_pointer): Check for new attribute.
2005-11-02 Richard Henderson <rth@redhat.com>
(marked APPLE LOCAL "mainline 2006-02-17 4356747 stack realign")
PR target/9350
PR target/24374
* dwarf2out.c (dwarf2out_reg_save_reg): New.
(dwarf2out_frame_debug_expr): Return after dwarf_handle_frame_unspec.
* function.c (assign_parms): Use calls.internal_arg_pointer.
(expand_main_function): Remove FORCE_PREFERRED_STACK_BOUNDARY_IN_MAIN
code.
* target-def.h (TARGET_INTERNAL_ARG_POINTER): New.
(TARGET_CALLS): Add it.
* target.h (struct gcc_target): Add calls.internal_arg_pointer.
* targhooks.c (default_internal_arg_pointer): New.
* targhooks.h (default_internal_arg_pointer): Declare.
* tree.h (dwarf2out_reg_save_reg): Declare.
* doc/tm.texi (FORCE_PREFERRED_STACK_BOUNDARY_IN_MAIN): Remove.
* config/i386/i386.c (dbx_register_map): Add return column.
(dbx64_register_map, svr4_dbx_register_map): Likewise.
(TARGET_INTERNAL_ARG_POINTER, ix86_internal_arg_pointer): New.
(TARGET_DWARF_HANDLE_FRAME_UNSPEC, ix86_dwarf_handle_frame_unspec): New.
(ix86_function_ok_for_sibcall): Disable if force_align_arg_pointer.
(ix86_save_reg): Save force_align_arg_pointer.
(ix86_emit_save_regs): Make regno unsigned.
(ix86_emit_save_regs_using_mov): Likewise.
(ix86_expand_prologue): Handle force_align_arg_pointer.
(ix86_expand_epilogue): Likewise.
* config/i386/i386.h: (dbx_register_map): Update.
(dbx64_register_map, svr4_dbx_register_map): Update.
(struct machine_function): Add force_align_arg_pointer.
* config/i386/i386.md (UNSPEC_REG_SAVE, UNSPEC_DEF_CFA): New.
(UNSPEC_TP, UNSPEC_TLS_GD, UNSPEC_TLS_LD_BASE): Renumber.
(TARGET_PUSH_MEMORY peepholes): Disable if RTX_FRAME_RELATED_P.
2006-02-27 Stuart Hastings <stuart@apple.com>
Radar 4448096
* testsuite/gcc.target/i386/4448096-1.c: New.
* testsuite/g++.dg/4448096-2.C: New.
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/apple-local-200502-branch@111503 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
Radar 4448096
* gcc/config/i386/i386.md (fixuns_truncdfsi2,
fixuns_truncsfsi2, floatunsdidf2): Disable for 4-byte aligned stack.
* gcc/config/i386/i386.c (override_options): Set 4-byte
aligned stack for -fapple-kext.
(ix86_expand_convert_DF2SI_sse, ix86_expand_convert_SF2SI_sse,
ix86_expand_convert_DI2DF_sse): assert a 16-byte aligned stack.
* gcc/doc/invoke.texi (-fapple-kext): Document new
-fapple-kext behavior.
2006-02-27 Stuart Hastings <stuart@apple.com>
Radar 4448096
* testsuite/gcc.target/i386/4448096-1.c: New.
* testsuite/g++.dg/4448096-2.C: New.
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/apple-local-200502-branch@111502 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
2006-02-24 Geoffrey Keating <geoffk@apple.com>
Radar 4086777
* doc/tm.texi (Run-time Target): Document C_COMMON_OVERRIDE_OPTIONS.
* doc/invoke.texi (C++ Dialect Options): Document
-fno-use-cxa-get-exception-ptr.
* configure.ac: Define DEFAULT_USE_CXA_ATEXIT to 2 not 1.
* configure: Regenerate.
* c.opt (fuse-cxa-get-exception-ptr): New.
* c-opts.c (c_common_handle_option): Handle
OPT_fuse_cxa_get_exception_ptr.
* c-common.c (flag_use_cxa_atexit): Update documentation.
(flag_use_cxa_get_exception_ptr): New.
* c-common.h (flag_use_cxa_get_exception_ptr): New.
* config/rs6000/darwin.h (SUBTARGET_OVERRIDE_OPTIONS): Improve
documentation.
(C_COMMON_OVERRIDE_OPTIONS): New.
Index: gcc/testsuite/ChangeLog
2006-02-24 Geoffrey Keating <geoffk@apple.com>
Radar 4086777
* g++.dg/eh/uncaught1.C: Add dg-options for ppc-darwin.
* g++.dg/eh/uncaught2.C: New.
* g++.dg/eh/uncaught3.C: New.
Index: gcc/cp/ChangeLog
2006-02-24 Geoffrey Keating <geoffk@apple.com>
Radar 4086777
* except.c (expand_start_catch_block): Handle
flag_use_cxa_get_exception_ptr.
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/apple-local-200502-branch@111492 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/apple-local-200502-branch@111455 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/apple-local-200502-branch@111439 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
* c-common.c (print_cw_asm_operand): Revert change from
Radar 4399388 as it breaks C++ ppc.
* gcc.apple/asm-block-48.c: Add.
* g++.dg/asm-block-48.C: Add.
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/apple-local-200502-branch@111426 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
* config/i386/i386.h (TARGET_CW_OP_CONSTRAINT): Improve fdivr,
fiadd, ficom, ficomp, fidiv, fidivr fild, fimul, fist, fistp,
fisttp, fisub, fisubr, fmul, idiv, inc, lds, les, lfs, lgs, lss.
Remove fildl, fildll, fistpll, fisttpll.
* config/i386/i386.c (x86_canonicalize_operands): Add DImode
support. Allow mov to be used on floats.
* c-common.c (m1, m2, m4, m2m4): Remove.
(m64, m16m32, m16m32m64, r16r32, r16r32r64): Add.
(rm64, rm8rm16rm32rm64): Add.
(print_cw_asm_operand, case INDIRECT_REF): Handle all
INDIRECT_REFs uniformly.
* g++.dg/asm-block-47.C: Add.
* g++.dg/asm-block-13.C: Update.
* gcc.apple/asm-block-13.c: Update.
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/apple-local-200502-branch@111422 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
Radar 4081414
* global.c (local_reg_weight): Make HOST_WIDE_INT.
(global_alloc): Remove casts to double for local_reg_weight.
(find_reg): Use integer temporary for weight computation.
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/apple-local-200502-branch@111410 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/apple-local-200502-branch@111359 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
* dwarf2out.c (gen_subprogram_die): Add DW_AT_MIPS_linkage_name
when it might not have been added previously.
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/apple-local-200502-branch@111347 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
2006-02-21 Geoffrey Keating <geoffk@apple.com>
Radar 4439051
* config/i386/darwin.h (DWARF2_FRAME_REG_OUT): New.
Index: testsuite/ChangeLog
2006-02-21 Geoffrey Keating <geoffk@apple.com>
Radar 4439051
* g++.dg/eh/spbp.C: New.
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/apple-local-200502-branch@111346 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/apple-local-200502-branch@111207 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
* c-common.c (cw_build_bracket): Add support for [word ptr esi].
(cw_ptr_conv): Likewise.
* config/i386/i386.c (cw_canonicalize_bracket): Likewise.
(cw_canonicalize_bracket_1): Likewise.
(cw_combine_type): Add.
(x86_canonicalize_operands): Don't add a modifier for
fstcw/fnstcw.
* gcc.apple/asm-block-45.c: Add.
* gcc.apple/asm-block-46.c: Add.
* g++.dg/asm-block-45.C: Add.
* g++.dg/asm-block-46.C: Add.
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/apple-local-200502-branch@111171 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/apple-local-200502-branch@111013 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/apple-local-200502-branch@111010 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
* config/i386/i386.c (x86_canonicalize_operands): Don't add a
modifier for movq/movntq.
* gcc.apple/asm-block-44.c: Add.
* g++.dg/asm-block-44.C: Add.
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/apple-local-200502-branch@111008 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
2006-02-14 Eric Christopher <echristo@apple.com>
Radar 4331439
* config/rs6000/rs6000.c (rs6000_handle_longcall_attribute):
Disable for 64-bit Mach-O.
* config/rs6000/darwin.h (SUBTARGET_OPTIONS): Disable longcall
only for Mach-O.
==> gcc/testsuite/ChangeLog.apple-ppc <==
2006-02-14 Eric Christopher <echristo@apple.com>
Radar 4385016 4331438
* gcc.apple/altivec-maltivec-1.c: xfail for 64bit.
* gcc.apple/altivec-faltivec-1.c: Ditto.
* gcc.apple/altivec-faltivec-2.c: Ditto.
* gcc.apple/default-cpu-1.c: Skip for 64bit.
* gcc.apple/default-cpu-2.c: Ditto.
* gcc.apple/align-test-5c: Ditto.
* gcc.apple/asm-test-nofralloc.c: Ditto.
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/apple-local-200502-branch@111007 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
* config/i386/i386.c: (additional_names): Add.
(cw_reg_comp): Add.
(i386_cw_asm_register_name): Add support for upper case register
names.
* gcc.apple/asm-block-43.c: Add.
* g++.dg/asm-block-43.C: Add.
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/apple-local-200502-branch@110996 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
PR target/25376
* gcc/varasm.c (function_section): Don't call select_section if a
section name is present.
* testsuite/gcc.dg/pr25376: New test.
* testsuite/lib/target-supports.exp (check_named_sections_available):
Only compile named-sections test -- don't assemble.
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/apple-local-200502-branch@110987 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
* dwarf2out.c (base_type_die): Don't add AT_name here.
(subrange_type_die): Don't add AT_name here.
(modified_type_die): Rearrange code flow. Do add AT_name here.
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/apple-local-200502-branch@110951 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
* opts.c (set_debug_level): DWARF is now best for GDB.
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/apple-local-200502-branch@110950 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/apple-local-200502-branch@110878 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/apple-local-200502-branch@110871 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/apple-local-200502-branch@110869 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
Radar 4420531
* doc/invoke.texi: Warn that -ftree-loop-linear is buggy.
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/apple-local-200502-branch@110868 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
* config/i386/darwin.h (DBX_REGISTER_NUMBER): Define.
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/apple-local-200502-branch@110867 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/apple-local-200502-branch@110844 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
Radar 4430139 4431496
* tree.h: Remove reversed_flag.
(record_layout_info_s): Add among_reversed_bitfields,
reversed_bitfield_type_size, reversed_bitfield_bitpos.
* stor-layout.c (place_field): Rewrite
reversed-bitfield logic to use them.
2006-02-10 Dale Johannesen <dalej@apple.com>
Radar 4430139 4431496
* gcc.apple/bitreverse-10.c: Return from main.
* gcc.apple/bitreverse-18.c: New.
* gcc.apple/bitreverse-19.c: New.
* gcc.apple/bitreverse-20.c: New.
* gcc.apple/bitreverse-21.c: New.
* gcc.apple/bitreverse-22.c: New.
* gcc.apple/bitreverse-24.c: New.
* gcc.apple/bitreverse-25.c: New.
* gcc.apple/bitreverse-26.c: New.
* gcc.apple/bitreverse-27.c: New.
* g++.dg/bitreverse-10.C: Return from main.
* g++.dg/bitreverse-23.C: New.
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/apple-local-200502-branch@110843 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
* config/darwin-driver.c (main.c): Check --save-temps.
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/apple-local-200502-branch@110842 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/apple-local-200502-branch@110839 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/apple-local-200502-branch@110830 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
* config/i386/i386.c (cw_canonicalize_bracket_1): Add.
(cw_canonicalize_bracket): Improve.
(cw_is_offset): Add NEGATE_EXPR support.
(cw_print_op): Improve BRACKET_EXPR handling.
* c-common.c (print_cw_asm_operand): Add parens around
NEGATE_EXPR.
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/apple-local-200502-branch@110828 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
* gcc.apple/asm-block-41.c: Add.
* g++.dg/asm-block-41.C: Add.
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/apple-local-200502-branch@110770 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
* gcc/config/i386/i386.md (fixuns_trunc<mode>si2,
fixuns_truncdfhi2, fixuns_truncsfhi2): New.
(floatunsdidf2): Allow for 32-bit when optimize_size is off.
* gcc/config/i386/i386-protos.h
(ix86_expand_convert_DF2SI_sse, ix86_expand_convert_SF2SI_sse,
ix86_expand_convert_DI2DF_sse): New.
* gcc/config/i386/i386.c (ix86_expand_vector_move2,
gen_2_4_rtvec, ix86_expand_convert_DF2SI_sse,
ix86_expand_convert_SF2SI_sse, ix86_expand_convert_DI2DF_sse): New.
(x86_emit_floatuns): Call ix86_expand_convert_DI2DF_sse.
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/apple-local-200502-branch@110768 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/apple-local-200502-branch@110765 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
* c-lex.c (c_lex_with_flags): Only recognize "offset" when doing
x86 assembly.
* parser.c (cp_parser_unary_operator): Only recognize "offset"
when doing x86 assembly.
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/apple-local-200502-branch@110762 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
* config/i386/i386.c (ix86_delegitimize_address): Support Darwin
PIC addresses.
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/apple-local-200502-branch@110737 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
Oked by Mike.
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/apple-local-200502-branch@110726 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/apple-local-200502-branch@110680 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
* gcc.dg/vect/vect-align-1.c: Update.
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/apple-local-200502-branch@110658 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/apple-local-200502-branch@110622 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/apple-local-200502-branch@110584 138bc75d-0d04-0410-961f-82ee72b054a4
|