This is the mail archive of the cgen@sourceware.org mailing list for the CGEN 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: cgen->sim question


Doug Evans wrote:

>>   I've seen this too.  I made it go away by changing the hardware
>> element type
>> in the define-normal-operand from h-addr to h-uint (or h-sint in some
>> cases).
>>  I don't know for a fact if it was the right thing to do, but all the
>> generated code ended up looking sane; it does leave me a little unsure,
>> however, because now I don't know what h-addr is actually supposed to
>> be used
>> for - my port ends up not using it at all anywhere, and everything
>> appears to
>> work.
>>   
> 
> Huh.  I tried it and it worked ok.

  In my case it's probably related to the unusual machine word size.

    cheers,
      DaveK


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