This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
RE: [MIPS] Add new virtualization instructions
- From: Chao-Ying Fu <Chao-Ying dot Fu at imgtec dot com>
- To: 'Richard Sandiford' <rdsandiford at googlemail dot com>, "Maciej W. Rozycki" <macro at codesourcery dot com>
- Cc: "'Pinski, Andrew'" <Andrew dot Pinski at caviumnetworks dot com>, "binutils at sourceware dot org" <binutils at sourceware dot org>
- Date: Thu, 13 Jun 2013 21:09:27 +0000
- Subject: RE: [MIPS] Add new virtualization instructions
- References: <e790fa722ba34ff097a964d1dfa06e9d at BY2PR07MB058 dot namprd07 dot prod dot outlook dot com> <87wqr81o3b dot fsf at sandifor-thinkpad dot stglab dot manchester dot uk dot ibm dot com> <98cba9069a7141f399456267fe33b95f at BY2PR07MB058 dot namprd07 dot prod dot outlook dot com> <87d2szptbr dot fsf at sandifor-thinkpad dot stglab dot manchester dot uk dot ibm dot com> <81D57523CB07B24881D63DE650C6ED82EDBB9B at bamail02 dot ba dot imgtec dot org> <bd8d0ebef46949869722652cd2cab2d1 at BY2PR07MB058 dot namprd07 dot prod dot outlook dot com> <81D57523CB07B24881D63DE650C6ED82018D3FE3 at BADAG02 dot ba dot imgtec dot org> <alpine dot DEB dot 1 dot 10 dot 1306130105100 dot 16287 at tp dot orcam dot me dot uk> <81D57523CB07B24881D63DE650C6ED82018D4A32 at BADAG02 dot ba dot imgtec dot org> <alpine dot DEB dot 1 dot 10 dot 1306131847410 dot 16287 at tp dot orcam dot me dot uk> <87txl1229r dot fsf at talisman dot default>
Richard Sandiford wrote:
> > Given the above how about:
> >
> > #define ISA_SUPPORTS_VIRT64_ASE (mips_opts.isa == ISA_MIPS64R2
> > || (mips_opts.micromips
> > && ISA_HAS_64BIT_REGS
> (mips_opts.isa)))
> >
> > ? We'll then do the same if e.g. DSP64 is added to the microMIPS
> > instruction set.
>
> Yeah, that'd be OK for now. There are some "cleanups" I'd
> like to make
> to the way we handle this kind of thing, but it'd be easier to do that
> once this and the EVA patches are in.
I just checked in the microMIPS virtualization patch that Maciej and Richard suggest.
Cleanups can happen later. Thanks a lot!
Regards,
Chao-ying