* No code for 0-operand extracts?
@ 2000-12-04 4:45 Ben Elliston
2000-12-04 10:43 ` Doug Evans
0 siblings, 1 reply; 3+ messages in thread
From: Ben Elliston @ 2000-12-04 4:45 UTC (permalink / raw)
To: CGEN
CGEN's generation of extraction code includes supporting variables for
extracting operands even for instructions with no operands. This makes GCC
go crazy at high warning levels. Is it easy to skip this if the instruction
has no operands?
Ben
^ permalink raw reply [flat|nested] 3+ messages in thread
* No code for 0-operand extracts?
2000-12-04 4:45 No code for 0-operand extracts? Ben Elliston
@ 2000-12-04 10:43 ` Doug Evans
2000-12-04 16:20 ` Ben Elliston
0 siblings, 1 reply; 3+ messages in thread
From: Doug Evans @ 2000-12-04 10:43 UTC (permalink / raw)
To: Ben Elliston; +Cc: CGEN
Ben Elliston writes:
> CGEN's generation of extraction code includes supporting variables for
> extracting operands even for instructions with no operands. This makes GCC
> go crazy at high warning levels. Is it easy to skip this if the instruction
> has no operands?
You'll have to be more specific.
[one might infer this is the `attribute unused' aversion that has
been bantered about]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: No code for 0-operand extracts?
2000-12-04 10:43 ` Doug Evans
@ 2000-12-04 16:20 ` Ben Elliston
0 siblings, 0 replies; 3+ messages in thread
From: Ben Elliston @ 2000-12-04 16:20 UTC (permalink / raw)
To: Doug Evans; +Cc: CGEN
You'll have to be more specific.
Sorry -- I realise now that I was a bit vague.
[one might infer this is the `attribute unused' aversion that has
been bantered about]
In extract_sfmt_break (which is a typical instruction which has no
operands), CGEN includes the following:
CGEN_INSN_INT insn = entire_insn;
This is never used by the extraction routine.
Ben
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2000-12-04 16:20 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-12-04 4:45 No code for 0-operand extracts? Ben Elliston
2000-12-04 10:43 ` Doug Evans
2000-12-04 16:20 ` Ben Elliston
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).