Skip to contentSkip to conversation

gen_helper_compute_fprf() definition

Qemu-devel Programmingkid 2 participants 2 messages Oct 5, 2016

lore
Share & tools
lore
#0 lore raw

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

#1 lore raw
Quoted 2 lines · Programmingkid

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