[Top][All Lists]

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

[Bug gas/25517] New: [Z80][PATCH] Use -march=CPU[-EXT][+EXT] instead of

From: sergey.belyashov at gmail dot com
Subject: [Bug gas/25517] New: [Z80][PATCH] Use -march=CPU[-EXT][+EXT] instead of lot of options of GAS
Date: Fri, 07 Feb 2020 15:22:33 +0000


            Bug ID: 25517
           Summary: [Z80][PATCH] Use -march=CPU[-EXT][+EXT] instead of lot
                    of options of GAS
           Product: binutils
           Version: unspecified
            Status: UNCONFIRMED
          Severity: enhancement
          Priority: P2
         Component: gas
          Assignee: unassigned at sourceware dot org
          Reporter: sergey.belyashov at gmail dot com
  Target Milestone: ---

Created attachment 12272
  --> https://sourceware.org/bugzilla/attachment.cgi?id=12272&action=edit
Add -march option to GAS

Historically Z80 GAS port uses options -z80, -r800 and similar to select ISA,
and much of -Fins, -Wnud and similar to enable/disable undocumented
instructions. This patch replaces all of them by generic option
-march=CPU[-EXT...][+EXT...]. Where CPU is one of currently supported by Z80
GAS port CPUs (z80, z180, ez80...) and EXT is one or more of extentions and
undocumented instruction mnemonics. For example option -march=Z80-full+sli
selects Z80 CPU, removes support for all undocumented instructions, and adds
support for instruction SLI. It is not same as in i386 port (idea is taken from
there), but little shorter.

Also I remove recently added options -gbz80 and -z80n, which are not in any

All old options are removed from manual and build-in help. But support for them
is kept for backward compatibility. I think, it may be removed after several

All test are updated too.

You are receiving this mail because:
You are on the CC list for the bug.

reply via email to

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