------- Additional Comments From hjl dot tools at gmail dot com  2009-01-25 
20:07 -------
(In reply to comment #2)
> Subject: Re:  Additional switches to disallow processor supplementary 
> instructions
> 
> 
> --- On Sun, 25/1/09, hjl dot tools at gmail dot com
<sourceware-bugzi...@sourceware.org> wrote:
> 
> > I can add switches based on CPUID features. I can't add
> > switches
> > for instructions without feature bits from CPUID.
> 
> I'm not sure what you mean here.
> 
> I must confess that I have not looked at the code, but I would guess that you
would you just set a flag for each of the options and then if an instruction
encountered has a flag set against it, abort with a compilation error.
> 

That is pretty much how it is implemented. But I can't do it for
any arbitrary instructions. The instruction availability has to be
able to detected at run-time via CPUID insn.



-- 


http://sourceware.org/bugzilla/show_bug.cgi?id=9782

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


_______________________________________________
bug-binutils mailing list
bug-binutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-binutils

Reply via email to