public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* how to force reloader(?) to respect clobber directive?
@ 2002-02-26  1:20 Dmitry
  2002-02-26  9:51 ` Richard Henderson
  0 siblings, 1 reply; 5+ messages in thread
From: Dmitry @ 2002-02-26  1:20 UTC (permalink / raw)
  To: gcc

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
*********************************************************************

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2002-02-26 19:55 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-02-26  1:20 how to force reloader(?) to respect clobber directive? Dmitry
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

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).