From: Aurelien Buhrig <aurelien.buhrig.gcc@gmail.com>
To: cgen@sourceware.org
Subject: multi-ifield issue
Date: Wed, 30 May 2012 09:41:00 -0000 [thread overview]
Message-ID: <4FC5EB3A.7020609@gmail.com> (raw)
Hi,
I think there is a bug when defining an instruction with a multi-ifield
in its format.
I defined :
(dnf f-0 "bit 0" () 0 1)
(dnf f-5 "bit 5" () 5 1)
(dsmf f-05 "bit 0 & 5" () (f-0 f-5))
And when I define an insn with the following format:
(+ (f-05 0) F_MISC F_ADOP ADA_RA sreg dreg)
I get :
Performing sanity checks ...
ERROR: Wrong type argument in position 2: 3
No backtrace available.
Everything works fine if I define:
(+ (f-0 0) (f-5 0) F_MISC F_ADOP ADA_RA sreg dreg)
I'm not a scheme expert and was not able to figure out what's wrong...
Cheers,
Aurélien
reply other threads:[~2012-05-30 9:41 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4FC5EB3A.7020609@gmail.com \
--to=aurelien.buhrig.gcc@gmail.com \
--cc=cgen@sourceware.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).