It has been quite a while since I played with CGEN ... but what I remember is 
that there are default settings.
You would assign the base instructions to this machine. For example all OR1K 
must support the ORBIS32-Class1 instructions; that is guaranteed to run (or at 
least should run) on all implementations.

The 64bit and floating point stuff are then simply extensions to the base 
instruction set.
Hardware mult and divider are additional extensions.


I think you have only 1 architecture; OR1K.

Richard



On Jan 3, 2012, at 6:38 , Julius Baxter wrote:

> On Mon, Jan 2, 2012 at 7:09 AM, Richard Herveille <[email protected]> 
> wrote:
>> Hi Julius,
>>> 
>>> Something I'm curious about is how the different machines might be
>>> selected when using the compiler, so it knows not to emit the 64-bit
>>> data instructions when using or32, for instance.
>> 
>> These are different command line options. Look at how the 68k stuff is 
>> implemented to get an idea how this works.
>> 
> 
> Hi Richard,
> 
> Ah yes, so perhaps we would have a bare metal tool chain with the
> or32-elf-* name and pass -mor32 to it to specify the 32-bit or1k
> machine? I would hope, though, there's ways of building the tool chain
> where we can hard code such options, but is that more in the realm of
> the gcc tool chain config?
> 
> Cheers,
> 
> Julius

_______________________________________________
OpenRISC mailing list
[email protected]
http://lists.openrisc.net/listinfo/openrisc

Reply via email to