[Yhc] Re: YHC doesn't work on AMD64

Thomas Shackell shackell at cs.york.ac.uk
Thu Nov 24 09:11:44 EST 2005


Done.


Tom

Michał Pałka wrote:
> A fix for decodeFloat32 needed on my system.
> 
> On Thu, 2005-11-24 at 12:43 +0000, Thomas Shackell wrote:
> 
>>Michał Pałka wrote:
>>
>>>Do you have access to an AMD64 machine?
>>
>>I don't unfortunately. It *used* to work on AMD64 at one point, but it 
>>should really be tested regularly. Unfortunately debugging the runtime 
>>system requires quite a bit of knowledge about the inner workings of YHC.
>>
>>I'll try and get it tested on someone elses AMD64 machine soon.
>>
>>
>>>I pulled from yhc-devel and the build broke in the same place. This time
>>>the offending definition and declaration were:
>>>IntegerNode* decodeFloat64(Float64 f, Int32* exp);
>>>IntegerNode* decodeFloat64(Float64 f, Int* rExp)
>>
>>Right, hopefully I've fixed those now. It should have been 'Int' rather 
>>than Int32 because it ends up being put in a Haskell Int (which is a 
>>machine sized word).
>>
>>thanks
>>
>>Tom
>>
>>
>>
>>------------------------------------------------------------------------
>>
>>
>>New patches:
>>
>>[Fixed arg types of decodeFloat32 to match declaration on AMD64
>>Michal Palka <michal.palka at poczta.fm>**20051124140508] {
>>hunk ./src/runtime/BCKernel/integer.c 112
>>-IntegerNode* decodeFloat32(Float32 f, Int32* rExp){
>>+IntegerNode* decodeFloat32(Float32 f, Int* rExp){
>>}
>>
>>Context:
>>
>>[Fixed some AM64 issues (integer.c/integer.h)
>>Tom Shackell <shackell at cs.york.ac.uk>**20051124123931] 
>>[TAG Stable 1
>>Tom Shackell <shackell at cs.york.ac.uk>**20051123104200] 
>>Patch bundle hash:
>>3452c7808756ee6424c96c065df46fce8bd7fff7




More information about the Yhc mailing list