[patch] fixes for power4 scheduler description

David Edelsohn dje.gcc@gmail.com
Fri Jul 20 20:35:00 GMT 2012


On Thu, Jul 19, 2012 at 2:43 PM, Pat Haugen <pthaugen@linux.vnet.ibm.com> wrote:

> Update form stores are cracked into a store and addi, and the store is dual
> issued to the LSU/FXU. So based on this info I would think it should look
> like the following (untested).
>
> @@ -141,12 +141,10 @@ (define_insn_reservation "power4-store-u
>         (eq_attr "cpu" "power4"))
>    "((du1_power4+du2_power4,lsu1_power4)\
>      |(du2_power4+du3_power4,lsu2_power4)\
> -    |(du3_power4+du4_power4,lsu2_power4)\
>      |(du3_power4+du4_power4,lsu2_power4))+\
> -   ((nothing,iu2_power4,iu1_power4)\
> +   ((nothing,iu1_power4,iu2_power4)\
>      |(nothing,iu2_power4,iu2_power4)\
> -    |(nothing,iu1_power4,iu2_power4)\
> -    |(nothing,iu1_power4,iu2_power4))")
> +    |(nothing,iu2_power4,iu1_power4))")

Looks good.  Check it in after testing.

Thanks, David



More information about the Gcc-patches mailing list