From: Dmitry <diwil@eis.ru>
To: gcc@gcc.gnu.org
Subject: how to force reloader(?) to respect clobber directive?
Date: Tue, 26 Feb 2002 01:20:00 -0000 [thread overview]
Message-ID: <20020226121343.27800870.diwil@eis.ru> (raw)
Fellows,
I define:
(define_insn "tstsi"
[(set (cc0) (match_operand:SI 0 "register_operand" "r"))
(clobber (match_dup 0))]
""
"* return msp430_emit_tstsi(insn, operands, NULL);"
[(set_attr "length" "2")
(set_attr "cc" "compare")])
Compiler produces a code in which 0 operand clobbered and used after this insn as being saved.
Should I define something extra to say to gcc to threat 0 operand as clobbered after insn?
Thanks,
~d
*********************************************************************
("`-''-/").___..--''"`-._ (\ Dimmy the Wild UA1ACZ
`6_ 6 ) `-. ( ).`-.__.`) Enterprise Information Sys
(_Y_.)' ._ ) `._ `. ``-..-' Nevsky prospekt, 20 / 44
_..`--'_..-_/ /--'_.' ,' Saint Petersburg, Russia
(il),-'' (li),' ((!.-' +7 (812) 314-8860, 5585314
*********************************************************************
next reply other threads:[~2002-02-26 9:18 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-02-26 1:20 Dmitry [this message]
2002-02-26 9:51 ` Richard Henderson
2002-02-26 11:41 ` Dimmy
2002-02-26 11:47 ` Jan Hubicka
2002-02-26 12:49 ` Dimmy
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=20020226121343.27800870.diwil@eis.ru \
--to=diwil@eis.ru \
--cc=gcc@gcc.gnu.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).