On 11/11/2011 09:02 AM, Philipp Kloke wrote:
> Hi,
>
> I would like to suggest to add a –cpu option to the command line flags
> of nasm (somewhat similar to GCCs –march option) where the user can
> specify the CPU type he is programming for. If the user uses an
> instruction that is not supported by the CPU, the assembler can warn
> about this. This can help to keep code running on old machines.
>
> What do you think about this?
>
Yes, it would be great to have. Looking forward to your patch.
-hpa
--
H. Peter Anvin, Intel Open Source Technology Center
I work for Intel. I don't speak on their behalf.
|