[ms1] Add ms2 support

Nathan Sidwell nathan@codesourcery.com
Mon Nov 7 12:00:00 GMT 2005


Aldy,
this patch adds binutils support for morphotech's ms2 processor. Note that ms1 
is not the same as mrisc2 -- the latter is, confusingly, ms1-16-003.
This adds 6 new instructions (two loop insn and four domain specific ones).

The private data merging is a temporary kludge until gcc multilib support is 
implemented.  The existing behaviour allowed arbitrary merging of ms1 and 
ms1-16-003 object files, even though that is unsafe.  This merely continues that 
behaviour but notes that it is incorrect.

The ms1 architecture name has become less applicable, and a future renaming 
patch is anticipated.  That will rename the canonical architecture 'mt', and 
have 'ms1' and 'ms2' variants.  The 'mt' target will be multilibbed, whereas 
'ms1' and 'ms2' will be single target machines.

ok?

nathan.

-- 
Nathan Sidwell    ::   http://www.codesourcery.com   ::     CodeSourcery LLC
nathan@codesourcery.com    ::     http://www.planetfall.pwp.blueyonder.co.uk

-------------- next part --------------
A non-text attachment was scrubbed...
Name: ms2.patch
Type: text/x-patch
Size: 93044 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/cgen/attachments/20051107/70538deb/attachment.bin>


More information about the Cgen mailing list