microblaze unroll loops optimization
Michael Eager
eager@eagercon.com
Sat Jan 12 03:21:00 GMT 2013
On 01/11/2013 06:53 PM, David Holsgrove wrote:
> Hi all,
>
> I believe the decision to use UNSPEC_CMP and UNSPEC_CMPU for microblaze
> compare instructions stems from the conversation in this thread from 2009;
>
> http://gcc.gnu.org/ml/gcc/2009-12/msg00283.html
Thanks for reminding me. I'd forgotten that Paolo suggested using UNSPEC.
I still think it's a bit odd. Other targets use the comparison
operator (e.g., lt, ge, etc.). Microblaze should as well.
> This makes sense, because if I use code attributes and iterators to extend the
> compare insn as so;
>
> (define_code_iterator any_cmp [gt ge lt le gtu geu ltu leu])
Using UNSPEC and code interators should be unrelated.
--
Michael Eager eager@eagercon.com
1960 Park Blvd., Palo Alto, CA 94306 650-325-8077
More information about the Gcc
mailing list