bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug gas/9782] Additional switches to disallow processor supplementary i


From: hjl dot tools at gmail dot com
Subject: [Bug gas/9782] Additional switches to disallow processor supplementary instructions
Date: 25 Jan 2009 20:07:06 -0000

------- 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
<address@hidden> 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.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]