From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:40786) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y9yJo-0006Jy-2I for qemu-devel@nongnu.org; Sat, 10 Jan 2015 10:51:17 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Y9yJk-0000j0-SP for qemu-devel@nongnu.org; Sat, 10 Jan 2015 10:51:15 -0500 Received: from mail.uni-paderborn.de ([131.234.142.9]:52156) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y9yJk-0000io-Lf for qemu-devel@nongnu.org; Sat, 10 Jan 2015 10:51:12 -0500 From: Bastian Koppelmann Date: Sat, 10 Jan 2015 16:51:48 +0000 Message-Id: <1420908708-9220-1-git-send-email-kbastian@mail.uni-paderborn.de> Subject: [Qemu-devel] [PATCH] tcg: Add documentation for missing tcg-ops List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: rth@twiddle.net The documentation for the tcg-ops subfi, extr_i64_i32 and extr32_i64 was still missing. Signed-off-by: Bastian Koppelmann --- tcg/README | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/tcg/README b/tcg/README index a550ff1..ba40023 100644 --- a/tcg/README +++ b/tcg/README @@ -179,6 +179,10 @@ t0=t1+t2 t0=t1-t2 +* subfi_i32/i64 t0, const, t1 + +t0 = const-t1 + * neg_i32/i64 t0, t1 t0=-t1 (two's complement) @@ -353,6 +357,14 @@ from t2 (32 bit). Construct t0 (64-bit) taking the low half from t1 (64 bit) and the high half from t2 (64 bit). +* extr_i64_i32 t0, t1, t2 +extracts the low half of t2 (64 bit) into t0 (32 bit) and the high half into +t1 (32 bit). + +* extr32_i64 t0, t1, t2 +extracts the low half of t2 (64 bit) into t0 (64 bit) and the high half into +t1 (64 bit). Both values are not sign extended. + ********* Load/Store * ld_i32/i64 t0, t1, offset -- 2.2.1