qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] gen_helper_compute_fprf() definition
@ 2016-10-05 15:33 Programmingkid
  2016-10-05 15:50 ` Bastian Koppelmann
  0 siblings, 1 reply; 2+ messages in thread
From: Programmingkid @ 2016-10-05 15:33 UTC (permalink / raw)
  To: qemu-devel qemu-devel; +Cc: list@suse.de:PowerPC list:PowerPC

Where is the definition for gen_helper_compute_fprf()? This function is used in fp-impl.inc.c. 

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

* Re: [Qemu-devel] gen_helper_compute_fprf() definition
  2016-10-05 15:33 [Qemu-devel] gen_helper_compute_fprf() definition Programmingkid
@ 2016-10-05 15:50 ` Bastian Koppelmann
  0 siblings, 0 replies; 2+ messages in thread
From: Bastian Koppelmann @ 2016-10-05 15:50 UTC (permalink / raw)
  To: Programmingkid, qemu-devel qemu-devel; +Cc: list@suse.de:PowerPC list:PowerPC

On 10/05/2016 05:33 PM, Programmingkid wrote:
> Where is the definition for gen_helper_compute_fprf()? This function is used in fp-impl.inc.c. 
> 
Depends on what you're looking for.

The function to be called from binary translated code, would be called
"helper_compute_fprf" and can be found in "target-ppc/fpu_helper.c".

The generator function on the other hand is generated using the
preprocessor. The makros that are used to generate the "gen_helper_"
functions can be found in "include/exec/helper-gen.h" and the definition
for "gen_helper_compute_fprf" using the above makro is in
"target-ppc/helper.h".

Cheers,
    Bastian

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

end of thread, other threads:[~2016-10-05 15:50 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-10-05 15:33 [Qemu-devel] gen_helper_compute_fprf() definition Programmingkid
2016-10-05 15:50 ` Bastian Koppelmann

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 NNTP newsgroup(s).