This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

"return" RTL template


Hello,
In my ported .md file I have defined a "return" for a function, that does not return any values, RTL as follows:


(define_insn "return"
  [(return)]
  ""
  "ret"
)

But, in thi assembly code I get nothing, i.e. no 'ret' instruction appears
What is wrong ?

Regards
Petar


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]