[PATCH][modulo-sched] New target hook to calculate MII

Revital1 Eres ERES@il.ibm.com
Sun Sep 9 16:25:00 GMT 2007


Hello,

This patch adds new target hook to calculate MII.

I am currently testing it on ppc64 (only C due to recent failure
with mainline on ppc); spu and x86_64; with no regressions so far.

O.K. for mainline once the testing is completed?

:ADDPATCH modulo-sched:

Thanks,
Revital

2007-09-09  Trevor Smigiel  <trevor_smigiel@playstation.sony.com>
            Revital Eres  <eres@il.ibm.com>

        * target.h (struct gcc_target.sched): New field: sms_res_mii.
        (struct ddg): Define.
        * target-def.h (TARGET_SCHED_SMS_RES_MII): Define.
        (TARGET_SCHED): Add TARGET_SCHED_SMS_RES_MII.
        * config/spu/spu.c: Include ddg.h.
        (TARGET_SCHED_SMS_RES_MII): Define.
        (spu_sms_res_mii): New function to calculate mii.
        * modulo-sched (res_MII): Use it.
        * doc/tm.texi: Document TARGET_SCHED_SMS_RES_MII.

(See attached file: patch_sms_target_mii.txt)
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: patch_sms_target_mii.txt
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20070909/917d1c31/attachment.txt>


More information about the Gcc-patches mailing list