1. 16 Jan, 2018 35 commits
  2. 15 Jan, 2018 5 commits
    • rs6000: Delete "delayed_cr" insn type · 34ef0745
      "delayed_cr" is just "cr_logical" with the second source operand not
      equal to the destination operand.  This patch changes it to be
      expressed as type "cr_logical", with a new boolean attribute
      "cr_logical_3op" added.  This simplifies code.
      
      
      	* config/rs6000/rs6000.md (define_attr "type"): Remove delayed_cr.
      	(define_attr "cr_logical_3op"): New.
      	(cceq_ior_compare): Adjust.
      	(cceq_ior_compare_complement): Adjust.
      	(*cceq_rev_compare): Adjust.
      	* config/rs6000/rs6000.c (rs6000_adjust_cost): Adjust.
      	(is_cracked_insn): Adjust.
      	(insn_must_be_first_in_group): Adjust.
      	* config/rs6000/40x.md: Adjust.
      	* config/rs6000/440.md: Adjust.
      	* config/rs6000/476.md: Adjust.
      	* config/rs6000/601.md: Adjust.
      	* config/rs6000/603.md: Adjust.
      	* config/rs6000/6xx.md: Adjust.
      	* config/rs6000/7450.md: Adjust.
      	* config/rs6000/7xx.md: Adjust.
      	* config/rs6000/8540.md: Adjust.
      	* config/rs6000/cell.md: Adjust.
      	* config/rs6000/e300c2c3.md: Adjust.
      	* config/rs6000/e500mc.md: Adjust.
      	* config/rs6000/e500mc64.md: Adjust.
      	* config/rs6000/e5500.md: Adjust.
      	* config/rs6000/e6500.md: Adjust.
      	* config/rs6000/mpc.md: Adjust.
      	* config/rs6000/power4.md: Adjust.
      	* config/rs6000/power5.md: Adjust.
      	* config/rs6000/power6.md: Adjust.
      	* config/rs6000/power7.md: Adjust.
      	* config/rs6000/power8.md: Adjust.
      	* config/rs6000/power9.md: Adjust.
      	* config/rs6000/rs64.md: Adjust.
      	* config/rs6000/titan.md: Adjust.
      
      From-SVN: r256716
      Segher Boessenkool committed
    • i386: Rewrite indirect_branch_operand logic · 894c144c
      	* config/i386/predicates.md (indirect_branch_operand): Rewrite
      	ix86_indirect_branch_register logic.
      
      From-SVN: r256715
      H.J. Lu committed
    • Don't check ix86_indirect_branch_register for GOT operand · 4a5a0497
      Since GOT_memory_operand and GOT32_symbol_operand are simple pattern
      matches, don't check ix86_indirect_branch_register here.  If needed,
      -mindirect-branch= will convert indirect branch via GOT slot to a call
      and return thunk.
      
      	* config/i386/constraints.md (Bs): Update
      	ix86_indirect_branch_register check.  Don't check
      	ix86_indirect_branch_register with GOT_memory_operand.
      	(Bw): Likewise.
      	* config/i386/predicates.md (GOT_memory_operand): Don't check
      	ix86_indirect_branch_register here.
      	(GOT32_symbol_operand): Likewise.
      
      From-SVN: r256714
      H.J. Lu committed
    • i386: Rewrite ix86_indirect_branch_register logic · 5ca876c3
      Rewrite ix86_indirect_branch_register logic with
      
      (and (not (match_test "ix86_indirect_branch_register"))
           (original condition before r256662))
      
      	* config/i386/predicates.md (constant_call_address_operand):
      	Rewrite ix86_indirect_branch_register logic.
      	(sibcall_insn_operand): Likewise.
      
      From-SVN: r256713
      H.J. Lu committed
    • i386: Rename to ix86_indirect_branch_register · e71cf74a
      Rename the variable for -mindirect-branch-register to
      ix86_indirect_branch_register to match the command-line option name.
      
      	* config/i386/constraints.md (Bs): Replace
      	ix86_indirect_branch_thunk_register with
      	ix86_indirect_branch_register.
      	(Bw): Likewise.
      	* config/i386/i386.md (indirect_jump): Likewise.
      	(tablejump): Likewise.
      	(*sibcall_memory): Likewise.
      	(*sibcall_value_memory): Likewise.
      	Peepholes of indirect call and jump via memory: Likewise.
      	* config/i386/i386.opt: Likewise.
      	* config/i386/predicates.md (indirect_branch_operand): Likewise.
      	(GOT_memory_operand): Likewise.
      	(call_insn_operand): Likewise.
      	(sibcall_insn_operand): Likewise.
      	(GOT32_symbol_operand): Likewise.
      
      From-SVN: r256712
      H.J. Lu committed