Re: Complex half-word operations

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 18 October 2011 23:08, Ian Lance Taylor <iant@xxxxxxxxxx> wrote:
> On Tue, Oct 18, 2011 at 10:20 AM, Ayonam Ray <ayonam@xxxxxxxxx> wrote:
>>> I don't think the gcc middle-end has any support for machines which provide
>>> special handling for complex int.  I think the middle-end always breaks up
>>> complex int operations into pairs of int operations.  So to make this work you
>>> would probably have to add that support.
>>>
>>
>> Thanks Ian for the reply.  Can you please point me to the files in the
>> middle-end where I may find the relevant code?
>
> There are probably multiple places to look.  I would start with genopinit.c
> and expr.c.  Look for support for complex float and see how to add support
> for complex int.  This won't be a simple task, and you'll need to have a
> pretty clear understanding of how gcc works internally.
>
> Ian
>

Thanks again for the pointers.  Yes, I do appreciate that this won't
be a simple task.  I want to be able to scope the task for now.

Also, don't you think I need to add similar support to the other
passes down the line so that they understand the operation?  Any
pointers there?

Thanks much.
Ayonam



[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux