[Nasm-bugs] [Bug 3392480] New: macro CPU doesn't work as expected.

noreply-nasm at gorcunov.org noreply-nasm at gorcunov.org
Fri May 11 21:25:06 PDT 2018


https://bugzilla.nasm.us/show_bug.cgi?id=3392480

            Bug ID: 3392480
           Summary: macro CPU doesn't work as expected.
           Product: NASM
           Version: 2.13.xx
          Hardware: All
                OS: All
            Status: OPEN
          Severity: normal
          Priority: Medium
         Component: Assembler
          Assignee: nobody at nasm.us
          Reporter: fullofbug at gmail.com
                CC: gorcunov at gmail.com, hpa at zytor.com, nasm-bugs at nasm.us
     Obtained from: Binary from nasm.us

Macro CPU and its primitive form [cpu] don't work for "any", "all" and
"default".
CPU any
CPU all
CPU default
all cause error (unknown 'cpu' type). Note: These three options are found in
source code (directiv.c) but are not mentioned in NASM documentation.

Also, can you please update the list of CPU ids, so that we can use things like
"CPU HASWELL" or "CPU AVX2"? The list is more than ten year old and is very
outdated.

Thanks!

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are watching all bug changes.


More information about the Nasm-bugs mailing list