This is the mail archive of the gcc@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: Code emitted was bloated with no optimisation.


Richard ,
Pmode is defined  HImode and private target is 16 bit where int ,short
and Pmode  is defined  HImode and long as SImode.

Please do let me know if it requires more information on the target.

Thank you
~Umesh

On Fri, Apr 11, 2014 at 4:35 PM, Richard Sandiford
<rsandifo@linux.vnet.ibm.com> wrote:
> Andrew Haley <aph@redhat.com> writes:
>> On 04/10/2014 04:12 PM, Umesh Kalappa wrote:
>>
>>> Please somebody from the group can share their thoughts and will be
>>> appricate the same.
>>
>> But unoptimized code is expected to be large.  Why do you expect
>> otherwise?
>
> Sure, but this is a bit extreme.  I don't see off-hand how a[i]
> would generate a branch, for starters.
>
> But it's very hard to answer this kind of question for a private port.
> How is Pmode defined?  If it's a partial integer mode like PSImode,
> is the problem that the arithmetic is being done in SImode?
>
> Thanks,
> Richard
>


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