public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
* CGEN depending on gas scrubbing internals
@ 2024-07-08 12:53 Jan Beulich
  0 siblings, 0 replies; only message in thread
From: Jan Beulich @ 2024-07-08 12:53 UTC (permalink / raw)
  To: Doug Evans, Frank Ch. Eigler; +Cc: cgen, Binutils

Hello,

while working on dealing with fallout from scrubber adjustments proposed
(in an early form) in [1], I came to spot this comment in
opcodes/cgen-asm.in:parse_insn_normal():

	  /* FIXME: We also take inappropriate advantage of the fact that
	     GAS's input scrubber will remove extraneous blanks.  */

This comment has been around forever since the introduction of the file,
i.e. well over 20 years - are there any plans to deal with it? As it
stands for targets using cgen I can't see how to deal with there going to
survive more whitespace past scrubbing. Looking at fr30 I'm left with the
impression that ' ' in a syntax description indicates mandatory
whitespace, while there doesn't look to be any way to indicate such being
optional. Suggestions very welcome.

Jan

[1] https://sourceware.org/pipermail/binutils/2024-June/135221.html

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2024-07-08 12:53 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-07-08 12:53 CGEN depending on gas scrubbing internals Jan Beulich

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).