From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:51489) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1broSc-000865-F8 for qemu-devel@nongnu.org; Wed, 05 Oct 2016 11:50:25 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1broSa-00028X-KH for qemu-devel@nongnu.org; Wed, 05 Oct 2016 11:50:21 -0400 References: <5633551F-5246-43D5-8685-9787D82F9FE3@gmail.com> From: Bastian Koppelmann Message-ID: <60d43bba-a4f3-3875-4736-34519afdfca0@mail.uni-paderborn.de> Date: Wed, 5 Oct 2016 17:50:09 +0200 MIME-Version: 1.0 In-Reply-To: <5633551F-5246-43D5-8685-9787D82F9FE3@gmail.com> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 8bit Subject: Re: [Qemu-devel] gen_helper_compute_fprf() definition List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , 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