[M3commit] CVS Update: cm3

Tony Hosking hosking at cs.purdue.edu
Tue Feb 17 10:59:06 CET 2009


The gcc-based backend supports all sizes: 8, 16, 32, 64.

On 17 Feb 2009, at 19:39, Jay wrote:

>
> For whatever reason, the Microsoft compiler only exposes 16/32/64,  
> but not 8:
>
>
> http://msdn.microsoft.com/en-us/library/ttk2z1ws.aspx
>
>
> There is Or8, And8, Xor8 though.
>
>
> - Jay
>
>
> ----------------------------------------
>> From: hosking at cs.purdue.edu
>> To: jay.krell at cornell.edu
>> Date: Tue, 17 Feb 2009 19:20:29 +1100
>> CC: m3commit at elegosoft.com
>> Subject: Re: [M3commit] CVS Update: cm3
>>
>> This is experimental stuff. 8 & 16 work on x86.
>>
>> On 17 Feb 2009, at 18:16, Jay wrote:
>>
>>>
>>> I think 8 and 16 bit types will be difficult on some systems.
>>>
>>> It can perhaps be synthesized by rounding the address down to be
>>> 32/64-aligned and doing a 32/64-bit operation there, but the other
>>> data might be protected by an old fashioned lock and..I don't think
>>> that works out correctly.
>>>
>>> Granted, I don't know if you have extended support to 8 and 16 bit
>>> types, just speculating.
>>>
>>> - Jay
>>>
>>>
>>> ----------------------------------------
>>>> Date: Tue, 17 Feb 2009 08:04:03 +0000
>>>> To: m3commit at elegosoft.com
>>>> From: hosking at elego.de
>>>> Subject: [M3commit] CVS Update: cm3
>>>>
>>>> CVSROOT: /usr/cvs
>>>> Changes by: hosking at birch. 09/02/17 08:04:03
>>>>
>>>> Modified files:
>>>> cm3/m3-sys/m3middle/src/: M3CG.m3 M3CG_BinWr.m3 M3CG_Check.m3
>>>> M3CG_Ops.i3 M3CG_Wr.m3
>>>>
>>>> Log message:
>>>> Generalize atomic ops to all memory types (MType).
>>>>
>>




More information about the M3commit mailing list