This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PING][PATCH] Cleanup, use bitmap_set_range/bitmap_clear_range instead of bitmap_set_bit/bitmap_clear_bit loops.


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 03/16/11 15:32, Anatoly Sokolov wrote:
> Hello.
> 
>> On 12/08/10 11:46, Anatoly Sokolov wrote:
>>> Hi.
>>>
>>>    This patch converts loops of bitmap_set_bit/bitmap_clear_bit in to
>>> bitmap_set_range/bitmap_clear_range functions call.
>>>
>>>    The patch has been bootstrapped on and regression tested on
>>> x86_64-unknown-linux-gnu for c.
>>>
>>>    OK to install?
>>>
>>>          * cfgcleanup.c (mark_effect): Use
>>> bitmap_set_range/bitmap_clear_range
>>>          instead of loop. Use HARD_REGISTER_NUM_P predicate.
>>>          * haifa-sched.c (setup_ref_regs): Ditto.
>>>          * caller-save.c (add_used_regs_1): Ditto.
>>>          * dse.c (look_for_hardregs): Ditto.
>>>          * df-problems.c (df_simulate_one_insn_forwards): Ditto.
>>>          * sched-rgn.c (check_live_1): Ditto.
>> This looks like a reasonable cleanup, but I can't see how this fixes
>> any kind of bug, so it should be postponed until stage1 reopens.  If
>> you could attach it to the GCC 4.7 pending patches metabug that would
>> help ensure it doens't get lost.
>>
> 
> 
> http://gcc.gnu.org/ml/gcc-patches/2010-12/msg00686.html
> OK to commit?
Yes.  Please go ahead and commit.

Thanks,
Jeff
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/

iQEcBAEBAgAGBQJNggvXAAoJEBRtltQi2kC7fbsH/0jO7ZgdD1srfPKi1mM0Os30
uR7I5R3lwh4i5q/+ENVG+7CLrL6TkvicYUo4Zm56kg82Cpj0UWt28y2jirBVtGaT
gDAtV3kclzek5EspOizFKAc+0Ws0qpsnWITFBsyej7LxnpHVyqNzd+J8x43fDjYx
ZCuohQ+Q0hP4ROofM2UpgpQZqkzmL2roAekIId3va1i8PJxEcMYBUDl3tlUF2ciN
Fa7qdI0qwU/celFKz8a2/gguhq1f3KvD/tZ3ArhHH2GLsAxbfsud3EebKcZx3OkD
/1/XOSpMyic/to5J6y8hnGglTOPmdvsWZ5nJ5pY+i8J5Atisod7JZm6KtGaZcGg=
=J+wW
-----END PGP SIGNATURE-----


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]