public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* Describe instructions with same reg in def and use or mutiple defs and attach write latency
@ 2022-01-27  1:20 Reshabh K Sharma
  2022-01-28 17:39 ` Jeff Law
  0 siblings, 1 reply; 7+ messages in thread
From: Reshabh K Sharma @ 2022-01-27  1:20 UTC (permalink / raw)
  To: gcc-help

Hello everyone,

I am trying to implement a post address update load instruction in our
downstream riscv backend. I want to attach write latency information to a
use register. For example, rd = new_load rs1 rs2, I want to attach separate
write latency information to both rd and rs1.

I am unable to find how to describe instructions that have an operand as
both def and use, and later attach write latency information for the
instruction scheduler to work properly.

It will also be very helpful if you can point me to the implementation of
similar instructions in other backends, for example, LBZU in PowerPC, ARM's
LWD post/pre address update versions and ARM's neon simd load with update.

Many thanks,
Reshabh

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

end of thread, other threads:[~2022-02-17 18:50 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-01-27  1:20 Describe instructions with same reg in def and use or mutiple defs and attach write latency Reshabh K Sharma
2022-01-28 17:39 ` Jeff Law
2022-01-28 18:21   ` Segher Boessenkool
2022-02-04  1:06     ` Reshabh K Sharma
2022-02-04  1:31       ` Segher Boessenkool
2022-02-16 19:41         ` Reshabh K Sharma
2022-02-17 18:48           ` Segher Boessenkool

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