From nobody Sun Nov 24 23:52:28 2024 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org ARC-Seal: i=1; a=rsa-sha256; t=1719496781; cv=none; d=zohomail.com; s=zohoarc; b=HTJFODvnfw+UgEP87DvidXYB7+J1KvUHUgCB+nNO+B2zP/S6rAUDrZex/D+G6+4Oo7kEmAQ1yu73vGknPZgxMUvd+7p5DIEJmyU8aLYmDQwfwlkry9XP7RGeYQbMRdC8wuQ0R1R5YqtXS05lrIHjfaHVI72vJpvLQFA0dE4pPaE= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1719496781; h=Content-Type:Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:Subject:To:To:Message-Id:Reply-To; bh=MhiUaDdJSMOmjl3vDBocvu23IjJvYZPiykTiqCH6Byo=; b=Qknl/hcMuEqUJ4XPLiEsno027ZEb03R6+yuXWZmnlAbxb75h9uldpCVW/maXxPxGk92eid402+Z3tmHqI7txpixmFW9xKfiFOTGOUQhbcUJ3m1W5y9UWNVrRIdTDmNSgrsCPXkXVr/+sYnSdZrS81446KKUDhuXcpflYdzw0u5M= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 17194967816861021.2983198313166; Thu, 27 Jun 2024 06:59:41 -0700 (PDT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sMpdt-0002Ou-De; Thu, 27 Jun 2024 09:58:29 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sMpdp-0002J4-DD for qemu-devel@nongnu.org; Thu, 27 Jun 2024 09:58:25 -0400 Received: from mail-pj1-x1034.google.com ([2607:f8b0:4864:20::1034]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sMpdj-0007nh-9d for qemu-devel@nongnu.org; Thu, 27 Jun 2024 09:58:23 -0400 Received: by mail-pj1-x1034.google.com with SMTP id 98e67ed59e1d1-2c7ecfc9e22so5810573a91.0 for ; Thu, 27 Jun 2024 06:58:18 -0700 (PDT) Received: from localhost ([2400:4050:a840:1e00:9ac7:6d57:2b16:6932]) by smtp.gmail.com with UTF8SMTPSA id 98e67ed59e1d1-2c8fe8acd09sm1471816a91.10.2024.06.27.06.58.15 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 27 Jun 2024 06:58:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=daynix-com.20230601.gappssmtp.com; s=20230601; t=1719496698; x=1720101498; darn=nongnu.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=MhiUaDdJSMOmjl3vDBocvu23IjJvYZPiykTiqCH6Byo=; b=b34/oj+VEuuF+UQgBJhVgeNDzjzr1z2eQeo+L/AbaH+E6yfgiVvrHZqGNrpzySRKaM KsUlay9txFaSH7kWsx1wu+ZFjbzQXu2bwdRCmvS6FhbuZELRBmPude1d60rBv0vXJaNw a8UXKPaLY7GZar5fzcOlpphxEtEd9SzqYo/lhZMafKv65LSfTmCGoDsUBVXOsQlioN5w eAdaPu/ZrWe/TuGMda/rg5oLHM9pGwPfVazjIalPhqA9TRAmSj4CyNxJox1qM2pF1yx1 QGapvnrbRjE3XAynhJL52NMxq4ggWdqj/ZAO3E05hKq0vpU4nd20kG014abtYQNW1LHO toeg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1719496698; x=1720101498; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=MhiUaDdJSMOmjl3vDBocvu23IjJvYZPiykTiqCH6Byo=; b=JNiJlQTwHXul2d1XrRhXliuJwws0TjI/BefbNp1Heb7NLTWvNU0CewQtvVcxHq/pk7 3b/z8G20M9wxYI5rxwV80OXCGtRovIiEGZ+lR1Q5m+8Mzlzyxb2OOQb8KdGst/h1/jip 0KzkfzWMmSyO621X1AssZpQO4aqHtcizwy/iymLEMcnU6i8v6nBboudYu4G72+fIVtqU pZcQAJNbExYxuXRRtdI7fU1o1zvkyhDHhow6PeKm7U1OOQ6yzI7qg91C0NdYwgWD3XgU EPKTKPC7tk91yIa1ut6abbeIiUowQAXttckmPfn6HRiCP9mL+i1EWucd1ym2jc5btaJg +G4Q== X-Forwarded-Encrypted: i=1; AJvYcCVTDVQ9tOeLzkB2Sal3jOpFDc0n/XjHv5S40FafoEpKPuhD3iNsrOeA4tJKKGJ1SbsOH2sM+kr3nplyMS9P24rgZI3Rerc= X-Gm-Message-State: AOJu0YyM7F89mnwVeacW6JLWqgrP6Ghqrd8jKvGae9C7ZJcyVpsC2KeQ YAdcmVM9sAuziKP6o7jifRQkD0QZC+9811ZaMV0uAFP/f0ToGnzpWKZQ8ahhX4RG15/mj56p5NH zAgQ= X-Google-Smtp-Source: AGHT+IFC8sRzi9rGqTE40TKTxRBpvX3ta6+A+mHEHA4IxZgrt6Jf/EYZ0gp8UJxLqrJ34GJce73v+w== X-Received: by 2002:a17:90b:4c89:b0:2c5:249d:67be with SMTP id 98e67ed59e1d1-2c86126b700mr11265589a91.22.1719496697571; Thu, 27 Jun 2024 06:58:17 -0700 (PDT) From: Akihiko Odaki Date: Thu, 27 Jun 2024 22:58:02 +0900 Subject: [PATCH v2 1/6] tests/tcg/arm: Fix fcvt result messages MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20240627-tcg-v2-1-1690a813348e@daynix.com> References: <20240627-tcg-v2-0-1690a813348e@daynix.com> In-Reply-To: <20240627-tcg-v2-0-1690a813348e@daynix.com> To: Peter Maydell , =?utf-8?q?Alex_Benn=C3=A9e?= , =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= Cc: qemu-arm@nongnu.org, qemu-devel@nongnu.org, Akihiko Odaki X-Mailer: b4 0.14-dev-fd6e3 Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: none client-ip=2607:f8b0:4864:20::1034; envelope-from=akihiko.odaki@daynix.com; helo=mail-pj1-x1034.google.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_NONE=0.001 autolearn=unavailable autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: qemu-devel-bounces+importer=patchew.org@nongnu.org X-ZohoMail-DKIM: pass (identity @daynix-com.20230601.gappssmtp.com) X-ZM-MESSAGEID: 1719496783084100005 The test cases for "converting double-precision to single-precision" emits float but the result variable was typed as uint32_t and corrupted the printed values. Propertly type it as float. Signed-off-by: Akihiko Odaki Fixes: 8ec8a55e3fc9 ("tests/tcg/arm: add fcvt test cases for AArch32/64") Reviewed-by: Richard Henderson --- tests/tcg/arm/fcvt.c | 2 +- tests/tcg/aarch64/fcvt.ref | 604 ++++++++++++++++++++++-------------------= ---- 2 files changed, 303 insertions(+), 303 deletions(-) diff --git a/tests/tcg/arm/fcvt.c b/tests/tcg/arm/fcvt.c index 7ac47b564e24..05a27b2d0710 100644 --- a/tests/tcg/arm/fcvt.c +++ b/tests/tcg/arm/fcvt.c @@ -258,7 +258,7 @@ static void convert_double_to_single(void) =20 for (i =3D 0; i < ARRAY_SIZE(double_numbers); ++i) { double input =3D double_numbers[i].d; - uint32_t output; + float output; =20 feclearexcept(FE_ALL_EXCEPT); =20 diff --git a/tests/tcg/aarch64/fcvt.ref b/tests/tcg/aarch64/fcvt.ref index e7af24dc58a8..2726b41063f4 100644 --- a/tests/tcg/aarch64/fcvt.ref +++ b/tests/tcg/aarch64/fcvt.ref @@ -211,45 +211,45 @@ Converting double-precision to half-precision 40 HALF: 0x7f00 (0x1 =3D> INVALID) Converting double-precision to single-precision 00 DOUBLE: nan / 0x007ff4000000000000 (0 =3D> OK) -00 SINGLE: 2.14538649600000000000e+09 / 0x4effc000 (0x1 =3D> INVALID) +00 SINGLE: nan / 0x7fe00000 (0x1 =3D> INVALID) 01 DOUBLE: -nan / 0x00fff8000000000000 (0 =3D> OK) -01 SINGLE: 4.29077299200000000000e+09 / 0x4f7fc000 (0 =3D> OK) +01 SINGLE: -nan / 0xffc00000 (0 =3D> OK) 02 DOUBLE: -inf / 0x00fff0000000000000 (0 =3D> OK) -02 SINGLE: 4.28657868800000000000e+09 / 0x4f7f8000 (0 =3D> OK) +02 SINGLE: -inf / 0xff800000 (0 =3D> OK) 03 DOUBLE: -1.79769313486231570815e+308 / 0x00ffefffffffffffff (0 =3D> OK) -03 SINGLE: 4.28657868800000000000e+09 / 0x4f7f8000 (0x14 =3D> OVERFLOW = INEXACT ) +03 SINGLE: -inf / 0xff800000 (0x14 =3D> OVERFLOW INEXACT ) 04 DOUBLE: -3.40282346638528859812e+38 / 0x00c7efffffe0000000 (0 =3D> OK) -04 SINGLE: 4.28657868800000000000e+09 / 0x4f7f8000 (0x10 =3D> INEXACT ) +04 SINGLE: -3.40282346638528859812e+38 / 0xff7fffff (0 =3D> OK) 05 DOUBLE: -3.40282346638528859812e+38 / 0x00c7efffffe0000000 (0 =3D> OK) -05 SINGLE: 4.28657868800000000000e+09 / 0x4f7f8000 (0x10 =3D> INEXACT ) +05 SINGLE: -3.40282346638528859812e+38 / 0xff7fffff (0 =3D> OK) 06 DOUBLE: -1.11100000000000007529e+31 / 0x00c661874b135ff654 (0 =3D> OK) -06 SINGLE: 4.07766476800000000000e+09 / 0x4f730c3a (0x10 =3D> INEXACT ) +06 SINGLE: -1.11100004769645909791e+31 / 0xf30c3a59 (0x10 =3D> INEXACT= ) 07 DOUBLE: -1.11099999999999999085e+30 / 0x00c62c0bab523323b9 (0 =3D> OK) -07 SINGLE: 4.04962432000000000000e+09 / 0x4f71605d (0x10 =3D> INEXACT ) +07 SINGLE: -1.11100003258488635273e+30 / 0xf1605d5b (0x10 =3D> INEXACT= ) 08 DOUBLE: -2.00000000000000000000e+00 / 0x00c000000000000000 (0 =3D> OK) -08 SINGLE: 3.22122547200000000000e+09 / 0x4f400000 (0 =3D> OK) +08 SINGLE: -2.00000000000000000000e+00 / 0xc0000000 (0 =3D> OK) 09 DOUBLE: -1.00000000000000000000e+00 / 0x00bff0000000000000 (0 =3D> OK) -09 SINGLE: 3.21283686400000000000e+09 / 0x4f3f8000 (0 =3D> OK) +09 SINGLE: -1.00000000000000000000e+00 / 0xbf800000 (0 =3D> OK) 10 DOUBLE: -2.22507385850720138309e-308 / 0x008010000000000000 (0 =3D> OK) -10 SINGLE: 2.14748364800000000000e+09 / 0x4f000000 (0x18 =3D> UNDERFLOW = INEXACT ) +10 SINGLE: -0.00000000000000000000e+00 / 0x80000000 (0x18 =3D> UNDERFLOW= INEXACT ) 11 DOUBLE: -1.17549435082228750797e-38 / 0x00b810000000000000 (0 =3D> OK) -11 SINGLE: 2.15587225600000000000e+09 / 0x4f008000 (0 =3D> OK) +11 SINGLE: -1.17549435082228750797e-38 / 0x80800000 (0 =3D> OK) 12 DOUBLE: 0.00000000000000000000e+00 / 00000000000000000000 (0 =3D> OK) 12 SINGLE: 0.00000000000000000000e+00 / 0000000000 (0 =3D> OK) 13 DOUBLE: 1.17549435082228750797e-38 / 0x003810000000000000 (0 =3D> OK) -13 SINGLE: 8.38860800000000000000e+06 / 0x4b000000 (0 =3D> OK) +13 SINGLE: 1.17549435082228750797e-38 / 0x00800000 (0 =3D> OK) 14 DOUBLE: 2.98023224000000013061e-08 / 0x003e600000001c5f68 (0 =3D> OK) -14 SINGLE: 8.55638016000000000000e+08 / 0x4e4c0000 (0x10 =3D> INEXACT ) +14 SINGLE: 2.98023223876953125000e-08 / 0x33000000 (0x10 =3D> INEXACT ) 15 DOUBLE: 5.96046000000000015661e-08 / 0x003e6ffffe6cb2fa82 (0 =3D> OK) -15 SINGLE: 8.64026624000000000000e+08 / 0x4e4e0000 (0x10 =3D> INEXACT ) +15 SINGLE: 5.96045985901128005935e-08 / 0x337ffff3 (0x10 =3D> INEXACT ) 16 DOUBLE: 6.09755999999999994299e-05 / 0x003f0ff801a9af58a1 (0 =3D> OK) -16 SINGLE: 9.47896320000000000000e+08 / 0x4e61ff00 (0x10 =3D> INEXACT ) +16 SINGLE: 6.09755988989491015673e-05 / 0x387fc00d (0x10 =3D> INEXACT ) 17 DOUBLE: 6.10352000000000013665e-05 / 0x003f100000c06a1ef5 (0 =3D> OK) -17 SINGLE: 9.47912704000000000000e+08 / 0x4e620000 (0x10 =3D> INEXACT ) +17 SINGLE: 6.10351999057456851006e-05 / 0x38800006 (0x10 =3D> INEXACT ) 18 DOUBLE: 1.00000000000000000000e+00 / 0x003ff0000000000000 (0 =3D> OK) -18 SINGLE: 1.06535321600000000000e+09 / 0x4e7e0000 (0 =3D> OK) +18 SINGLE: 1.00000000000000000000e+00 / 0x3f800000 (0 =3D> OK) 19 DOUBLE: 1.00097656250000000000e+00 / 0x003ff0040000000000 (0 =3D> OK) -19 SINGLE: 1.06536140800000000000e+09 / 0x4e7e0080 (0 =3D> OK) +19 SINGLE: 1.00097656250000000000e+00 / 0x3f802000 (0 =3D> OK) 20 DOUBLE: 2.22507385850720138309e-308 / 0x000010000000000000 (0 =3D> OK) 20 SINGLE: 0.00000000000000000000e+00 / 0000000000 (0x18 =3D> UNDERFLOW = INEXACT ) 21 DOUBLE: 1.37899728486072282843e-308 / 0x000009ea82a2287680 (0 =3D> OK) @@ -257,41 +257,41 @@ Converting double-precision to single-precision 22 DOUBLE: 1.49147387366816238763e-308 / 0x00000ab98fba843210 (0 =3D> OK) 22 SINGLE: 0.00000000000000000000e+00 / 0000000000 (0x18 =3D> UNDERFLOW = INEXACT ) 23 DOUBLE: 1.00000000000000000000e+00 / 0x003ff0000000000000 (0 =3D> OK) -23 SINGLE: 1.06535321600000000000e+09 / 0x4e7e0000 (0 =3D> OK) +23 SINGLE: 1.00000000000000000000e+00 / 0x3f800000 (0 =3D> OK) 24 DOUBLE: 2.00000000000000000000e+00 / 0x004000000000000000 (0 =3D> OK) -24 SINGLE: 1.07374182400000000000e+09 / 0x4e800000 (0 =3D> OK) +24 SINGLE: 2.00000000000000000000e+00 / 0x40000000 (0 =3D> OK) 25 DOUBLE: 2.71828182845904509080e+00 / 0x004005bf0a8b145769 (0 =3D> OK) -25 SINGLE: 1.07675456000000000000e+09 / 0x4e805bf1 (0x10 =3D> INEXACT ) +25 SINGLE: 2.71828174591064453125e+00 / 0x402df854 (0x10 =3D> INEXACT ) 26 DOUBLE: 3.14159265358979311600e+00 / 0x00400921fb54442d18 (0 =3D> OK) -26 SINGLE: 1.07853004800000000000e+09 / 0x4e809220 (0x10 =3D> INEXACT ) +26 SINGLE: 3.14159274101257324219e+00 / 0x40490fdb (0x10 =3D> INEXACT ) 27 DOUBLE: 6.55030000000000000000e+04 / 0x0040effbe000000000 (0 =3D> OK) -27 SINGLE: 1.19956249600000000000e+09 / 0x4e8effbe (0 =3D> OK) +27 SINGLE: 6.55030000000000000000e+04 / 0x477fdf00 (0 =3D> OK) 28 DOUBLE: 6.55040000000000000000e+04 / 0x0040effc0000000000 (0 =3D> OK) -28 SINGLE: 1.19956275200000000000e+09 / 0x4e8effc0 (0 =3D> OK) +28 SINGLE: 6.55040000000000000000e+04 / 0x477fe000 (0 =3D> OK) 29 DOUBLE: 6.55050000000000000000e+04 / 0x0040effc2000000000 (0 =3D> OK) -29 SINGLE: 1.19956300800000000000e+09 / 0x4e8effc2 (0 =3D> OK) +29 SINGLE: 6.55050000000000000000e+04 / 0x477fe100 (0 =3D> OK) 30 DOUBLE: 1.31007000000000000000e+05 / 0x0040fffbf000000000 (0 =3D> OK) -30 SINGLE: 1.20795123200000000000e+09 / 0x4e8fffbf (0 =3D> OK) +30 SINGLE: 1.31007000000000000000e+05 / 0x47ffdf80 (0 =3D> OK) 31 DOUBLE: 1.31008000000000000000e+05 / 0x0040fffc0000000000 (0 =3D> OK) -31 SINGLE: 1.20795136000000000000e+09 / 0x4e8fffc0 (0 =3D> OK) +31 SINGLE: 1.31008000000000000000e+05 / 0x47ffe000 (0 =3D> OK) 32 DOUBLE: 1.31009000000000000000e+05 / 0x0040fffc1000000000 (0 =3D> OK) -32 SINGLE: 1.20795148800000000000e+09 / 0x4e8fffc1 (0 =3D> OK) +32 SINGLE: 1.31009000000000000000e+05 / 0x47ffe080 (0 =3D> OK) 33 DOUBLE: 2.14748364700000000000e+09 / 0x0041dfffffffc00000 (0 =3D> OK) -33 SINGLE: 1.32540006400000000000e+09 / 0x4e9e0000 (0x10 =3D> INEXACT ) +33 SINGLE: 2.14748364800000000000e+09 / 0x4f000000 (0x10 =3D> INEXACT ) 34 DOUBLE: 3.40282346638528859812e+38 / 0x0047efffffe0000000 (0 =3D> OK) -34 SINGLE: 2.13909504000000000000e+09 / 0x4eff0000 (0x10 =3D> INEXACT ) +34 SINGLE: 3.40282346638528859812e+38 / 0x7f7fffff (0 =3D> OK) 35 DOUBLE: 3.40282346638528859812e+38 / 0x0047efffffe0000000 (0 =3D> OK) -35 SINGLE: 2.13909504000000000000e+09 / 0x4eff0000 (0x10 =3D> INEXACT ) +35 SINGLE: 3.40282346638528859812e+38 / 0x7f7fffff (0 =3D> OK) 36 DOUBLE: 1.79769313486231570815e+308 / 0x007fefffffffffffff (0 =3D> OK) -36 SINGLE: 2.13909504000000000000e+09 / 0x4eff0000 (0x14 =3D> OVERFLOW = INEXACT ) +36 SINGLE: inf / 0x7f800000 (0x14 =3D> OVERFLOW INEXACT ) 37 DOUBLE: inf / 0x007ff0000000000000 (0 =3D> OK) -37 SINGLE: 2.13909504000000000000e+09 / 0x4eff0000 (0 =3D> OK) +37 SINGLE: inf / 0x7f800000 (0 =3D> OK) 38 DOUBLE: nan / 0x007ff8000000000000 (0 =3D> OK) -38 SINGLE: 2.14328934400000000000e+09 / 0x4eff8000 (0 =3D> OK) +38 SINGLE: nan / 0x7fc00000 (0 =3D> OK) 39 DOUBLE: nan / 0x007ff0000000000001 (0 =3D> OK) -39 SINGLE: 2.14328934400000000000e+09 / 0x4eff8000 (0x1 =3D> INVALID) +39 SINGLE: nan / 0x7fc00000 (0x1 =3D> INVALID) 40 DOUBLE: nan / 0x007ff4000000000000 (0 =3D> OK) -40 SINGLE: 2.14538649600000000000e+09 / 0x4effc000 (0x1 =3D> INVALID) +40 SINGLE: nan / 0x7fe00000 (0x1 =3D> INVALID) Converting half-precision to single-precision 00 HALF: 0xffff (0 =3D> OK) 00 SINGLE: -nan / 0xffffe000 (0 =3D> OK) @@ -574,87 +574,87 @@ Converting double-precision to half-precision 40 HALF: 0x7f00 (0x1 =3D> INVALID) Converting double-precision to single-precision 00 DOUBLE: nan / 0x007ff4000000000000 (0 =3D> OK) -00 SINGLE: 2.14538649600000000000e+09 / 0x4effc000 (0x1 =3D> INVALID) +00 SINGLE: nan / 0x7fe00000 (0x1 =3D> INVALID) 01 DOUBLE: -nan / 0x00fff8000000000000 (0 =3D> OK) -01 SINGLE: 4.29077299200000000000e+09 / 0x4f7fc000 (0 =3D> OK) +01 SINGLE: -nan / 0xffc00000 (0 =3D> OK) 02 DOUBLE: -inf / 0x00fff0000000000000 (0 =3D> OK) -02 SINGLE: 4.28657868800000000000e+09 / 0x4f7f8000 (0 =3D> OK) +02 SINGLE: -inf / 0xff800000 (0 =3D> OK) 03 DOUBLE: -1.79769313486231570814e+308 / 0x00ffefffffffffffff (0 =3D> OK) -03 SINGLE: 4.28657868800000000000e+09 / 0x4f7f8000 (0x14 =3D> OVERFLOW = INEXACT ) +03 SINGLE: -3.40282346638528859811e+38 / 0xff7fffff (0x14 =3D> OVERFLOW = INEXACT ) 04 DOUBLE: -3.40282346638528859811e+38 / 0x00c7efffffe0000000 (0 =3D> OK) -04 SINGLE: 4.28657868800000000000e+09 / 0x4f7f8000 (0x10 =3D> INEXACT ) +04 SINGLE: -3.40282346638528859811e+38 / 0xff7fffff (0 =3D> OK) 05 DOUBLE: -3.40282346638528859811e+38 / 0x00c7efffffe0000000 (0 =3D> OK) -05 SINGLE: 4.28657868800000000000e+09 / 0x4f7f8000 (0x10 =3D> INEXACT ) +05 SINGLE: -3.40282346638528859811e+38 / 0xff7fffff (0 =3D> OK) 06 DOUBLE: -1.11100000000000007529e+31 / 0x00c661874b135ff654 (0 =3D> OK) -06 SINGLE: 4.07766502400000000000e+09 / 0x4f730c3b (0x10 =3D> INEXACT ) +06 SINGLE: -1.11099992680387713644e+31 / 0xf30c3a58 (0x10 =3D> INEXACT= ) 07 DOUBLE: -1.11099999999999999084e+30 / 0x00c62c0bab523323b9 (0 =3D> OK) -07 SINGLE: 4.04962457600000000000e+09 / 0x4f71605e (0x10 =3D> INEXACT ) +07 SINGLE: -1.11099995702702262681e+30 / 0xf1605d5a (0x10 =3D> INEXACT= ) 08 DOUBLE: -2.00000000000000000000e+00 / 0x00c000000000000000 (0 =3D> OK) -08 SINGLE: 3.22122547200000000000e+09 / 0x4f400000 (0 =3D> OK) +08 SINGLE: -2.00000000000000000000e+00 / 0xc0000000 (0 =3D> OK) 09 DOUBLE: -1.00000000000000000000e+00 / 0x00bff0000000000000 (0 =3D> OK) -09 SINGLE: 3.21283686400000000000e+09 / 0x4f3f8000 (0 =3D> OK) +09 SINGLE: -1.00000000000000000000e+00 / 0xbf800000 (0 =3D> OK) 10 DOUBLE: -2.22507385850720138309e-308 / 0x008010000000000000 (0 =3D> OK) -10 SINGLE: 2.14748364800000000000e+09 / 0x4f000000 (0x18 =3D> UNDERFLOW = INEXACT ) +10 SINGLE: -0.00000000000000000000e+00 / 0x80000000 (0x18 =3D> UNDERFLOW= INEXACT ) 11 DOUBLE: -1.17549435082228750796e-38 / 0x00b810000000000000 (0 =3D> OK) -11 SINGLE: 2.15587225600000000000e+09 / 0x4f008000 (0 =3D> OK) +11 SINGLE: -1.17549435082228750796e-38 / 0x80800000 (0 =3D> OK) 12 DOUBLE: 0.00000000000000000000e+00 / 00000000000000000000 (0 =3D> OK) 12 SINGLE: 0.00000000000000000000e+00 / 0000000000 (0 =3D> OK) 13 DOUBLE: 1.17549435082228750797e-38 / 0x003810000000000000 (0 =3D> OK) -13 SINGLE: 8.38860800000000000000e+06 / 0x4b000000 (0 =3D> OK) +13 SINGLE: 1.17549435082228750797e-38 / 0x00800000 (0 =3D> OK) 14 DOUBLE: 2.98023224000000013061e-08 / 0x003e600000001c5f68 (0 =3D> OK) -14 SINGLE: 8.55638080000000000000e+08 / 0x4e4c0001 (0x10 =3D> INEXACT ) +14 SINGLE: 2.98023259404089913006e-08 / 0x33000001 (0x10 =3D> INEXACT ) 15 DOUBLE: 5.96046000000000015662e-08 / 0x003e6ffffe6cb2fa82 (0 =3D> OK) -15 SINGLE: 8.64026624000000000000e+08 / 0x4e4e0000 (0x10 =3D> INEXACT ) +15 SINGLE: 5.96046021428264793940e-08 / 0x337ffff4 (0x10 =3D> INEXACT ) 16 DOUBLE: 6.09755999999999994299e-05 / 0x003f0ff801a9af58a1 (0 =3D> OK) -16 SINGLE: 9.47896384000000000000e+08 / 0x4e61ff01 (0x10 =3D> INEXACT ) +16 SINGLE: 6.09756025369279086590e-05 / 0x387fc00e (0x10 =3D> INEXACT ) 17 DOUBLE: 6.10352000000000013665e-05 / 0x003f100000c06a1ef5 (0 =3D> OK) -17 SINGLE: 9.47912768000000000000e+08 / 0x4e620001 (0x10 =3D> INEXACT ) +17 SINGLE: 6.10352071817032992840e-05 / 0x38800007 (0x10 =3D> INEXACT ) 18 DOUBLE: 1.00000000000000000000e+00 / 0x003ff0000000000000 (0 =3D> OK) -18 SINGLE: 1.06535321600000000000e+09 / 0x4e7e0000 (0 =3D> OK) +18 SINGLE: 1.00000000000000000000e+00 / 0x3f800000 (0 =3D> OK) 19 DOUBLE: 1.00097656250000000000e+00 / 0x003ff0040000000000 (0 =3D> OK) -19 SINGLE: 1.06536140800000000000e+09 / 0x4e7e0080 (0 =3D> OK) +19 SINGLE: 1.00097656250000000000e+00 / 0x3f802000 (0 =3D> OK) 20 DOUBLE: 2.22507385850720138310e-308 / 0x000010000000000000 (0 =3D> OK) -20 SINGLE: 1.00000000000000000000e+00 / 0x3f800000 (0x18 =3D> UNDERFLOW = INEXACT ) +20 SINGLE: 1.40129846432481707093e-45 / 0x00000001 (0x18 =3D> UNDERFLOW = INEXACT ) 21 DOUBLE: 1.37899728486072282844e-308 / 0x000009ea82a2287680 (0 =3D> OK) -21 SINGLE: 1.00000000000000000000e+00 / 0x3f800000 (0x18 =3D> UNDERFLOW = INEXACT ) +21 SINGLE: 1.40129846432481707093e-45 / 0x00000001 (0x18 =3D> UNDERFLOW = INEXACT ) 22 DOUBLE: 1.49147387366816238764e-308 / 0x00000ab98fba843210 (0 =3D> OK) -22 SINGLE: 1.00000000000000000000e+00 / 0x3f800000 (0x18 =3D> UNDERFLOW = INEXACT ) +22 SINGLE: 1.40129846432481707093e-45 / 0x00000001 (0x18 =3D> UNDERFLOW = INEXACT ) 23 DOUBLE: 1.00000000000000000000e+00 / 0x003ff0000000000000 (0 =3D> OK) -23 SINGLE: 1.06535321600000000000e+09 / 0x4e7e0000 (0 =3D> OK) +23 SINGLE: 1.00000000000000000000e+00 / 0x3f800000 (0 =3D> OK) 24 DOUBLE: 2.00000000000000000000e+00 / 0x004000000000000000 (0 =3D> OK) -24 SINGLE: 1.07374182400000000000e+09 / 0x4e800000 (0 =3D> OK) +24 SINGLE: 2.00000000000000000000e+00 / 0x40000000 (0 =3D> OK) 25 DOUBLE: 2.71828182845904509080e+00 / 0x004005bf0a8b145769 (0 =3D> OK) -25 SINGLE: 1.07675456000000000000e+09 / 0x4e805bf1 (0x10 =3D> INEXACT ) +25 SINGLE: 2.71828198432922363282e+00 / 0x402df855 (0x10 =3D> INEXACT ) 26 DOUBLE: 3.14159265358979311600e+00 / 0x00400921fb54442d18 (0 =3D> OK) -26 SINGLE: 1.07853004800000000000e+09 / 0x4e809220 (0x10 =3D> INEXACT ) +26 SINGLE: 3.14159274101257324219e+00 / 0x40490fdb (0x10 =3D> INEXACT ) 27 DOUBLE: 6.55030000000000000000e+04 / 0x0040effbe000000000 (0 =3D> OK) -27 SINGLE: 1.19956249600000000000e+09 / 0x4e8effbe (0 =3D> OK) +27 SINGLE: 6.55030000000000000000e+04 / 0x477fdf00 (0 =3D> OK) 28 DOUBLE: 6.55040000000000000000e+04 / 0x0040effc0000000000 (0 =3D> OK) -28 SINGLE: 1.19956275200000000000e+09 / 0x4e8effc0 (0 =3D> OK) +28 SINGLE: 6.55040000000000000000e+04 / 0x477fe000 (0 =3D> OK) 29 DOUBLE: 6.55050000000000000000e+04 / 0x0040effc2000000000 (0 =3D> OK) -29 SINGLE: 1.19956300800000000000e+09 / 0x4e8effc2 (0 =3D> OK) +29 SINGLE: 6.55050000000000000000e+04 / 0x477fe100 (0 =3D> OK) 30 DOUBLE: 1.31007000000000000000e+05 / 0x0040fffbf000000000 (0 =3D> OK) -30 SINGLE: 1.20795123200000000000e+09 / 0x4e8fffbf (0 =3D> OK) +30 SINGLE: 1.31007000000000000000e+05 / 0x47ffdf80 (0 =3D> OK) 31 DOUBLE: 1.31008000000000000000e+05 / 0x0040fffc0000000000 (0 =3D> OK) -31 SINGLE: 1.20795136000000000000e+09 / 0x4e8fffc0 (0 =3D> OK) +31 SINGLE: 1.31008000000000000000e+05 / 0x47ffe000 (0 =3D> OK) 32 DOUBLE: 1.31009000000000000000e+05 / 0x0040fffc1000000000 (0 =3D> OK) -32 SINGLE: 1.20795148800000000000e+09 / 0x4e8fffc1 (0 =3D> OK) +32 SINGLE: 1.31009000000000000000e+05 / 0x47ffe080 (0 =3D> OK) 33 DOUBLE: 2.14748364700000000000e+09 / 0x0041dfffffffc00000 (0 =3D> OK) -33 SINGLE: 1.32540006400000000000e+09 / 0x4e9e0000 (0x10 =3D> INEXACT ) +33 SINGLE: 2.14748364800000000000e+09 / 0x4f000000 (0x10 =3D> INEXACT ) 34 DOUBLE: 3.40282346638528859812e+38 / 0x0047efffffe0000000 (0 =3D> OK) -34 SINGLE: 2.13909504000000000000e+09 / 0x4eff0000 (0x10 =3D> INEXACT ) +34 SINGLE: 3.40282346638528859812e+38 / 0x7f7fffff (0 =3D> OK) 35 DOUBLE: 3.40282346638528859812e+38 / 0x0047efffffe0000000 (0 =3D> OK) -35 SINGLE: 2.13909504000000000000e+09 / 0x4eff0000 (0x10 =3D> INEXACT ) +35 SINGLE: 3.40282346638528859812e+38 / 0x7f7fffff (0 =3D> OK) 36 DOUBLE: 1.79769313486231570815e+308 / 0x007fefffffffffffff (0 =3D> OK) -36 SINGLE: 2.13909504000000000000e+09 / 0x4eff0000 (0x14 =3D> OVERFLOW = INEXACT ) +36 SINGLE: inf / 0x7f800000 (0x14 =3D> OVERFLOW INEXACT ) 37 DOUBLE: inf / 0x007ff0000000000000 (0 =3D> OK) -37 SINGLE: 2.13909504000000000000e+09 / 0x4eff0000 (0 =3D> OK) +37 SINGLE: inf / 0x7f800000 (0 =3D> OK) 38 DOUBLE: nan / 0x007ff8000000000000 (0 =3D> OK) -38 SINGLE: 2.14328934400000000000e+09 / 0x4eff8000 (0 =3D> OK) +38 SINGLE: nan / 0x7fc00000 (0 =3D> OK) 39 DOUBLE: nan / 0x007ff0000000000001 (0 =3D> OK) -39 SINGLE: 2.14328934400000000000e+09 / 0x4eff8000 (0x1 =3D> INVALID) +39 SINGLE: nan / 0x7fc00000 (0x1 =3D> INVALID) 40 DOUBLE: nan / 0x007ff4000000000000 (0 =3D> OK) -40 SINGLE: 2.14538649600000000000e+09 / 0x4effc000 (0x1 =3D> INVALID) +40 SINGLE: nan / 0x7fe00000 (0x1 =3D> INVALID) Converting half-precision to single-precision 00 HALF: 0xffff (0 =3D> OK) 00 SINGLE: -nan / 0xffffe000 (0 =3D> OK) @@ -937,45 +937,45 @@ Converting double-precision to half-precision 40 HALF: 0x7f00 (0x1 =3D> INVALID) Converting double-precision to single-precision 00 DOUBLE: nan / 0x007ff4000000000000 (0 =3D> OK) -00 SINGLE: 2.14538649600000000000e+09 / 0x4effc000 (0x1 =3D> INVALID) +00 SINGLE: nan / 0x7fe00000 (0x1 =3D> INVALID) 01 DOUBLE: -nan / 0x00fff8000000000000 (0 =3D> OK) -01 SINGLE: 4.29077299200000000000e+09 / 0x4f7fc000 (0 =3D> OK) +01 SINGLE: -nan / 0xffc00000 (0 =3D> OK) 02 DOUBLE: -inf / 0x00fff0000000000000 (0 =3D> OK) -02 SINGLE: 4.28657868800000000000e+09 / 0x4f7f8000 (0 =3D> OK) +02 SINGLE: -inf / 0xff800000 (0 =3D> OK) 03 DOUBLE: -1.79769313486231570815e+308 / 0x00ffefffffffffffff (0 =3D> OK) -03 SINGLE: 4.28657868800000000000e+09 / 0x4f7f8000 (0x14 =3D> OVERFLOW = INEXACT ) +03 SINGLE: -inf / 0xff800000 (0x14 =3D> OVERFLOW INEXACT ) 04 DOUBLE: -3.40282346638528859812e+38 / 0x00c7efffffe0000000 (0 =3D> OK) -04 SINGLE: 4.28657843200000000000e+09 / 0x4f7f7fff (0x10 =3D> INEXACT ) +04 SINGLE: -3.40282346638528859812e+38 / 0xff7fffff (0 =3D> OK) 05 DOUBLE: -3.40282346638528859812e+38 / 0x00c7efffffe0000000 (0 =3D> OK) -05 SINGLE: 4.28657843200000000000e+09 / 0x4f7f7fff (0x10 =3D> INEXACT ) +05 SINGLE: -3.40282346638528859812e+38 / 0xff7fffff (0 =3D> OK) 06 DOUBLE: -1.11100000000000007530e+31 / 0x00c661874b135ff654 (0 =3D> OK) -06 SINGLE: 4.07766476800000000000e+09 / 0x4f730c3a (0x10 =3D> INEXACT ) +06 SINGLE: -1.11100004769645909791e+31 / 0xf30c3a59 (0x10 =3D> INEXACT= ) 07 DOUBLE: -1.11099999999999999085e+30 / 0x00c62c0bab523323b9 (0 =3D> OK) -07 SINGLE: 4.04962432000000000000e+09 / 0x4f71605d (0x10 =3D> INEXACT ) +07 SINGLE: -1.11100003258488635273e+30 / 0xf1605d5b (0x10 =3D> INEXACT= ) 08 DOUBLE: -2.00000000000000000000e+00 / 0x00c000000000000000 (0 =3D> OK) -08 SINGLE: 3.22122547200000000000e+09 / 0x4f400000 (0 =3D> OK) +08 SINGLE: -2.00000000000000000000e+00 / 0xc0000000 (0 =3D> OK) 09 DOUBLE: -1.00000000000000000000e+00 / 0x00bff0000000000000 (0 =3D> OK) -09 SINGLE: 3.21283686400000000000e+09 / 0x4f3f8000 (0 =3D> OK) +09 SINGLE: -1.00000000000000000000e+00 / 0xbf800000 (0 =3D> OK) 10 DOUBLE: -2.22507385850720138310e-308 / 0x008010000000000000 (0 =3D> OK) -10 SINGLE: 2.14748364800000000000e+09 / 0x4f000000 (0x18 =3D> UNDERFLOW = INEXACT ) +10 SINGLE: -1.40129846432481707093e-45 / 0x80000001 (0x18 =3D> UNDERFLOW= INEXACT ) 11 DOUBLE: -1.17549435082228750797e-38 / 0x00b810000000000000 (0 =3D> OK) -11 SINGLE: 2.15587225600000000000e+09 / 0x4f008000 (0 =3D> OK) +11 SINGLE: -1.17549435082228750797e-38 / 0x80800000 (0 =3D> OK) 12 DOUBLE: 0.00000000000000000000e+00 / 00000000000000000000 (0 =3D> OK) 12 SINGLE: 0.00000000000000000000e+00 / 0000000000 (0 =3D> OK) 13 DOUBLE: 1.17549435082228750796e-38 / 0x003810000000000000 (0 =3D> OK) -13 SINGLE: 8.38860800000000000000e+06 / 0x4b000000 (0 =3D> OK) +13 SINGLE: 1.17549435082228750796e-38 / 0x00800000 (0 =3D> OK) 14 DOUBLE: 2.98023224000000013060e-08 / 0x003e600000001c5f68 (0 =3D> OK) -14 SINGLE: 8.55638016000000000000e+08 / 0x4e4c0000 (0x10 =3D> INEXACT ) +14 SINGLE: 2.98023223876953125000e-08 / 0x33000000 (0x10 =3D> INEXACT ) 15 DOUBLE: 5.96046000000000015661e-08 / 0x003e6ffffe6cb2fa82 (0 =3D> OK) -15 SINGLE: 8.64026560000000000000e+08 / 0x4e4dffff (0x10 =3D> INEXACT ) +15 SINGLE: 5.96045985901128005934e-08 / 0x337ffff3 (0x10 =3D> INEXACT ) 16 DOUBLE: 6.09755999999999994298e-05 / 0x003f0ff801a9af58a1 (0 =3D> OK) -16 SINGLE: 9.47896320000000000000e+08 / 0x4e61ff00 (0x10 =3D> INEXACT ) +16 SINGLE: 6.09755988989491015672e-05 / 0x387fc00d (0x10 =3D> INEXACT ) 17 DOUBLE: 6.10352000000000013664e-05 / 0x003f100000c06a1ef5 (0 =3D> OK) -17 SINGLE: 9.47912704000000000000e+08 / 0x4e620000 (0x10 =3D> INEXACT ) +17 SINGLE: 6.10351999057456851005e-05 / 0x38800006 (0x10 =3D> INEXACT ) 18 DOUBLE: 1.00000000000000000000e+00 / 0x003ff0000000000000 (0 =3D> OK) -18 SINGLE: 1.06535321600000000000e+09 / 0x4e7e0000 (0 =3D> OK) +18 SINGLE: 1.00000000000000000000e+00 / 0x3f800000 (0 =3D> OK) 19 DOUBLE: 1.00097656250000000000e+00 / 0x003ff0040000000000 (0 =3D> OK) -19 SINGLE: 1.06536140800000000000e+09 / 0x4e7e0080 (0 =3D> OK) +19 SINGLE: 1.00097656250000000000e+00 / 0x3f802000 (0 =3D> OK) 20 DOUBLE: 2.22507385850720138309e-308 / 0x000010000000000000 (0 =3D> OK) 20 SINGLE: 0.00000000000000000000e+00 / 0000000000 (0x18 =3D> UNDERFLOW = INEXACT ) 21 DOUBLE: 1.37899728486072282843e-308 / 0x000009ea82a2287680 (0 =3D> OK) @@ -983,41 +983,41 @@ Converting double-precision to single-precision 22 DOUBLE: 1.49147387366816238763e-308 / 0x00000ab98fba843210 (0 =3D> OK) 22 SINGLE: 0.00000000000000000000e+00 / 0000000000 (0x18 =3D> UNDERFLOW = INEXACT ) 23 DOUBLE: 1.00000000000000000000e+00 / 0x003ff0000000000000 (0 =3D> OK) -23 SINGLE: 1.06535321600000000000e+09 / 0x4e7e0000 (0 =3D> OK) +23 SINGLE: 1.00000000000000000000e+00 / 0x3f800000 (0 =3D> OK) 24 DOUBLE: 2.00000000000000000000e+00 / 0x004000000000000000 (0 =3D> OK) -24 SINGLE: 1.07374182400000000000e+09 / 0x4e800000 (0 =3D> OK) +24 SINGLE: 2.00000000000000000000e+00 / 0x40000000 (0 =3D> OK) 25 DOUBLE: 2.71828182845904509079e+00 / 0x004005bf0a8b145769 (0 =3D> OK) -25 SINGLE: 1.07675443200000000000e+09 / 0x4e805bf0 (0x10 =3D> INEXACT ) +25 SINGLE: 2.71828174591064453125e+00 / 0x402df854 (0x10 =3D> INEXACT ) 26 DOUBLE: 3.14159265358979311599e+00 / 0x00400921fb54442d18 (0 =3D> OK) -26 SINGLE: 1.07852992000000000000e+09 / 0x4e80921f (0x10 =3D> INEXACT ) +26 SINGLE: 3.14159250259399414062e+00 / 0x40490fda (0x10 =3D> INEXACT ) 27 DOUBLE: 6.55030000000000000000e+04 / 0x0040effbe000000000 (0 =3D> OK) -27 SINGLE: 1.19956249600000000000e+09 / 0x4e8effbe (0 =3D> OK) +27 SINGLE: 6.55030000000000000000e+04 / 0x477fdf00 (0 =3D> OK) 28 DOUBLE: 6.55040000000000000000e+04 / 0x0040effc0000000000 (0 =3D> OK) -28 SINGLE: 1.19956275200000000000e+09 / 0x4e8effc0 (0 =3D> OK) +28 SINGLE: 6.55040000000000000000e+04 / 0x477fe000 (0 =3D> OK) 29 DOUBLE: 6.55050000000000000000e+04 / 0x0040effc2000000000 (0 =3D> OK) -29 SINGLE: 1.19956300800000000000e+09 / 0x4e8effc2 (0 =3D> OK) +29 SINGLE: 6.55050000000000000000e+04 / 0x477fe100 (0 =3D> OK) 30 DOUBLE: 1.31007000000000000000e+05 / 0x0040fffbf000000000 (0 =3D> OK) -30 SINGLE: 1.20795123200000000000e+09 / 0x4e8fffbf (0 =3D> OK) +30 SINGLE: 1.31007000000000000000e+05 / 0x47ffdf80 (0 =3D> OK) 31 DOUBLE: 1.31008000000000000000e+05 / 0x0040fffc0000000000 (0 =3D> OK) -31 SINGLE: 1.20795136000000000000e+09 / 0x4e8fffc0 (0 =3D> OK) +31 SINGLE: 1.31008000000000000000e+05 / 0x47ffe000 (0 =3D> OK) 32 DOUBLE: 1.31009000000000000000e+05 / 0x0040fffc1000000000 (0 =3D> OK) -32 SINGLE: 1.20795148800000000000e+09 / 0x4e8fffc1 (0 =3D> OK) +32 SINGLE: 1.31009000000000000000e+05 / 0x47ffe080 (0 =3D> OK) 33 DOUBLE: 2.14748364700000000000e+09 / 0x0041dfffffffc00000 (0 =3D> OK) -33 SINGLE: 1.32539993600000000000e+09 / 0x4e9dffff (0x10 =3D> INEXACT ) +33 SINGLE: 2.14748352000000000000e+09 / 0x4effffff (0x10 =3D> INEXACT ) 34 DOUBLE: 3.40282346638528859811e+38 / 0x0047efffffe0000000 (0 =3D> OK) -34 SINGLE: 2.13909491200000000000e+09 / 0x4efeffff (0x10 =3D> INEXACT ) +34 SINGLE: 3.40282346638528859811e+38 / 0x7f7fffff (0 =3D> OK) 35 DOUBLE: 3.40282346638528859811e+38 / 0x0047efffffe0000000 (0 =3D> OK) -35 SINGLE: 2.13909491200000000000e+09 / 0x4efeffff (0x10 =3D> INEXACT ) +35 SINGLE: 3.40282346638528859811e+38 / 0x7f7fffff (0 =3D> OK) 36 DOUBLE: 1.79769313486231570814e+308 / 0x007fefffffffffffff (0 =3D> OK) -36 SINGLE: 2.13909491200000000000e+09 / 0x4efeffff (0x14 =3D> OVERFLOW = INEXACT ) +36 SINGLE: 3.40282346638528859811e+38 / 0x7f7fffff (0x14 =3D> OVERFLOW = INEXACT ) 37 DOUBLE: inf / 0x007ff0000000000000 (0 =3D> OK) -37 SINGLE: 2.13909504000000000000e+09 / 0x4eff0000 (0 =3D> OK) +37 SINGLE: inf / 0x7f800000 (0 =3D> OK) 38 DOUBLE: nan / 0x007ff8000000000000 (0 =3D> OK) -38 SINGLE: 2.14328934400000000000e+09 / 0x4eff8000 (0 =3D> OK) +38 SINGLE: nan / 0x7fc00000 (0 =3D> OK) 39 DOUBLE: nan / 0x007ff0000000000001 (0 =3D> OK) -39 SINGLE: 2.14328934400000000000e+09 / 0x4eff8000 (0x1 =3D> INVALID) +39 SINGLE: nan / 0x7fc00000 (0x1 =3D> INVALID) 40 DOUBLE: nan / 0x007ff4000000000000 (0 =3D> OK) -40 SINGLE: 2.14538649600000000000e+09 / 0x4effc000 (0x1 =3D> INVALID) +40 SINGLE: nan / 0x7fe00000 (0x1 =3D> INVALID) Converting half-precision to single-precision 00 HALF: 0xffff (0 =3D> OK) 00 SINGLE: -nan / 0xffffe000 (0 =3D> OK) @@ -1300,45 +1300,45 @@ Converting double-precision to half-precision 40 HALF: 0x7f00 (0x1 =3D> INVALID) Converting double-precision to single-precision 00 DOUBLE: nan / 0x007ff4000000000000 (0 =3D> OK) -00 SINGLE: 2.14538649600000000000e+09 / 0x4effc000 (0x1 =3D> INVALID) +00 SINGLE: nan / 0x7fe00000 (0x1 =3D> INVALID) 01 DOUBLE: -nan / 0x00fff8000000000000 (0 =3D> OK) -01 SINGLE: 4.29077299200000000000e+09 / 0x4f7fc000 (0 =3D> OK) +01 SINGLE: -nan / 0xffc00000 (0 =3D> OK) 02 DOUBLE: -inf / 0x00fff0000000000000 (0 =3D> OK) -02 SINGLE: 4.28657868800000000000e+09 / 0x4f7f8000 (0 =3D> OK) +02 SINGLE: -inf / 0xff800000 (0 =3D> OK) 03 DOUBLE: -1.79769313486231570814e+308 / 0x00ffefffffffffffff (0 =3D> OK) -03 SINGLE: 4.28657843200000000000e+09 / 0x4f7f7fff (0x14 =3D> OVERFLOW = INEXACT ) +03 SINGLE: -3.40282346638528859811e+38 / 0xff7fffff (0x14 =3D> OVERFLOW = INEXACT ) 04 DOUBLE: -3.40282346638528859811e+38 / 0x00c7efffffe0000000 (0 =3D> OK) -04 SINGLE: 4.28657843200000000000e+09 / 0x4f7f7fff (0x10 =3D> INEXACT ) +04 SINGLE: -3.40282346638528859811e+38 / 0xff7fffff (0 =3D> OK) 05 DOUBLE: -3.40282346638528859811e+38 / 0x00c7efffffe0000000 (0 =3D> OK) -05 SINGLE: 4.28657843200000000000e+09 / 0x4f7f7fff (0x10 =3D> INEXACT ) +05 SINGLE: -3.40282346638528859811e+38 / 0xff7fffff (0 =3D> OK) 06 DOUBLE: -1.11100000000000007529e+31 / 0x00c661874b135ff654 (0 =3D> OK) -06 SINGLE: 4.07766476800000000000e+09 / 0x4f730c3a (0x10 =3D> INEXACT ) +06 SINGLE: -1.11099992680387713644e+31 / 0xf30c3a58 (0x10 =3D> INEXACT= ) 07 DOUBLE: -1.11099999999999999084e+30 / 0x00c62c0bab523323b9 (0 =3D> OK) -07 SINGLE: 4.04962432000000000000e+09 / 0x4f71605d (0x10 =3D> INEXACT ) +07 SINGLE: -1.11099995702702262681e+30 / 0xf1605d5a (0x10 =3D> INEXACT= ) 08 DOUBLE: -2.00000000000000000000e+00 / 0x00c000000000000000 (0 =3D> OK) -08 SINGLE: 3.22122547200000000000e+09 / 0x4f400000 (0 =3D> OK) +08 SINGLE: -2.00000000000000000000e+00 / 0xc0000000 (0 =3D> OK) 09 DOUBLE: -1.00000000000000000000e+00 / 0x00bff0000000000000 (0 =3D> OK) -09 SINGLE: 3.21283686400000000000e+09 / 0x4f3f8000 (0 =3D> OK) +09 SINGLE: -1.00000000000000000000e+00 / 0xbf800000 (0 =3D> OK) 10 DOUBLE: -2.22507385850720138309e-308 / 0x008010000000000000 (0 =3D> OK) -10 SINGLE: 2.14748364800000000000e+09 / 0x4f000000 (0x18 =3D> UNDERFLOW = INEXACT ) +10 SINGLE: -0.00000000000000000000e+00 / 0x80000000 (0x18 =3D> UNDERFLOW= INEXACT ) 11 DOUBLE: -1.17549435082228750796e-38 / 0x00b810000000000000 (0 =3D> OK) -11 SINGLE: 2.15587225600000000000e+09 / 0x4f008000 (0 =3D> OK) +11 SINGLE: -1.17549435082228750796e-38 / 0x80800000 (0 =3D> OK) 12 DOUBLE: 0.00000000000000000000e+00 / 00000000000000000000 (0 =3D> OK) 12 SINGLE: 0.00000000000000000000e+00 / 0000000000 (0 =3D> OK) 13 DOUBLE: 1.17549435082228750796e-38 / 0x003810000000000000 (0 =3D> OK) -13 SINGLE: 8.38860800000000000000e+06 / 0x4b000000 (0 =3D> OK) +13 SINGLE: 1.17549435082228750796e-38 / 0x00800000 (0 =3D> OK) 14 DOUBLE: 2.98023224000000013060e-08 / 0x003e600000001c5f68 (0 =3D> OK) -14 SINGLE: 8.55638016000000000000e+08 / 0x4e4c0000 (0x10 =3D> INEXACT ) +14 SINGLE: 2.98023223876953125000e-08 / 0x33000000 (0x10 =3D> INEXACT ) 15 DOUBLE: 5.96046000000000015661e-08 / 0x003e6ffffe6cb2fa82 (0 =3D> OK) -15 SINGLE: 8.64026560000000000000e+08 / 0x4e4dffff (0x10 =3D> INEXACT ) +15 SINGLE: 5.96045985901128005934e-08 / 0x337ffff3 (0x10 =3D> INEXACT ) 16 DOUBLE: 6.09755999999999994298e-05 / 0x003f0ff801a9af58a1 (0 =3D> OK) -16 SINGLE: 9.47896320000000000000e+08 / 0x4e61ff00 (0x10 =3D> INEXACT ) +16 SINGLE: 6.09755988989491015672e-05 / 0x387fc00d (0x10 =3D> INEXACT ) 17 DOUBLE: 6.10352000000000013664e-05 / 0x003f100000c06a1ef5 (0 =3D> OK) -17 SINGLE: 9.47912704000000000000e+08 / 0x4e620000 (0x10 =3D> INEXACT ) +17 SINGLE: 6.10351999057456851005e-05 / 0x38800006 (0x10 =3D> INEXACT ) 18 DOUBLE: 1.00000000000000000000e+00 / 0x003ff0000000000000 (0 =3D> OK) -18 SINGLE: 1.06535321600000000000e+09 / 0x4e7e0000 (0 =3D> OK) +18 SINGLE: 1.00000000000000000000e+00 / 0x3f800000 (0 =3D> OK) 19 DOUBLE: 1.00097656250000000000e+00 / 0x003ff0040000000000 (0 =3D> OK) -19 SINGLE: 1.06536140800000000000e+09 / 0x4e7e0080 (0 =3D> OK) +19 SINGLE: 1.00097656250000000000e+00 / 0x3f802000 (0 =3D> OK) 20 DOUBLE: 2.22507385850720138309e-308 / 0x000010000000000000 (0 =3D> OK) 20 SINGLE: 0.00000000000000000000e+00 / 0000000000 (0x18 =3D> UNDERFLOW = INEXACT ) 21 DOUBLE: 1.37899728486072282843e-308 / 0x000009ea82a2287680 (0 =3D> OK) @@ -1346,41 +1346,41 @@ Converting double-precision to single-precision 22 DOUBLE: 1.49147387366816238763e-308 / 0x00000ab98fba843210 (0 =3D> OK) 22 SINGLE: 0.00000000000000000000e+00 / 0000000000 (0x18 =3D> UNDERFLOW = INEXACT ) 23 DOUBLE: 1.00000000000000000000e+00 / 0x003ff0000000000000 (0 =3D> OK) -23 SINGLE: 1.06535321600000000000e+09 / 0x4e7e0000 (0 =3D> OK) +23 SINGLE: 1.00000000000000000000e+00 / 0x3f800000 (0 =3D> OK) 24 DOUBLE: 2.00000000000000000000e+00 / 0x004000000000000000 (0 =3D> OK) -24 SINGLE: 1.07374182400000000000e+09 / 0x4e800000 (0 =3D> OK) +24 SINGLE: 2.00000000000000000000e+00 / 0x40000000 (0 =3D> OK) 25 DOUBLE: 2.71828182845904509079e+00 / 0x004005bf0a8b145769 (0 =3D> OK) -25 SINGLE: 1.07675443200000000000e+09 / 0x4e805bf0 (0x10 =3D> INEXACT ) +25 SINGLE: 2.71828174591064453125e+00 / 0x402df854 (0x10 =3D> INEXACT ) 26 DOUBLE: 3.14159265358979311599e+00 / 0x00400921fb54442d18 (0 =3D> OK) -26 SINGLE: 1.07852992000000000000e+09 / 0x4e80921f (0x10 =3D> INEXACT ) +26 SINGLE: 3.14159250259399414062e+00 / 0x40490fda (0x10 =3D> INEXACT ) 27 DOUBLE: 6.55030000000000000000e+04 / 0x0040effbe000000000 (0 =3D> OK) -27 SINGLE: 1.19956249600000000000e+09 / 0x4e8effbe (0 =3D> OK) +27 SINGLE: 6.55030000000000000000e+04 / 0x477fdf00 (0 =3D> OK) 28 DOUBLE: 6.55040000000000000000e+04 / 0x0040effc0000000000 (0 =3D> OK) -28 SINGLE: 1.19956275200000000000e+09 / 0x4e8effc0 (0 =3D> OK) +28 SINGLE: 6.55040000000000000000e+04 / 0x477fe000 (0 =3D> OK) 29 DOUBLE: 6.55050000000000000000e+04 / 0x0040effc2000000000 (0 =3D> OK) -29 SINGLE: 1.19956300800000000000e+09 / 0x4e8effc2 (0 =3D> OK) +29 SINGLE: 6.55050000000000000000e+04 / 0x477fe100 (0 =3D> OK) 30 DOUBLE: 1.31007000000000000000e+05 / 0x0040fffbf000000000 (0 =3D> OK) -30 SINGLE: 1.20795123200000000000e+09 / 0x4e8fffbf (0 =3D> OK) +30 SINGLE: 1.31007000000000000000e+05 / 0x47ffdf80 (0 =3D> OK) 31 DOUBLE: 1.31008000000000000000e+05 / 0x0040fffc0000000000 (0 =3D> OK) -31 SINGLE: 1.20795136000000000000e+09 / 0x4e8fffc0 (0 =3D> OK) +31 SINGLE: 1.31008000000000000000e+05 / 0x47ffe000 (0 =3D> OK) 32 DOUBLE: 1.31009000000000000000e+05 / 0x0040fffc1000000000 (0 =3D> OK) -32 SINGLE: 1.20795148800000000000e+09 / 0x4e8fffc1 (0 =3D> OK) +32 SINGLE: 1.31009000000000000000e+05 / 0x47ffe080 (0 =3D> OK) 33 DOUBLE: 2.14748364700000000000e+09 / 0x0041dfffffffc00000 (0 =3D> OK) -33 SINGLE: 1.32539993600000000000e+09 / 0x4e9dffff (0x10 =3D> INEXACT ) +33 SINGLE: 2.14748352000000000000e+09 / 0x4effffff (0x10 =3D> INEXACT ) 34 DOUBLE: 3.40282346638528859811e+38 / 0x0047efffffe0000000 (0 =3D> OK) -34 SINGLE: 2.13909491200000000000e+09 / 0x4efeffff (0x10 =3D> INEXACT ) +34 SINGLE: 3.40282346638528859811e+38 / 0x7f7fffff (0 =3D> OK) 35 DOUBLE: 3.40282346638528859811e+38 / 0x0047efffffe0000000 (0 =3D> OK) -35 SINGLE: 2.13909491200000000000e+09 / 0x4efeffff (0x10 =3D> INEXACT ) +35 SINGLE: 3.40282346638528859811e+38 / 0x7f7fffff (0 =3D> OK) 36 DOUBLE: 1.79769313486231570814e+308 / 0x007fefffffffffffff (0 =3D> OK) -36 SINGLE: 2.13909491200000000000e+09 / 0x4efeffff (0x14 =3D> OVERFLOW = INEXACT ) +36 SINGLE: 3.40282346638528859811e+38 / 0x7f7fffff (0x14 =3D> OVERFLOW = INEXACT ) 37 DOUBLE: inf / 0x007ff0000000000000 (0 =3D> OK) -37 SINGLE: 2.13909504000000000000e+09 / 0x4eff0000 (0 =3D> OK) +37 SINGLE: inf / 0x7f800000 (0 =3D> OK) 38 DOUBLE: nan / 0x007ff8000000000000 (0 =3D> OK) -38 SINGLE: 2.14328934400000000000e+09 / 0x4eff8000 (0 =3D> OK) +38 SINGLE: nan / 0x7fc00000 (0 =3D> OK) 39 DOUBLE: nan / 0x007ff0000000000001 (0 =3D> OK) -39 SINGLE: 2.14328934400000000000e+09 / 0x4eff8000 (0x1 =3D> INVALID) +39 SINGLE: nan / 0x7fc00000 (0x1 =3D> INVALID) 40 DOUBLE: nan / 0x007ff4000000000000 (0 =3D> OK) -40 SINGLE: 2.14538649600000000000e+09 / 0x4effc000 (0x1 =3D> INVALID) +40 SINGLE: nan / 0x7fe00000 (0x1 =3D> INVALID) Converting half-precision to single-precision 00 HALF: 0xffff (0 =3D> OK) 00 SINGLE: -nan / 0xffffe000 (0 =3D> OK) @@ -1845,45 +1845,45 @@ Converting double-precision to half-precision 40 HALF: 0000 (0x1 =3D> INVALID) Converting double-precision to single-precision 00 DOUBLE: nan / 0x007ff4000000000000 (0 =3D> OK) -00 SINGLE: 2.14538649600000000000e+09 / 0x4effc000 (0x1 =3D> INVALID) +00 SINGLE: nan / 0x7fe00000 (0x1 =3D> INVALID) 01 DOUBLE: -nan / 0x00fff8000000000000 (0 =3D> OK) -01 SINGLE: 4.29077299200000000000e+09 / 0x4f7fc000 (0 =3D> OK) +01 SINGLE: -nan / 0xffc00000 (0 =3D> OK) 02 DOUBLE: -inf / 0x00fff0000000000000 (0 =3D> OK) -02 SINGLE: 4.28657868800000000000e+09 / 0x4f7f8000 (0 =3D> OK) +02 SINGLE: -inf / 0xff800000 (0 =3D> OK) 03 DOUBLE: -1.79769313486231570815e+308 / 0x00ffefffffffffffff (0 =3D> OK) -03 SINGLE: 4.28657868800000000000e+09 / 0x4f7f8000 (0x14 =3D> OVERFLOW = INEXACT ) +03 SINGLE: -inf / 0xff800000 (0x14 =3D> OVERFLOW INEXACT ) 04 DOUBLE: -3.40282346638528859812e+38 / 0x00c7efffffe0000000 (0 =3D> OK) -04 SINGLE: 4.28657868800000000000e+09 / 0x4f7f8000 (0x10 =3D> INEXACT ) +04 SINGLE: -3.40282346638528859812e+38 / 0xff7fffff (0 =3D> OK) 05 DOUBLE: -3.40282346638528859812e+38 / 0x00c7efffffe0000000 (0 =3D> OK) -05 SINGLE: 4.28657868800000000000e+09 / 0x4f7f8000 (0x10 =3D> INEXACT ) +05 SINGLE: -3.40282346638528859812e+38 / 0xff7fffff (0 =3D> OK) 06 DOUBLE: -1.11100000000000007529e+31 / 0x00c661874b135ff654 (0 =3D> OK) -06 SINGLE: 4.07766476800000000000e+09 / 0x4f730c3a (0x10 =3D> INEXACT ) +06 SINGLE: -1.11100004769645909791e+31 / 0xf30c3a59 (0x10 =3D> INEXACT= ) 07 DOUBLE: -1.11099999999999999085e+30 / 0x00c62c0bab523323b9 (0 =3D> OK) -07 SINGLE: 4.04962432000000000000e+09 / 0x4f71605d (0x10 =3D> INEXACT ) +07 SINGLE: -1.11100003258488635273e+30 / 0xf1605d5b (0x10 =3D> INEXACT= ) 08 DOUBLE: -2.00000000000000000000e+00 / 0x00c000000000000000 (0 =3D> OK) -08 SINGLE: 3.22122547200000000000e+09 / 0x4f400000 (0 =3D> OK) +08 SINGLE: -2.00000000000000000000e+00 / 0xc0000000 (0 =3D> OK) 09 DOUBLE: -1.00000000000000000000e+00 / 0x00bff0000000000000 (0 =3D> OK) -09 SINGLE: 3.21283686400000000000e+09 / 0x4f3f8000 (0 =3D> OK) +09 SINGLE: -1.00000000000000000000e+00 / 0xbf800000 (0 =3D> OK) 10 DOUBLE: -2.22507385850720138309e-308 / 0x008010000000000000 (0 =3D> OK) -10 SINGLE: 2.14748364800000000000e+09 / 0x4f000000 (0x18 =3D> UNDERFLOW = INEXACT ) +10 SINGLE: -0.00000000000000000000e+00 / 0x80000000 (0x18 =3D> UNDERFLOW= INEXACT ) 11 DOUBLE: -1.17549435082228750797e-38 / 0x00b810000000000000 (0 =3D> OK) -11 SINGLE: 2.15587225600000000000e+09 / 0x4f008000 (0 =3D> OK) +11 SINGLE: -1.17549435082228750797e-38 / 0x80800000 (0 =3D> OK) 12 DOUBLE: 0.00000000000000000000e+00 / 00000000000000000000 (0 =3D> OK) 12 SINGLE: 0.00000000000000000000e+00 / 0000000000 (0 =3D> OK) 13 DOUBLE: 1.17549435082228750797e-38 / 0x003810000000000000 (0 =3D> OK) -13 SINGLE: 8.38860800000000000000e+06 / 0x4b000000 (0 =3D> OK) +13 SINGLE: 1.17549435082228750797e-38 / 0x00800000 (0 =3D> OK) 14 DOUBLE: 2.98023224000000013061e-08 / 0x003e600000001c5f68 (0 =3D> OK) -14 SINGLE: 8.55638016000000000000e+08 / 0x4e4c0000 (0x10 =3D> INEXACT ) +14 SINGLE: 2.98023223876953125000e-08 / 0x33000000 (0x10 =3D> INEXACT ) 15 DOUBLE: 5.96046000000000015661e-08 / 0x003e6ffffe6cb2fa82 (0 =3D> OK) -15 SINGLE: 8.64026624000000000000e+08 / 0x4e4e0000 (0x10 =3D> INEXACT ) +15 SINGLE: 5.96045985901128005935e-08 / 0x337ffff3 (0x10 =3D> INEXACT ) 16 DOUBLE: 6.09755999999999994299e-05 / 0x003f0ff801a9af58a1 (0 =3D> OK) -16 SINGLE: 9.47896320000000000000e+08 / 0x4e61ff00 (0x10 =3D> INEXACT ) +16 SINGLE: 6.09755988989491015673e-05 / 0x387fc00d (0x10 =3D> INEXACT ) 17 DOUBLE: 6.10352000000000013665e-05 / 0x003f100000c06a1ef5 (0 =3D> OK) -17 SINGLE: 9.47912704000000000000e+08 / 0x4e620000 (0x10 =3D> INEXACT ) +17 SINGLE: 6.10351999057456851006e-05 / 0x38800006 (0x10 =3D> INEXACT ) 18 DOUBLE: 1.00000000000000000000e+00 / 0x003ff0000000000000 (0 =3D> OK) -18 SINGLE: 1.06535321600000000000e+09 / 0x4e7e0000 (0 =3D> OK) +18 SINGLE: 1.00000000000000000000e+00 / 0x3f800000 (0 =3D> OK) 19 DOUBLE: 1.00097656250000000000e+00 / 0x003ff0040000000000 (0 =3D> OK) -19 SINGLE: 1.06536140800000000000e+09 / 0x4e7e0080 (0 =3D> OK) +19 SINGLE: 1.00097656250000000000e+00 / 0x3f802000 (0 =3D> OK) 20 DOUBLE: 2.22507385850720138309e-308 / 0x000010000000000000 (0 =3D> OK) 20 SINGLE: 0.00000000000000000000e+00 / 0000000000 (0x18 =3D> UNDERFLOW = INEXACT ) 21 DOUBLE: 1.37899728486072282843e-308 / 0x000009ea82a2287680 (0 =3D> OK) @@ -1891,41 +1891,41 @@ Converting double-precision to single-precision 22 DOUBLE: 1.49147387366816238763e-308 / 0x00000ab98fba843210 (0 =3D> OK) 22 SINGLE: 0.00000000000000000000e+00 / 0000000000 (0x18 =3D> UNDERFLOW = INEXACT ) 23 DOUBLE: 1.00000000000000000000e+00 / 0x003ff0000000000000 (0 =3D> OK) -23 SINGLE: 1.06535321600000000000e+09 / 0x4e7e0000 (0 =3D> OK) +23 SINGLE: 1.00000000000000000000e+00 / 0x3f800000 (0 =3D> OK) 24 DOUBLE: 2.00000000000000000000e+00 / 0x004000000000000000 (0 =3D> OK) -24 SINGLE: 1.07374182400000000000e+09 / 0x4e800000 (0 =3D> OK) +24 SINGLE: 2.00000000000000000000e+00 / 0x40000000 (0 =3D> OK) 25 DOUBLE: 2.71828182845904509080e+00 / 0x004005bf0a8b145769 (0 =3D> OK) -25 SINGLE: 1.07675456000000000000e+09 / 0x4e805bf1 (0x10 =3D> INEXACT ) +25 SINGLE: 2.71828174591064453125e+00 / 0x402df854 (0x10 =3D> INEXACT ) 26 DOUBLE: 3.14159265358979311600e+00 / 0x00400921fb54442d18 (0 =3D> OK) -26 SINGLE: 1.07853004800000000000e+09 / 0x4e809220 (0x10 =3D> INEXACT ) +26 SINGLE: 3.14159274101257324219e+00 / 0x40490fdb (0x10 =3D> INEXACT ) 27 DOUBLE: 6.55030000000000000000e+04 / 0x0040effbe000000000 (0 =3D> OK) -27 SINGLE: 1.19956249600000000000e+09 / 0x4e8effbe (0 =3D> OK) +27 SINGLE: 6.55030000000000000000e+04 / 0x477fdf00 (0 =3D> OK) 28 DOUBLE: 6.55040000000000000000e+04 / 0x0040effc0000000000 (0 =3D> OK) -28 SINGLE: 1.19956275200000000000e+09 / 0x4e8effc0 (0 =3D> OK) +28 SINGLE: 6.55040000000000000000e+04 / 0x477fe000 (0 =3D> OK) 29 DOUBLE: 6.55050000000000000000e+04 / 0x0040effc2000000000 (0 =3D> OK) -29 SINGLE: 1.19956300800000000000e+09 / 0x4e8effc2 (0 =3D> OK) +29 SINGLE: 6.55050000000000000000e+04 / 0x477fe100 (0 =3D> OK) 30 DOUBLE: 1.31007000000000000000e+05 / 0x0040fffbf000000000 (0 =3D> OK) -30 SINGLE: 1.20795123200000000000e+09 / 0x4e8fffbf (0 =3D> OK) +30 SINGLE: 1.31007000000000000000e+05 / 0x47ffdf80 (0 =3D> OK) 31 DOUBLE: 1.31008000000000000000e+05 / 0x0040fffc0000000000 (0 =3D> OK) -31 SINGLE: 1.20795136000000000000e+09 / 0x4e8fffc0 (0 =3D> OK) +31 SINGLE: 1.31008000000000000000e+05 / 0x47ffe000 (0 =3D> OK) 32 DOUBLE: 1.31009000000000000000e+05 / 0x0040fffc1000000000 (0 =3D> OK) -32 SINGLE: 1.20795148800000000000e+09 / 0x4e8fffc1 (0 =3D> OK) +32 SINGLE: 1.31009000000000000000e+05 / 0x47ffe080 (0 =3D> OK) 33 DOUBLE: 2.14748364700000000000e+09 / 0x0041dfffffffc00000 (0 =3D> OK) -33 SINGLE: 1.32540006400000000000e+09 / 0x4e9e0000 (0x10 =3D> INEXACT ) +33 SINGLE: 2.14748364800000000000e+09 / 0x4f000000 (0x10 =3D> INEXACT ) 34 DOUBLE: 3.40282346638528859812e+38 / 0x0047efffffe0000000 (0 =3D> OK) -34 SINGLE: 2.13909504000000000000e+09 / 0x4eff0000 (0x10 =3D> INEXACT ) +34 SINGLE: 3.40282346638528859812e+38 / 0x7f7fffff (0 =3D> OK) 35 DOUBLE: 3.40282346638528859812e+38 / 0x0047efffffe0000000 (0 =3D> OK) -35 SINGLE: 2.13909504000000000000e+09 / 0x4eff0000 (0x10 =3D> INEXACT ) +35 SINGLE: 3.40282346638528859812e+38 / 0x7f7fffff (0 =3D> OK) 36 DOUBLE: 1.79769313486231570815e+308 / 0x007fefffffffffffff (0 =3D> OK) -36 SINGLE: 2.13909504000000000000e+09 / 0x4eff0000 (0x14 =3D> OVERFLOW = INEXACT ) +36 SINGLE: inf / 0x7f800000 (0x14 =3D> OVERFLOW INEXACT ) 37 DOUBLE: inf / 0x007ff0000000000000 (0 =3D> OK) -37 SINGLE: 2.13909504000000000000e+09 / 0x4eff0000 (0 =3D> OK) +37 SINGLE: inf / 0x7f800000 (0 =3D> OK) 38 DOUBLE: nan / 0x007ff8000000000000 (0 =3D> OK) -38 SINGLE: 2.14328934400000000000e+09 / 0x4eff8000 (0 =3D> OK) +38 SINGLE: nan / 0x7fc00000 (0 =3D> OK) 39 DOUBLE: nan / 0x007ff0000000000001 (0 =3D> OK) -39 SINGLE: 2.14328934400000000000e+09 / 0x4eff8000 (0x1 =3D> INVALID) +39 SINGLE: nan / 0x7fc00000 (0x1 =3D> INVALID) 40 DOUBLE: nan / 0x007ff4000000000000 (0 =3D> OK) -40 SINGLE: 2.14538649600000000000e+09 / 0x4effc000 (0x1 =3D> INVALID) +40 SINGLE: nan / 0x7fe00000 (0x1 =3D> INVALID) Converting half-precision to single-precision 00 HALF: 0xffff (0 =3D> OK) 00 SINGLE: -1.31008000000000000000e+05 / 0xc7ffe000 (0 =3D> OK) @@ -2208,87 +2208,87 @@ Converting double-precision to half-precision 40 HALF: 0000 (0x1 =3D> INVALID) Converting double-precision to single-precision 00 DOUBLE: nan / 0x007ff4000000000000 (0 =3D> OK) -00 SINGLE: 2.14538649600000000000e+09 / 0x4effc000 (0x1 =3D> INVALID) +00 SINGLE: nan / 0x7fe00000 (0x1 =3D> INVALID) 01 DOUBLE: -nan / 0x00fff8000000000000 (0 =3D> OK) -01 SINGLE: 4.29077299200000000000e+09 / 0x4f7fc000 (0 =3D> OK) +01 SINGLE: -nan / 0xffc00000 (0 =3D> OK) 02 DOUBLE: -inf / 0x00fff0000000000000 (0 =3D> OK) -02 SINGLE: 4.28657868800000000000e+09 / 0x4f7f8000 (0 =3D> OK) +02 SINGLE: -inf / 0xff800000 (0 =3D> OK) 03 DOUBLE: -1.79769313486231570814e+308 / 0x00ffefffffffffffff (0 =3D> OK) -03 SINGLE: 4.28657868800000000000e+09 / 0x4f7f8000 (0x14 =3D> OVERFLOW = INEXACT ) +03 SINGLE: -3.40282346638528859811e+38 / 0xff7fffff (0x14 =3D> OVERFLOW = INEXACT ) 04 DOUBLE: -3.40282346638528859811e+38 / 0x00c7efffffe0000000 (0 =3D> OK) -04 SINGLE: 4.28657868800000000000e+09 / 0x4f7f8000 (0x10 =3D> INEXACT ) +04 SINGLE: -3.40282346638528859811e+38 / 0xff7fffff (0 =3D> OK) 05 DOUBLE: -3.40282346638528859811e+38 / 0x00c7efffffe0000000 (0 =3D> OK) -05 SINGLE: 4.28657868800000000000e+09 / 0x4f7f8000 (0x10 =3D> INEXACT ) +05 SINGLE: -3.40282346638528859811e+38 / 0xff7fffff (0 =3D> OK) 06 DOUBLE: -1.11100000000000007529e+31 / 0x00c661874b135ff654 (0 =3D> OK) -06 SINGLE: 4.07766502400000000000e+09 / 0x4f730c3b (0x10 =3D> INEXACT ) +06 SINGLE: -1.11099992680387713644e+31 / 0xf30c3a58 (0x10 =3D> INEXACT= ) 07 DOUBLE: -1.11099999999999999084e+30 / 0x00c62c0bab523323b9 (0 =3D> OK) -07 SINGLE: 4.04962457600000000000e+09 / 0x4f71605e (0x10 =3D> INEXACT ) +07 SINGLE: -1.11099995702702262681e+30 / 0xf1605d5a (0x10 =3D> INEXACT= ) 08 DOUBLE: -2.00000000000000000000e+00 / 0x00c000000000000000 (0 =3D> OK) -08 SINGLE: 3.22122547200000000000e+09 / 0x4f400000 (0 =3D> OK) +08 SINGLE: -2.00000000000000000000e+00 / 0xc0000000 (0 =3D> OK) 09 DOUBLE: -1.00000000000000000000e+00 / 0x00bff0000000000000 (0 =3D> OK) -09 SINGLE: 3.21283686400000000000e+09 / 0x4f3f8000 (0 =3D> OK) +09 SINGLE: -1.00000000000000000000e+00 / 0xbf800000 (0 =3D> OK) 10 DOUBLE: -2.22507385850720138309e-308 / 0x008010000000000000 (0 =3D> OK) -10 SINGLE: 2.14748364800000000000e+09 / 0x4f000000 (0x18 =3D> UNDERFLOW = INEXACT ) +10 SINGLE: -0.00000000000000000000e+00 / 0x80000000 (0x18 =3D> UNDERFLOW= INEXACT ) 11 DOUBLE: -1.17549435082228750796e-38 / 0x00b810000000000000 (0 =3D> OK) -11 SINGLE: 2.15587225600000000000e+09 / 0x4f008000 (0 =3D> OK) +11 SINGLE: -1.17549435082228750796e-38 / 0x80800000 (0 =3D> OK) 12 DOUBLE: 0.00000000000000000000e+00 / 00000000000000000000 (0 =3D> OK) 12 SINGLE: 0.00000000000000000000e+00 / 0000000000 (0 =3D> OK) 13 DOUBLE: 1.17549435082228750797e-38 / 0x003810000000000000 (0 =3D> OK) -13 SINGLE: 8.38860800000000000000e+06 / 0x4b000000 (0 =3D> OK) +13 SINGLE: 1.17549435082228750797e-38 / 0x00800000 (0 =3D> OK) 14 DOUBLE: 2.98023224000000013061e-08 / 0x003e600000001c5f68 (0 =3D> OK) -14 SINGLE: 8.55638080000000000000e+08 / 0x4e4c0001 (0x10 =3D> INEXACT ) +14 SINGLE: 2.98023259404089913006e-08 / 0x33000001 (0x10 =3D> INEXACT ) 15 DOUBLE: 5.96046000000000015662e-08 / 0x003e6ffffe6cb2fa82 (0 =3D> OK) -15 SINGLE: 8.64026624000000000000e+08 / 0x4e4e0000 (0x10 =3D> INEXACT ) +15 SINGLE: 5.96046021428264793940e-08 / 0x337ffff4 (0x10 =3D> INEXACT ) 16 DOUBLE: 6.09755999999999994299e-05 / 0x003f0ff801a9af58a1 (0 =3D> OK) -16 SINGLE: 9.47896384000000000000e+08 / 0x4e61ff01 (0x10 =3D> INEXACT ) +16 SINGLE: 6.09756025369279086590e-05 / 0x387fc00e (0x10 =3D> INEXACT ) 17 DOUBLE: 6.10352000000000013665e-05 / 0x003f100000c06a1ef5 (0 =3D> OK) -17 SINGLE: 9.47912768000000000000e+08 / 0x4e620001 (0x10 =3D> INEXACT ) +17 SINGLE: 6.10352071817032992840e-05 / 0x38800007 (0x10 =3D> INEXACT ) 18 DOUBLE: 1.00000000000000000000e+00 / 0x003ff0000000000000 (0 =3D> OK) -18 SINGLE: 1.06535321600000000000e+09 / 0x4e7e0000 (0 =3D> OK) +18 SINGLE: 1.00000000000000000000e+00 / 0x3f800000 (0 =3D> OK) 19 DOUBLE: 1.00097656250000000000e+00 / 0x003ff0040000000000 (0 =3D> OK) -19 SINGLE: 1.06536140800000000000e+09 / 0x4e7e0080 (0 =3D> OK) +19 SINGLE: 1.00097656250000000000e+00 / 0x3f802000 (0 =3D> OK) 20 DOUBLE: 2.22507385850720138310e-308 / 0x000010000000000000 (0 =3D> OK) -20 SINGLE: 1.00000000000000000000e+00 / 0x3f800000 (0x18 =3D> UNDERFLOW = INEXACT ) +20 SINGLE: 1.40129846432481707093e-45 / 0x00000001 (0x18 =3D> UNDERFLOW = INEXACT ) 21 DOUBLE: 1.37899728486072282844e-308 / 0x000009ea82a2287680 (0 =3D> OK) -21 SINGLE: 1.00000000000000000000e+00 / 0x3f800000 (0x18 =3D> UNDERFLOW = INEXACT ) +21 SINGLE: 1.40129846432481707093e-45 / 0x00000001 (0x18 =3D> UNDERFLOW = INEXACT ) 22 DOUBLE: 1.49147387366816238764e-308 / 0x00000ab98fba843210 (0 =3D> OK) -22 SINGLE: 1.00000000000000000000e+00 / 0x3f800000 (0x18 =3D> UNDERFLOW = INEXACT ) +22 SINGLE: 1.40129846432481707093e-45 / 0x00000001 (0x18 =3D> UNDERFLOW = INEXACT ) 23 DOUBLE: 1.00000000000000000000e+00 / 0x003ff0000000000000 (0 =3D> OK) -23 SINGLE: 1.06535321600000000000e+09 / 0x4e7e0000 (0 =3D> OK) +23 SINGLE: 1.00000000000000000000e+00 / 0x3f800000 (0 =3D> OK) 24 DOUBLE: 2.00000000000000000000e+00 / 0x004000000000000000 (0 =3D> OK) -24 SINGLE: 1.07374182400000000000e+09 / 0x4e800000 (0 =3D> OK) +24 SINGLE: 2.00000000000000000000e+00 / 0x40000000 (0 =3D> OK) 25 DOUBLE: 2.71828182845904509080e+00 / 0x004005bf0a8b145769 (0 =3D> OK) -25 SINGLE: 1.07675456000000000000e+09 / 0x4e805bf1 (0x10 =3D> INEXACT ) +25 SINGLE: 2.71828198432922363282e+00 / 0x402df855 (0x10 =3D> INEXACT ) 26 DOUBLE: 3.14159265358979311600e+00 / 0x00400921fb54442d18 (0 =3D> OK) -26 SINGLE: 1.07853004800000000000e+09 / 0x4e809220 (0x10 =3D> INEXACT ) +26 SINGLE: 3.14159274101257324219e+00 / 0x40490fdb (0x10 =3D> INEXACT ) 27 DOUBLE: 6.55030000000000000000e+04 / 0x0040effbe000000000 (0 =3D> OK) -27 SINGLE: 1.19956249600000000000e+09 / 0x4e8effbe (0 =3D> OK) +27 SINGLE: 6.55030000000000000000e+04 / 0x477fdf00 (0 =3D> OK) 28 DOUBLE: 6.55040000000000000000e+04 / 0x0040effc0000000000 (0 =3D> OK) -28 SINGLE: 1.19956275200000000000e+09 / 0x4e8effc0 (0 =3D> OK) +28 SINGLE: 6.55040000000000000000e+04 / 0x477fe000 (0 =3D> OK) 29 DOUBLE: 6.55050000000000000000e+04 / 0x0040effc2000000000 (0 =3D> OK) -29 SINGLE: 1.19956300800000000000e+09 / 0x4e8effc2 (0 =3D> OK) +29 SINGLE: 6.55050000000000000000e+04 / 0x477fe100 (0 =3D> OK) 30 DOUBLE: 1.31007000000000000000e+05 / 0x0040fffbf000000000 (0 =3D> OK) -30 SINGLE: 1.20795123200000000000e+09 / 0x4e8fffbf (0 =3D> OK) +30 SINGLE: 1.31007000000000000000e+05 / 0x47ffdf80 (0 =3D> OK) 31 DOUBLE: 1.31008000000000000000e+05 / 0x0040fffc0000000000 (0 =3D> OK) -31 SINGLE: 1.20795136000000000000e+09 / 0x4e8fffc0 (0 =3D> OK) +31 SINGLE: 1.31008000000000000000e+05 / 0x47ffe000 (0 =3D> OK) 32 DOUBLE: 1.31009000000000000000e+05 / 0x0040fffc1000000000 (0 =3D> OK) -32 SINGLE: 1.20795148800000000000e+09 / 0x4e8fffc1 (0 =3D> OK) +32 SINGLE: 1.31009000000000000000e+05 / 0x47ffe080 (0 =3D> OK) 33 DOUBLE: 2.14748364700000000000e+09 / 0x0041dfffffffc00000 (0 =3D> OK) -33 SINGLE: 1.32540006400000000000e+09 / 0x4e9e0000 (0x10 =3D> INEXACT ) +33 SINGLE: 2.14748364800000000000e+09 / 0x4f000000 (0x10 =3D> INEXACT ) 34 DOUBLE: 3.40282346638528859812e+38 / 0x0047efffffe0000000 (0 =3D> OK) -34 SINGLE: 2.13909504000000000000e+09 / 0x4eff0000 (0x10 =3D> INEXACT ) +34 SINGLE: 3.40282346638528859812e+38 / 0x7f7fffff (0 =3D> OK) 35 DOUBLE: 3.40282346638528859812e+38 / 0x0047efffffe0000000 (0 =3D> OK) -35 SINGLE: 2.13909504000000000000e+09 / 0x4eff0000 (0x10 =3D> INEXACT ) +35 SINGLE: 3.40282346638528859812e+38 / 0x7f7fffff (0 =3D> OK) 36 DOUBLE: 1.79769313486231570815e+308 / 0x007fefffffffffffff (0 =3D> OK) -36 SINGLE: 2.13909504000000000000e+09 / 0x4eff0000 (0x14 =3D> OVERFLOW = INEXACT ) +36 SINGLE: inf / 0x7f800000 (0x14 =3D> OVERFLOW INEXACT ) 37 DOUBLE: inf / 0x007ff0000000000000 (0 =3D> OK) -37 SINGLE: 2.13909504000000000000e+09 / 0x4eff0000 (0 =3D> OK) +37 SINGLE: inf / 0x7f800000 (0 =3D> OK) 38 DOUBLE: nan / 0x007ff8000000000000 (0 =3D> OK) -38 SINGLE: 2.14328934400000000000e+09 / 0x4eff8000 (0 =3D> OK) +38 SINGLE: nan / 0x7fc00000 (0 =3D> OK) 39 DOUBLE: nan / 0x007ff0000000000001 (0 =3D> OK) -39 SINGLE: 2.14328934400000000000e+09 / 0x4eff8000 (0x1 =3D> INVALID) +39 SINGLE: nan / 0x7fc00000 (0x1 =3D> INVALID) 40 DOUBLE: nan / 0x007ff4000000000000 (0 =3D> OK) -40 SINGLE: 2.14538649600000000000e+09 / 0x4effc000 (0x1 =3D> INVALID) +40 SINGLE: nan / 0x7fe00000 (0x1 =3D> INVALID) Converting half-precision to single-precision 00 HALF: 0xffff (0 =3D> OK) 00 SINGLE: -1.31008000000000000000e+05 / 0xc7ffe000 (0 =3D> OK) @@ -2571,45 +2571,45 @@ Converting double-precision to half-precision 40 HALF: 0000 (0x1 =3D> INVALID) Converting double-precision to single-precision 00 DOUBLE: nan / 0x007ff4000000000000 (0 =3D> OK) -00 SINGLE: 2.14538649600000000000e+09 / 0x4effc000 (0x1 =3D> INVALID) +00 SINGLE: nan / 0x7fe00000 (0x1 =3D> INVALID) 01 DOUBLE: -nan / 0x00fff8000000000000 (0 =3D> OK) -01 SINGLE: 4.29077299200000000000e+09 / 0x4f7fc000 (0 =3D> OK) +01 SINGLE: -nan / 0xffc00000 (0 =3D> OK) 02 DOUBLE: -inf / 0x00fff0000000000000 (0 =3D> OK) -02 SINGLE: 4.28657868800000000000e+09 / 0x4f7f8000 (0 =3D> OK) +02 SINGLE: -inf / 0xff800000 (0 =3D> OK) 03 DOUBLE: -1.79769313486231570815e+308 / 0x00ffefffffffffffff (0 =3D> OK) -03 SINGLE: 4.28657868800000000000e+09 / 0x4f7f8000 (0x14 =3D> OVERFLOW = INEXACT ) +03 SINGLE: -inf / 0xff800000 (0x14 =3D> OVERFLOW INEXACT ) 04 DOUBLE: -3.40282346638528859812e+38 / 0x00c7efffffe0000000 (0 =3D> OK) -04 SINGLE: 4.28657843200000000000e+09 / 0x4f7f7fff (0x10 =3D> INEXACT ) +04 SINGLE: -3.40282346638528859812e+38 / 0xff7fffff (0 =3D> OK) 05 DOUBLE: -3.40282346638528859812e+38 / 0x00c7efffffe0000000 (0 =3D> OK) -05 SINGLE: 4.28657843200000000000e+09 / 0x4f7f7fff (0x10 =3D> INEXACT ) +05 SINGLE: -3.40282346638528859812e+38 / 0xff7fffff (0 =3D> OK) 06 DOUBLE: -1.11100000000000007530e+31 / 0x00c661874b135ff654 (0 =3D> OK) -06 SINGLE: 4.07766476800000000000e+09 / 0x4f730c3a (0x10 =3D> INEXACT ) +06 SINGLE: -1.11100004769645909791e+31 / 0xf30c3a59 (0x10 =3D> INEXACT= ) 07 DOUBLE: -1.11099999999999999085e+30 / 0x00c62c0bab523323b9 (0 =3D> OK) -07 SINGLE: 4.04962432000000000000e+09 / 0x4f71605d (0x10 =3D> INEXACT ) +07 SINGLE: -1.11100003258488635273e+30 / 0xf1605d5b (0x10 =3D> INEXACT= ) 08 DOUBLE: -2.00000000000000000000e+00 / 0x00c000000000000000 (0 =3D> OK) -08 SINGLE: 3.22122547200000000000e+09 / 0x4f400000 (0 =3D> OK) +08 SINGLE: -2.00000000000000000000e+00 / 0xc0000000 (0 =3D> OK) 09 DOUBLE: -1.00000000000000000000e+00 / 0x00bff0000000000000 (0 =3D> OK) -09 SINGLE: 3.21283686400000000000e+09 / 0x4f3f8000 (0 =3D> OK) +09 SINGLE: -1.00000000000000000000e+00 / 0xbf800000 (0 =3D> OK) 10 DOUBLE: -2.22507385850720138310e-308 / 0x008010000000000000 (0 =3D> OK) -10 SINGLE: 2.14748364800000000000e+09 / 0x4f000000 (0x18 =3D> UNDERFLOW = INEXACT ) +10 SINGLE: -1.40129846432481707093e-45 / 0x80000001 (0x18 =3D> UNDERFLOW= INEXACT ) 11 DOUBLE: -1.17549435082228750797e-38 / 0x00b810000000000000 (0 =3D> OK) -11 SINGLE: 2.15587225600000000000e+09 / 0x4f008000 (0 =3D> OK) +11 SINGLE: -1.17549435082228750797e-38 / 0x80800000 (0 =3D> OK) 12 DOUBLE: 0.00000000000000000000e+00 / 00000000000000000000 (0 =3D> OK) 12 SINGLE: 0.00000000000000000000e+00 / 0000000000 (0 =3D> OK) 13 DOUBLE: 1.17549435082228750796e-38 / 0x003810000000000000 (0 =3D> OK) -13 SINGLE: 8.38860800000000000000e+06 / 0x4b000000 (0 =3D> OK) +13 SINGLE: 1.17549435082228750796e-38 / 0x00800000 (0 =3D> OK) 14 DOUBLE: 2.98023224000000013060e-08 / 0x003e600000001c5f68 (0 =3D> OK) -14 SINGLE: 8.55638016000000000000e+08 / 0x4e4c0000 (0x10 =3D> INEXACT ) +14 SINGLE: 2.98023223876953125000e-08 / 0x33000000 (0x10 =3D> INEXACT ) 15 DOUBLE: 5.96046000000000015661e-08 / 0x003e6ffffe6cb2fa82 (0 =3D> OK) -15 SINGLE: 8.64026560000000000000e+08 / 0x4e4dffff (0x10 =3D> INEXACT ) +15 SINGLE: 5.96045985901128005934e-08 / 0x337ffff3 (0x10 =3D> INEXACT ) 16 DOUBLE: 6.09755999999999994298e-05 / 0x003f0ff801a9af58a1 (0 =3D> OK) -16 SINGLE: 9.47896320000000000000e+08 / 0x4e61ff00 (0x10 =3D> INEXACT ) +16 SINGLE: 6.09755988989491015672e-05 / 0x387fc00d (0x10 =3D> INEXACT ) 17 DOUBLE: 6.10352000000000013664e-05 / 0x003f100000c06a1ef5 (0 =3D> OK) -17 SINGLE: 9.47912704000000000000e+08 / 0x4e620000 (0x10 =3D> INEXACT ) +17 SINGLE: 6.10351999057456851005e-05 / 0x38800006 (0x10 =3D> INEXACT ) 18 DOUBLE: 1.00000000000000000000e+00 / 0x003ff0000000000000 (0 =3D> OK) -18 SINGLE: 1.06535321600000000000e+09 / 0x4e7e0000 (0 =3D> OK) +18 SINGLE: 1.00000000000000000000e+00 / 0x3f800000 (0 =3D> OK) 19 DOUBLE: 1.00097656250000000000e+00 / 0x003ff0040000000000 (0 =3D> OK) -19 SINGLE: 1.06536140800000000000e+09 / 0x4e7e0080 (0 =3D> OK) +19 SINGLE: 1.00097656250000000000e+00 / 0x3f802000 (0 =3D> OK) 20 DOUBLE: 2.22507385850720138309e-308 / 0x000010000000000000 (0 =3D> OK) 20 SINGLE: 0.00000000000000000000e+00 / 0000000000 (0x18 =3D> UNDERFLOW = INEXACT ) 21 DOUBLE: 1.37899728486072282843e-308 / 0x000009ea82a2287680 (0 =3D> OK) @@ -2617,41 +2617,41 @@ Converting double-precision to single-precision 22 DOUBLE: 1.49147387366816238763e-308 / 0x00000ab98fba843210 (0 =3D> OK) 22 SINGLE: 0.00000000000000000000e+00 / 0000000000 (0x18 =3D> UNDERFLOW = INEXACT ) 23 DOUBLE: 1.00000000000000000000e+00 / 0x003ff0000000000000 (0 =3D> OK) -23 SINGLE: 1.06535321600000000000e+09 / 0x4e7e0000 (0 =3D> OK) +23 SINGLE: 1.00000000000000000000e+00 / 0x3f800000 (0 =3D> OK) 24 DOUBLE: 2.00000000000000000000e+00 / 0x004000000000000000 (0 =3D> OK) -24 SINGLE: 1.07374182400000000000e+09 / 0x4e800000 (0 =3D> OK) +24 SINGLE: 2.00000000000000000000e+00 / 0x40000000 (0 =3D> OK) 25 DOUBLE: 2.71828182845904509079e+00 / 0x004005bf0a8b145769 (0 =3D> OK) -25 SINGLE: 1.07675443200000000000e+09 / 0x4e805bf0 (0x10 =3D> INEXACT ) +25 SINGLE: 2.71828174591064453125e+00 / 0x402df854 (0x10 =3D> INEXACT ) 26 DOUBLE: 3.14159265358979311599e+00 / 0x00400921fb54442d18 (0 =3D> OK) -26 SINGLE: 1.07852992000000000000e+09 / 0x4e80921f (0x10 =3D> INEXACT ) +26 SINGLE: 3.14159250259399414062e+00 / 0x40490fda (0x10 =3D> INEXACT ) 27 DOUBLE: 6.55030000000000000000e+04 / 0x0040effbe000000000 (0 =3D> OK) -27 SINGLE: 1.19956249600000000000e+09 / 0x4e8effbe (0 =3D> OK) +27 SINGLE: 6.55030000000000000000e+04 / 0x477fdf00 (0 =3D> OK) 28 DOUBLE: 6.55040000000000000000e+04 / 0x0040effc0000000000 (0 =3D> OK) -28 SINGLE: 1.19956275200000000000e+09 / 0x4e8effc0 (0 =3D> OK) +28 SINGLE: 6.55040000000000000000e+04 / 0x477fe000 (0 =3D> OK) 29 DOUBLE: 6.55050000000000000000e+04 / 0x0040effc2000000000 (0 =3D> OK) -29 SINGLE: 1.19956300800000000000e+09 / 0x4e8effc2 (0 =3D> OK) +29 SINGLE: 6.55050000000000000000e+04 / 0x477fe100 (0 =3D> OK) 30 DOUBLE: 1.31007000000000000000e+05 / 0x0040fffbf000000000 (0 =3D> OK) -30 SINGLE: 1.20795123200000000000e+09 / 0x4e8fffbf (0 =3D> OK) +30 SINGLE: 1.31007000000000000000e+05 / 0x47ffdf80 (0 =3D> OK) 31 DOUBLE: 1.31008000000000000000e+05 / 0x0040fffc0000000000 (0 =3D> OK) -31 SINGLE: 1.20795136000000000000e+09 / 0x4e8fffc0 (0 =3D> OK) +31 SINGLE: 1.31008000000000000000e+05 / 0x47ffe000 (0 =3D> OK) 32 DOUBLE: 1.31009000000000000000e+05 / 0x0040fffc1000000000 (0 =3D> OK) -32 SINGLE: 1.20795148800000000000e+09 / 0x4e8fffc1 (0 =3D> OK) +32 SINGLE: 1.31009000000000000000e+05 / 0x47ffe080 (0 =3D> OK) 33 DOUBLE: 2.14748364700000000000e+09 / 0x0041dfffffffc00000 (0 =3D> OK) -33 SINGLE: 1.32539993600000000000e+09 / 0x4e9dffff (0x10 =3D> INEXACT ) +33 SINGLE: 2.14748352000000000000e+09 / 0x4effffff (0x10 =3D> INEXACT ) 34 DOUBLE: 3.40282346638528859811e+38 / 0x0047efffffe0000000 (0 =3D> OK) -34 SINGLE: 2.13909491200000000000e+09 / 0x4efeffff (0x10 =3D> INEXACT ) +34 SINGLE: 3.40282346638528859811e+38 / 0x7f7fffff (0 =3D> OK) 35 DOUBLE: 3.40282346638528859811e+38 / 0x0047efffffe0000000 (0 =3D> OK) -35 SINGLE: 2.13909491200000000000e+09 / 0x4efeffff (0x10 =3D> INEXACT ) +35 SINGLE: 3.40282346638528859811e+38 / 0x7f7fffff (0 =3D> OK) 36 DOUBLE: 1.79769313486231570814e+308 / 0x007fefffffffffffff (0 =3D> OK) -36 SINGLE: 2.13909491200000000000e+09 / 0x4efeffff (0x14 =3D> OVERFLOW = INEXACT ) +36 SINGLE: 3.40282346638528859811e+38 / 0x7f7fffff (0x14 =3D> OVERFLOW = INEXACT ) 37 DOUBLE: inf / 0x007ff0000000000000 (0 =3D> OK) -37 SINGLE: 2.13909504000000000000e+09 / 0x4eff0000 (0 =3D> OK) +37 SINGLE: inf / 0x7f800000 (0 =3D> OK) 38 DOUBLE: nan / 0x007ff8000000000000 (0 =3D> OK) -38 SINGLE: 2.14328934400000000000e+09 / 0x4eff8000 (0 =3D> OK) +38 SINGLE: nan / 0x7fc00000 (0 =3D> OK) 39 DOUBLE: nan / 0x007ff0000000000001 (0 =3D> OK) -39 SINGLE: 2.14328934400000000000e+09 / 0x4eff8000 (0x1 =3D> INVALID) +39 SINGLE: nan / 0x7fc00000 (0x1 =3D> INVALID) 40 DOUBLE: nan / 0x007ff4000000000000 (0 =3D> OK) -40 SINGLE: 2.14538649600000000000e+09 / 0x4effc000 (0x1 =3D> INVALID) +40 SINGLE: nan / 0x7fe00000 (0x1 =3D> INVALID) Converting half-precision to single-precision 00 HALF: 0xffff (0 =3D> OK) 00 SINGLE: -1.31008000000000000000e+05 / 0xc7ffe000 (0 =3D> OK) @@ -2934,45 +2934,45 @@ Converting double-precision to half-precision 40 HALF: 0000 (0x1 =3D> INVALID) Converting double-precision to single-precision 00 DOUBLE: nan / 0x007ff4000000000000 (0 =3D> OK) -00 SINGLE: 2.14538649600000000000e+09 / 0x4effc000 (0x1 =3D> INVALID) +00 SINGLE: nan / 0x7fe00000 (0x1 =3D> INVALID) 01 DOUBLE: -nan / 0x00fff8000000000000 (0 =3D> OK) -01 SINGLE: 4.29077299200000000000e+09 / 0x4f7fc000 (0 =3D> OK) +01 SINGLE: -nan / 0xffc00000 (0 =3D> OK) 02 DOUBLE: -inf / 0x00fff0000000000000 (0 =3D> OK) -02 SINGLE: 4.28657868800000000000e+09 / 0x4f7f8000 (0 =3D> OK) +02 SINGLE: -inf / 0xff800000 (0 =3D> OK) 03 DOUBLE: -1.79769313486231570814e+308 / 0x00ffefffffffffffff (0 =3D> OK) -03 SINGLE: 4.28657843200000000000e+09 / 0x4f7f7fff (0x14 =3D> OVERFLOW = INEXACT ) +03 SINGLE: -3.40282346638528859811e+38 / 0xff7fffff (0x14 =3D> OVERFLOW = INEXACT ) 04 DOUBLE: -3.40282346638528859811e+38 / 0x00c7efffffe0000000 (0 =3D> OK) -04 SINGLE: 4.28657843200000000000e+09 / 0x4f7f7fff (0x10 =3D> INEXACT ) +04 SINGLE: -3.40282346638528859811e+38 / 0xff7fffff (0 =3D> OK) 05 DOUBLE: -3.40282346638528859811e+38 / 0x00c7efffffe0000000 (0 =3D> OK) -05 SINGLE: 4.28657843200000000000e+09 / 0x4f7f7fff (0x10 =3D> INEXACT ) +05 SINGLE: -3.40282346638528859811e+38 / 0xff7fffff (0 =3D> OK) 06 DOUBLE: -1.11100000000000007529e+31 / 0x00c661874b135ff654 (0 =3D> OK) -06 SINGLE: 4.07766476800000000000e+09 / 0x4f730c3a (0x10 =3D> INEXACT ) +06 SINGLE: -1.11099992680387713644e+31 / 0xf30c3a58 (0x10 =3D> INEXACT= ) 07 DOUBLE: -1.11099999999999999084e+30 / 0x00c62c0bab523323b9 (0 =3D> OK) -07 SINGLE: 4.04962432000000000000e+09 / 0x4f71605d (0x10 =3D> INEXACT ) +07 SINGLE: -1.11099995702702262681e+30 / 0xf1605d5a (0x10 =3D> INEXACT= ) 08 DOUBLE: -2.00000000000000000000e+00 / 0x00c000000000000000 (0 =3D> OK) -08 SINGLE: 3.22122547200000000000e+09 / 0x4f400000 (0 =3D> OK) +08 SINGLE: -2.00000000000000000000e+00 / 0xc0000000 (0 =3D> OK) 09 DOUBLE: -1.00000000000000000000e+00 / 0x00bff0000000000000 (0 =3D> OK) -09 SINGLE: 3.21283686400000000000e+09 / 0x4f3f8000 (0 =3D> OK) +09 SINGLE: -1.00000000000000000000e+00 / 0xbf800000 (0 =3D> OK) 10 DOUBLE: -2.22507385850720138309e-308 / 0x008010000000000000 (0 =3D> OK) -10 SINGLE: 2.14748364800000000000e+09 / 0x4f000000 (0x18 =3D> UNDERFLOW = INEXACT ) +10 SINGLE: -0.00000000000000000000e+00 / 0x80000000 (0x18 =3D> UNDERFLOW= INEXACT ) 11 DOUBLE: -1.17549435082228750796e-38 / 0x00b810000000000000 (0 =3D> OK) -11 SINGLE: 2.15587225600000000000e+09 / 0x4f008000 (0 =3D> OK) +11 SINGLE: -1.17549435082228750796e-38 / 0x80800000 (0 =3D> OK) 12 DOUBLE: 0.00000000000000000000e+00 / 00000000000000000000 (0 =3D> OK) 12 SINGLE: 0.00000000000000000000e+00 / 0000000000 (0 =3D> OK) 13 DOUBLE: 1.17549435082228750796e-38 / 0x003810000000000000 (0 =3D> OK) -13 SINGLE: 8.38860800000000000000e+06 / 0x4b000000 (0 =3D> OK) +13 SINGLE: 1.17549435082228750796e-38 / 0x00800000 (0 =3D> OK) 14 DOUBLE: 2.98023224000000013060e-08 / 0x003e600000001c5f68 (0 =3D> OK) -14 SINGLE: 8.55638016000000000000e+08 / 0x4e4c0000 (0x10 =3D> INEXACT ) +14 SINGLE: 2.98023223876953125000e-08 / 0x33000000 (0x10 =3D> INEXACT ) 15 DOUBLE: 5.96046000000000015661e-08 / 0x003e6ffffe6cb2fa82 (0 =3D> OK) -15 SINGLE: 8.64026560000000000000e+08 / 0x4e4dffff (0x10 =3D> INEXACT ) +15 SINGLE: 5.96045985901128005934e-08 / 0x337ffff3 (0x10 =3D> INEXACT ) 16 DOUBLE: 6.09755999999999994298e-05 / 0x003f0ff801a9af58a1 (0 =3D> OK) -16 SINGLE: 9.47896320000000000000e+08 / 0x4e61ff00 (0x10 =3D> INEXACT ) +16 SINGLE: 6.09755988989491015672e-05 / 0x387fc00d (0x10 =3D> INEXACT ) 17 DOUBLE: 6.10352000000000013664e-05 / 0x003f100000c06a1ef5 (0 =3D> OK) -17 SINGLE: 9.47912704000000000000e+08 / 0x4e620000 (0x10 =3D> INEXACT ) +17 SINGLE: 6.10351999057456851005e-05 / 0x38800006 (0x10 =3D> INEXACT ) 18 DOUBLE: 1.00000000000000000000e+00 / 0x003ff0000000000000 (0 =3D> OK) -18 SINGLE: 1.06535321600000000000e+09 / 0x4e7e0000 (0 =3D> OK) +18 SINGLE: 1.00000000000000000000e+00 / 0x3f800000 (0 =3D> OK) 19 DOUBLE: 1.00097656250000000000e+00 / 0x003ff0040000000000 (0 =3D> OK) -19 SINGLE: 1.06536140800000000000e+09 / 0x4e7e0080 (0 =3D> OK) +19 SINGLE: 1.00097656250000000000e+00 / 0x3f802000 (0 =3D> OK) 20 DOUBLE: 2.22507385850720138309e-308 / 0x000010000000000000 (0 =3D> OK) 20 SINGLE: 0.00000000000000000000e+00 / 0000000000 (0x18 =3D> UNDERFLOW = INEXACT ) 21 DOUBLE: 1.37899728486072282843e-308 / 0x000009ea82a2287680 (0 =3D> OK) @@ -2980,41 +2980,41 @@ Converting double-precision to single-precision 22 DOUBLE: 1.49147387366816238763e-308 / 0x00000ab98fba843210 (0 =3D> OK) 22 SINGLE: 0.00000000000000000000e+00 / 0000000000 (0x18 =3D> UNDERFLOW = INEXACT ) 23 DOUBLE: 1.00000000000000000000e+00 / 0x003ff0000000000000 (0 =3D> OK) -23 SINGLE: 1.06535321600000000000e+09 / 0x4e7e0000 (0 =3D> OK) +23 SINGLE: 1.00000000000000000000e+00 / 0x3f800000 (0 =3D> OK) 24 DOUBLE: 2.00000000000000000000e+00 / 0x004000000000000000 (0 =3D> OK) -24 SINGLE: 1.07374182400000000000e+09 / 0x4e800000 (0 =3D> OK) +24 SINGLE: 2.00000000000000000000e+00 / 0x40000000 (0 =3D> OK) 25 DOUBLE: 2.71828182845904509079e+00 / 0x004005bf0a8b145769 (0 =3D> OK) -25 SINGLE: 1.07675443200000000000e+09 / 0x4e805bf0 (0x10 =3D> INEXACT ) +25 SINGLE: 2.71828174591064453125e+00 / 0x402df854 (0x10 =3D> INEXACT ) 26 DOUBLE: 3.14159265358979311599e+00 / 0x00400921fb54442d18 (0 =3D> OK) -26 SINGLE: 1.07852992000000000000e+09 / 0x4e80921f (0x10 =3D> INEXACT ) +26 SINGLE: 3.14159250259399414062e+00 / 0x40490fda (0x10 =3D> INEXACT ) 27 DOUBLE: 6.55030000000000000000e+04 / 0x0040effbe000000000 (0 =3D> OK) -27 SINGLE: 1.19956249600000000000e+09 / 0x4e8effbe (0 =3D> OK) +27 SINGLE: 6.55030000000000000000e+04 / 0x477fdf00 (0 =3D> OK) 28 DOUBLE: 6.55040000000000000000e+04 / 0x0040effc0000000000 (0 =3D> OK) -28 SINGLE: 1.19956275200000000000e+09 / 0x4e8effc0 (0 =3D> OK) +28 SINGLE: 6.55040000000000000000e+04 / 0x477fe000 (0 =3D> OK) 29 DOUBLE: 6.55050000000000000000e+04 / 0x0040effc2000000000 (0 =3D> OK) -29 SINGLE: 1.19956300800000000000e+09 / 0x4e8effc2 (0 =3D> OK) +29 SINGLE: 6.55050000000000000000e+04 / 0x477fe100 (0 =3D> OK) 30 DOUBLE: 1.31007000000000000000e+05 / 0x0040fffbf000000000 (0 =3D> OK) -30 SINGLE: 1.20795123200000000000e+09 / 0x4e8fffbf (0 =3D> OK) +30 SINGLE: 1.31007000000000000000e+05 / 0x47ffdf80 (0 =3D> OK) 31 DOUBLE: 1.31008000000000000000e+05 / 0x0040fffc0000000000 (0 =3D> OK) -31 SINGLE: 1.20795136000000000000e+09 / 0x4e8fffc0 (0 =3D> OK) +31 SINGLE: 1.31008000000000000000e+05 / 0x47ffe000 (0 =3D> OK) 32 DOUBLE: 1.31009000000000000000e+05 / 0x0040fffc1000000000 (0 =3D> OK) -32 SINGLE: 1.20795148800000000000e+09 / 0x4e8fffc1 (0 =3D> OK) +32 SINGLE: 1.31009000000000000000e+05 / 0x47ffe080 (0 =3D> OK) 33 DOUBLE: 2.14748364700000000000e+09 / 0x0041dfffffffc00000 (0 =3D> OK) -33 SINGLE: 1.32539993600000000000e+09 / 0x4e9dffff (0x10 =3D> INEXACT ) +33 SINGLE: 2.14748352000000000000e+09 / 0x4effffff (0x10 =3D> INEXACT ) 34 DOUBLE: 3.40282346638528859811e+38 / 0x0047efffffe0000000 (0 =3D> OK) -34 SINGLE: 2.13909491200000000000e+09 / 0x4efeffff (0x10 =3D> INEXACT ) +34 SINGLE: 3.40282346638528859811e+38 / 0x7f7fffff (0 =3D> OK) 35 DOUBLE: 3.40282346638528859811e+38 / 0x0047efffffe0000000 (0 =3D> OK) -35 SINGLE: 2.13909491200000000000e+09 / 0x4efeffff (0x10 =3D> INEXACT ) +35 SINGLE: 3.40282346638528859811e+38 / 0x7f7fffff (0 =3D> OK) 36 DOUBLE: 1.79769313486231570814e+308 / 0x007fefffffffffffff (0 =3D> OK) -36 SINGLE: 2.13909491200000000000e+09 / 0x4efeffff (0x14 =3D> OVERFLOW = INEXACT ) +36 SINGLE: 3.40282346638528859811e+38 / 0x7f7fffff (0x14 =3D> OVERFLOW = INEXACT ) 37 DOUBLE: inf / 0x007ff0000000000000 (0 =3D> OK) -37 SINGLE: 2.13909504000000000000e+09 / 0x4eff0000 (0 =3D> OK) +37 SINGLE: inf / 0x7f800000 (0 =3D> OK) 38 DOUBLE: nan / 0x007ff8000000000000 (0 =3D> OK) -38 SINGLE: 2.14328934400000000000e+09 / 0x4eff8000 (0 =3D> OK) +38 SINGLE: nan / 0x7fc00000 (0 =3D> OK) 39 DOUBLE: nan / 0x007ff0000000000001 (0 =3D> OK) -39 SINGLE: 2.14328934400000000000e+09 / 0x4eff8000 (0x1 =3D> INVALID) +39 SINGLE: nan / 0x7fc00000 (0x1 =3D> INVALID) 40 DOUBLE: nan / 0x007ff4000000000000 (0 =3D> OK) -40 SINGLE: 2.14538649600000000000e+09 / 0x4effc000 (0x1 =3D> INVALID) +40 SINGLE: nan / 0x7fe00000 (0x1 =3D> INVALID) Converting half-precision to single-precision 00 HALF: 0xffff (0 =3D> OK) 00 SINGLE: -1.31008000000000000000e+05 / 0xc7ffe000 (0 =3D> OK) --=20 2.45.2 From nobody Sun Nov 24 23:52:28 2024 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org ARC-Seal: i=1; a=rsa-sha256; t=1719496784; cv=none; d=zohomail.com; s=zohoarc; b=a+IJLcjuKauV6+Bew4vzb2syOjWBg3PwnDiH/EzxDQFJuWeziQKxHJLKFx39RvC05MGuFnJYS1R3x9GTrlzZseXH7yw2oqvqXl+xjs/pU0aFdc/X+qQ14rpunatURR/Yv4CM5nucbj4xM3ZSrth5AQ4Ln6aK5h/m5Tq0CMiFznU= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1719496784; h=Content-Type:Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:Subject:To:To:Message-Id:Reply-To; bh=tmHLAd4iwYsP/x6+8JTBgWg+UXfKosXtWEII2F/7Uyk=; b=BMEk7IPumg1vRUS5jXmlmgqNdG+2pPEFxFUx4Wl3M0/vigbQLeJMnOBPhUmBj0pRdruirdp6fXbnyvUv9tga/ybhHa6WbH4S7mjyrV6WY+ejOsKoPWoTyC99w7YCL7bWogypsjmDnFNCwJDNm8ml9gd3mGLrwfJ7woE8ymBHeF8= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1719496784081844.7431985724074; Thu, 27 Jun 2024 06:59:44 -0700 (PDT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sMpds-0002LW-6l; Thu, 27 Jun 2024 09:58:28 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sMpdp-0002J3-DO for qemu-devel@nongnu.org; Thu, 27 Jun 2024 09:58:25 -0400 Received: from mail-pl1-x632.google.com ([2607:f8b0:4864:20::632]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sMpdm-0007py-6A for qemu-devel@nongnu.org; Thu, 27 Jun 2024 09:58:24 -0400 Received: by mail-pl1-x632.google.com with SMTP id d9443c01a7336-1faad409ca7so4349265ad.1 for ; Thu, 27 Jun 2024 06:58:21 -0700 (PDT) Received: from localhost ([2400:4050:a840:1e00:9ac7:6d57:2b16:6932]) by smtp.gmail.com with UTF8SMTPSA id d9443c01a7336-1faac997f0dsm13461055ad.219.2024.06.27.06.58.19 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 27 Jun 2024 06:58:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=daynix-com.20230601.gappssmtp.com; s=20230601; t=1719496701; x=1720101501; darn=nongnu.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=tmHLAd4iwYsP/x6+8JTBgWg+UXfKosXtWEII2F/7Uyk=; b=HkazcU3LoSurnnBG5f+arNn5SW9rNbM4LT1qx0ibDrAxMekdQE2RueAaVxt8tw7X76 J9c2euN8tvxaV19SAUFMoYnzKyj2td/WqGOH8g8Q7nr7uz9f10pwmf6CGbLoQhUyJtYA HpTwjHqyIxVXnQikGR8h0Dk4NEhVbmIYvZAEeC23GJ+G42pUcKoFv2pTnHwk9o8SAQdl EL8OiedkLlvMHf5yP1MGiUVR2A/LcLnX9v7seLsVroYNsgYDQVeZqCzqOgxhfySKlDJL TQ4a8fOWb9CPtzWofYUUspRISR0jMZWarqbge9pe2jW4K/TtXli4RukYzEK/AorlcDpg ZdvA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1719496701; x=1720101501; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=tmHLAd4iwYsP/x6+8JTBgWg+UXfKosXtWEII2F/7Uyk=; b=f0WuSU6hHhIB5VOe/TEXPBVHqLq4URz09iWJdE678vuu7L56jgaPOVp1anRoD/k4Pe rPpdRNLScUCjMTaPeaKX5vnxwLyxspfXDcGBIuG9iLLofDxp2VwXedPXBNNPXdkonozq aexBVT0xJiq1q3skzZk3BdiYP1oxai4q2LWmvoz1TQyQX7EB+jOB8EneeXpcHOgk6dPb eMB0YmqVZyC0AtCyfpxsiwPUokAl2ofIuREUwBPZHvufOFWfsrcIik0q8ynyBCg3jdBC KbeqX2hD5sj0DyYIuHdvMf1cvZd/3g+W5HxzKZmnGHzQl7F5OcQ5J8j7URop2kD3qukF 8pZA== X-Forwarded-Encrypted: i=1; AJvYcCUfT565JOJecdYjl7JXpKXvMD7OAEKVf+HasjiCeRptyyrgCjj07RDAZPoox9F2OKQvZe4pZcjwtAu/19wGUX9nmJ82/b0= X-Gm-Message-State: AOJu0YwQ8a8KAypg5qyJJoXV++74AoWKwP7+8Vd6/3b8yChnec4v1Rup /bAagjEEttZARY0O3WJoPTYSHw2+Y+SPNYRSHUeNnzU7CEfCmy85iU3+Y0Kb2Ww= X-Google-Smtp-Source: AGHT+IGeURGVHdKCNIAuCEg1i4vW6FoDiAihGtDvnSSRW1/TKoF3Fw3lq6S6cNqJp7BXjwkGaQ6Rtw== X-Received: by 2002:a17:903:1110:b0:1fa:918e:ec2 with SMTP id d9443c01a7336-1fa918e10f4mr64242515ad.57.1719496700795; Thu, 27 Jun 2024 06:58:20 -0700 (PDT) From: Akihiko Odaki Date: Thu, 27 Jun 2024 22:58:03 +0900 Subject: [PATCH v2 2/6] tests/tcg/aarch64: Fix test architecture specification MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20240627-tcg-v2-2-1690a813348e@daynix.com> References: <20240627-tcg-v2-0-1690a813348e@daynix.com> In-Reply-To: <20240627-tcg-v2-0-1690a813348e@daynix.com> To: Peter Maydell , =?utf-8?q?Alex_Benn=C3=A9e?= , =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= Cc: qemu-arm@nongnu.org, qemu-devel@nongnu.org, Akihiko Odaki X-Mailer: b4 0.14-dev-fd6e3 Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: none client-ip=2607:f8b0:4864:20::632; envelope-from=akihiko.odaki@daynix.com; helo=mail-pl1-x632.google.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_NONE=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: qemu-devel-bounces+importer=patchew.org@nongnu.org X-ZohoMail-DKIM: pass (identity @daynix-com.20230601.gappssmtp.com) X-ZM-MESSAGEID: 1719496785273100009 sme-smopa-2.c requires sme-i16i64 but the compiler option used not to specify it. Instead, the extension was specified with the inline assembly, resulting in mixing assembly code targeting sme-i1664 and C code that does not target sme-i1664. clang version 18.1.6 does not support such mixing so properly specify the extension with the compiler option instead. Signed-off-by: Akihiko Odaki --- tests/tcg/aarch64/sme-smopa-2.c | 2 +- tests/tcg/aarch64/Makefile.target | 11 +++++++++-- 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/tests/tcg/aarch64/sme-smopa-2.c b/tests/tcg/aarch64/sme-smopa-= 2.c index c9f48c3bfca2..2c9707065992 100644 --- a/tests/tcg/aarch64/sme-smopa-2.c +++ b/tests/tcg/aarch64/sme-smopa-2.c @@ -14,7 +14,7 @@ int main() long svl; =20 /* Validate that we have a wide enough vector for 4 elements. */ - asm(".arch armv8-r+sme-i64\n\trdsvl %0, #1" : "=3Dr"(svl)); + asm("rdsvl %0, #1" : "=3Dr"(svl)); if (svl < 32) { return 0; } diff --git a/tests/tcg/aarch64/Makefile.target b/tests/tcg/aarch64/Makefile= .target index 70d728ae9af7..ad99e0e3b198 100644 --- a/tests/tcg/aarch64/Makefile.target +++ b/tests/tcg/aarch64/Makefile.target @@ -27,7 +27,8 @@ config-cc.mak: Makefile $(call cc-option,-march=3Darmv8.5-a, CROSS_CC_HAS_ARMV8_= 5); \ $(call cc-option,-mbranch-protection=3Dstandard, CROSS_CC_HAS_ARMV8_= BTI); \ $(call cc-option,-march=3Darmv8.5-a+memtag, CROSS_CC_HAS_ARMV8_= MTE); \ - $(call cc-option,-Wa$(COMMA)-march=3Darmv9-a+sme, CROSS_AS_HAS_ARMV9_= SME)) 3> config-cc.mak + $(call cc-option,-Wa$(COMMA)-march=3Darmv9-a+sme, CROSS_AS_HAS_ARMV9_= SME); \ + $(call cc-option,-march=3Darmv9-a+sme-i16i64, CROSS_AS_HAS_ARMV9_= SME_I1664)) 3> config-cc.mak -include config-cc.mak =20 ifneq ($(CROSS_CC_HAS_ARMV8_2),) @@ -68,7 +69,13 @@ endif =20 # SME Tests ifneq ($(CROSS_AS_HAS_ARMV9_SME),) -AARCH64_TESTS +=3D sme-outprod1 sme-smopa-1 sme-smopa-2 +AARCH64_TESTS +=3D sme-outprod1 sme-smopa-1 +endif + +# SME I16I64 Tests +ifneq ($(CROSS_AS_HAS_ARMV9_SME_I1664),) +AARCH64_TESTS +=3D sme-smopa-2 +sme-smopa-2: CFLAGS +=3D -march=3Darmv9-a+sme-i16i64 endif =20 # System Registers Tests --=20 2.45.2 From nobody Sun Nov 24 23:52:28 2024 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org ARC-Seal: i=1; a=rsa-sha256; t=1719496778; cv=none; d=zohomail.com; s=zohoarc; b=TEgU6pOPFzJW6mPSvjQYSJPgOrwUkdShxZPNl8pMCMeF30dR/rqNBKNiqiW+2fhC1zeVHB8rgwS9jRfKwVdRGfOi0C1gHfSaDZjXkbVC+0AWJ4MOTgXkNe88q4IHPy5DKD+AurxyiEGBe553TcvQjsxfLXcrYY0+cg5l2C8VFnk= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1719496778; h=Content-Type:Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:Subject:To:To:Message-Id:Reply-To; bh=051823EgtBzstuD764vOjuzK26tAgdAGeHklAVfjV2g=; b=l/qg0kEmgkMjs+Vd/FYR1YDzYwBfJ2oaAHbUbzmF7tRCrdSxN5HANQHl0SDTSHBvvN7boQAZcOh+vYY9JIRnb0ogKansIEhhMFd6o4eQIjOSPFYS1EABcAGf4Lmp9hp23QbTjHZgM5DQx+ho+2mE5kMRybo8WFTKrqvXEv7Hi2E= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1719496778034568.4921169126723; Thu, 27 Jun 2024 06:59:38 -0700 (PDT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sMpdx-0002Ri-9u; Thu, 27 Jun 2024 09:58:33 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sMpdw-0002Qm-0J for qemu-devel@nongnu.org; Thu, 27 Jun 2024 09:58:32 -0400 Received: from mail-pl1-x62d.google.com ([2607:f8b0:4864:20::62d]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sMpdr-0007r4-1l for qemu-devel@nongnu.org; Thu, 27 Jun 2024 09:58:31 -0400 Received: by mail-pl1-x62d.google.com with SMTP id d9443c01a7336-1f9d9b57b90so53797765ad.0 for ; Thu, 27 Jun 2024 06:58:25 -0700 (PDT) Received: from localhost ([2400:4050:a840:1e00:9ac7:6d57:2b16:6932]) by smtp.gmail.com with UTF8SMTPSA id d9443c01a7336-1faac99525bsm13437755ad.192.2024.06.27.06.58.22 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 27 Jun 2024 06:58:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=daynix-com.20230601.gappssmtp.com; s=20230601; t=1719496704; x=1720101504; darn=nongnu.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=051823EgtBzstuD764vOjuzK26tAgdAGeHklAVfjV2g=; b=D//UMvRoNszHDuK0t5Dq5sUqDLsHOsBYwetXGfZm30X15ry6HFKxdCJAhfMukS1awP znSTx2wS75IbOZ6KkN4HyG4VjTMrVbB5xH2Jn83lrJ3S2BCg6wEpQtif52ivyKi6g+uV LHhdKjnXoiQj/7ZfNun2RrZ8v5eAy0zRtJGpH00Vw/nOticjphqqToPfrUKKbZ6r52Ji jqk5boTp42uDoWvhgXq8bZgFzf7y8lte8U6sAcxuRTokGlIaO0Qzpq9ju/hU8IySwYjJ Zng655rS5E8kqMmvLvNGaXcDw4X33FFVMqpDeMvdjEvujq/MIHsPgIwWDyGmSHWnFNZL guuw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1719496704; x=1720101504; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=051823EgtBzstuD764vOjuzK26tAgdAGeHklAVfjV2g=; b=hrqNeqYr2xzXX6kwEgzWPh1Q6ZU1IOGFqaAFChSymcXoigZrIg8BiUnxHJQYCatuD2 HDm6lj0QTwqZVbWrI+m35n/l7yMXV6P/AXDzNgUzTwqcXONZohNimTASJzu2KBFmmQ3Q CY5V6vIDuRjRD5rr4qS9XZdgATjcXMR6c8/dTXG9yGZxzjAMWwuFL39LgYevfd6SzqiJ 09cnmbX00Ojrg0mHabRzFUVi62pgvFn9TeDQqdVg+TPmNVHm86oY+s2YLCWTy6YDpVTq 7HB1va1LsZ+VhM1McS0A+hV+9X2n8j740wUZ+B/6LPkvpJnTq/eek/qzun4W5pCj+5sg wngA== X-Forwarded-Encrypted: i=1; AJvYcCWOOXHrdMdU5TLHMCWiLJMYOSw0wMrX5FYGNvp6/PG4UQWySeh0LVrF9e+jy0XCwECIqhOz1vbFDSnFQ6rnEQ2tDEL9vLA= X-Gm-Message-State: AOJu0YzHVgjoGrQKzSjqdCxfHWQhksF0CtILbPjJlSNA3aSBjx7oFhYG eDBbNLHllB3ywnBbhOy45Ofp9vNs2IUGdq5rg2N3RjpHKFkxDw3Ql8OyNCDF/AY= X-Google-Smtp-Source: AGHT+IGKtG2fWmDbLIN8gcv2F0slGqWgLtvmlKC3nv1h0XIdevBGkCeHMFkiB0A3o7EiLJ9nDf8XYg== X-Received: by 2002:a17:902:6847:b0:1f7:123e:2c6f with SMTP id d9443c01a7336-1fa23ee5b60mr114181745ad.37.1719496703973; Thu, 27 Jun 2024 06:58:23 -0700 (PDT) From: Akihiko Odaki Date: Thu, 27 Jun 2024 22:58:04 +0900 Subject: [PATCH v2 3/6] tests/tcg/aarch64: Explicitly specify register width MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20240627-tcg-v2-3-1690a813348e@daynix.com> References: <20240627-tcg-v2-0-1690a813348e@daynix.com> In-Reply-To: <20240627-tcg-v2-0-1690a813348e@daynix.com> To: Peter Maydell , =?utf-8?q?Alex_Benn=C3=A9e?= , =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= Cc: qemu-arm@nongnu.org, qemu-devel@nongnu.org, Akihiko Odaki X-Mailer: b4 0.14-dev-fd6e3 Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: none client-ip=2607:f8b0:4864:20::62d; envelope-from=akihiko.odaki@daynix.com; helo=mail-pl1-x62d.google.com X-Spam_score_int: -16 X-Spam_score: -1.7 X-Spam_bar: - X-Spam_report: (-1.7 / 5.0 requ) BAYES_00=-1.9, DKIM_INVALID=0.1, DKIM_SIGNED=0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_NONE=0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: qemu-devel-bounces+importer=patchew.org@nongnu.org X-ZohoMail-DKIM: pass (identity @daynix-com.20230601.gappssmtp.com) X-ZM-MESSAGEID: 1719496779257100007 clang version 18.1.6 assumes a register is 64-bit by default and complains if a 32-bit value is given. Explicitly specify register width when passing a 32-bit value. Signed-off-by: Akihiko Odaki Reviewed-by: Philippe Mathieu-Daud=C3=A9 Reviewed-by: Richard Henderson --- tests/tcg/aarch64/bti-1.c | 6 +++--- tests/tcg/aarch64/bti-3.c | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/tests/tcg/aarch64/bti-1.c b/tests/tcg/aarch64/bti-1.c index 99a879af23d4..1fada8108d22 100644 --- a/tests/tcg/aarch64/bti-1.c +++ b/tests/tcg/aarch64/bti-1.c @@ -17,15 +17,15 @@ static void skip2_sigill(int sig, siginfo_t *info, ucon= text_t *uc) #define BTI_JC "hint #38" =20 #define BTYPE_1(DEST) \ - asm("mov %0,#1; adr x16, 1f; br x16; 1: " DEST "; mov %0,#0" \ + asm("mov %w0,#1; adr x16, 1f; br x16; 1: " DEST "; mov %w0,#0" \ : "=3Dr"(skipped) : : "x16") =20 #define BTYPE_2(DEST) \ - asm("mov %0,#1; adr x16, 1f; blr x16; 1: " DEST "; mov %0,#0" \ + asm("mov %w0,#1; adr x16, 1f; blr x16; 1: " DEST "; mov %w0,#0" \ : "=3Dr"(skipped) : : "x16", "x30") =20 #define BTYPE_3(DEST) \ - asm("mov %0,#1; adr x15, 1f; br x15; 1: " DEST "; mov %0,#0" \ + asm("mov %w0,#1; adr x15, 1f; br x15; 1: " DEST "; mov %w0,#0" \ : "=3Dr"(skipped) : : "x15") =20 #define TEST(WHICH, DEST, EXPECT) \ diff --git a/tests/tcg/aarch64/bti-3.c b/tests/tcg/aarch64/bti-3.c index 8c534c09d784..6a3bd037bcd6 100644 --- a/tests/tcg/aarch64/bti-3.c +++ b/tests/tcg/aarch64/bti-3.c @@ -11,15 +11,15 @@ static void skip2_sigill(int sig, siginfo_t *info, ucon= text_t *uc) } =20 #define BTYPE_1() \ - asm("mov %0,#1; adr x16, 1f; br x16; 1: hint #25; mov %0,#0" \ + asm("mov %w0,#1; adr x16, 1f; br x16; 1: hint #25; mov %w0,#0" \ : "=3Dr"(skipped) : : "x16", "x30") =20 #define BTYPE_2() \ - asm("mov %0,#1; adr x16, 1f; blr x16; 1: hint #25; mov %0,#0" \ + asm("mov %w0,#1; adr x16, 1f; blr x16; 1: hint #25; mov %w0,#0" \ : "=3Dr"(skipped) : : "x16", "x30") =20 #define BTYPE_3() \ - asm("mov %0,#1; adr x15, 1f; br x15; 1: hint #25; mov %0,#0" \ + asm("mov %w0,#1; adr x15, 1f; br x15; 1: hint #25; mov %w0,#0" \ : "=3Dr"(skipped) : : "x15", "x30") =20 #define TEST(WHICH, EXPECT) \ --=20 2.45.2 From nobody Sun Nov 24 23:52:28 2024 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org ARC-Seal: i=1; a=rsa-sha256; t=1719496781; cv=none; d=zohomail.com; s=zohoarc; b=WC2RzNMz58GYTNyNmcOUBVsdIF71rnCf7yf2p434yIqiXt1lz8yiGkWQ6RYzh+eK0eyVs/W7CXUMBnVRJu0BGyIUOBhgKsQtZ7at0iBavuI3ZkYwRBMdZJeLrizaDHocuumnoF72qwMC0HVJzHnh05AYEreAxKo/FnqYvH9WT44= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1719496781; h=Content-Type:Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:Subject:To:To:Message-Id:Reply-To; bh=heud5oPL9PguF+0Dl89or/td6O7yLCDZcvUAaJnUzns=; b=WnZf8T9SNUAXB3yOXADWQMZ5yI6elRwx2lAWQlWfbjaWBlPb1dyExoAxrwsBWaJWIJT8lCH+1jy2K18/zNVXkpiBb7KhPrz61fUlND0pZaofEhTqrGW+eh5RYU++wKmvshVzPk/VHeBgEYk8a1xoybwlS4++jEsA2vw2TJqkQ2M= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1719496781140122.48338057139313; Thu, 27 Jun 2024 06:59:41 -0700 (PDT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sMpdy-0002T5-D4; Thu, 27 Jun 2024 09:58:34 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sMpdx-0002Rs-AS for qemu-devel@nongnu.org; Thu, 27 Jun 2024 09:58:33 -0400 Received: from mail-pl1-x62b.google.com ([2607:f8b0:4864:20::62b]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sMpds-0007sq-PW for qemu-devel@nongnu.org; Thu, 27 Jun 2024 09:58:33 -0400 Received: by mail-pl1-x62b.google.com with SMTP id d9443c01a7336-1f480624d0fso62760185ad.1 for ; Thu, 27 Jun 2024 06:58:28 -0700 (PDT) Received: from localhost ([2400:4050:a840:1e00:9ac7:6d57:2b16:6932]) by smtp.gmail.com with UTF8SMTPSA id d9443c01a7336-1faac8f25a1sm13532155ad.73.2024.06.27.06.58.25 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 27 Jun 2024 06:58:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=daynix-com.20230601.gappssmtp.com; s=20230601; t=1719496707; x=1720101507; darn=nongnu.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=heud5oPL9PguF+0Dl89or/td6O7yLCDZcvUAaJnUzns=; b=I1WQV2Z7/+iHdYpOmWF4r/sowSnXcCTZakDB7UKyj36IIPDZJ7zLPZS0aYZS8pV5y/ sNQW1QuyLT3ENNuRme/oE1EvzdDOWr8o75Du0ZEcK/dx+SJYb6+NY4WmH0Zc6oTvQnw0 7duVc7p+UDn3v9YHCNsiM/BRxfsQOQvRjZu2T4OeApODY5j5oGVbNOIqVV60QtW98vEF o1sW+mHgTXk28qjvuy02oJ5QSrpjQXkB0bcivEt3er/LYjFyOQDCI71nqgv9+2QhnGC+ A6Il6Bop288gW44fS/qZu4JQiNGFhvgGj2JcLt285D6QnFBX7w0TZnpUJWglkUrVLTsQ 6jlw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1719496707; x=1720101507; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=heud5oPL9PguF+0Dl89or/td6O7yLCDZcvUAaJnUzns=; b=F9IbtfgtnKOwafFKwpt8F9erFpHXXV8ha6e6LgMNTeCmdFsCWODRRmzl+Gm3noFRBL k9cw4m2gEFUK+6GtBXb/eeV72MQV3AT8La8KGgehQSHucr2UZ/iKS6/eq2d/EvEIkW0T pQ8gMrDT+yhBScfnk9nuMc9nqqze0hzxP55ujgsIKz74p/lhWlG9BcioauuSXvhTQIpF OZUu5KBgFrDiKmqe0/O3R3fEqk7UOUheucMqb8AfPbThwpI3Ux+ttTas80+Fnr5eH0dn la4rgEHeU9RjYLdMK1EDFScPYTS/k8FAg5LFRy0LcC7EeVfua3f/ukW367BpUqySTLL3 +AIA== X-Forwarded-Encrypted: i=1; AJvYcCU8BkvsAFmc8sok+zIliEP4bQVPfQYaKybeka7mPaYMpa2aaBAeSxbbj2KxwQHnxRj15wYONJWsaBppTwmaxwHPkMMZiVk= X-Gm-Message-State: AOJu0YxphL4MaTcu0ZVloigwMpFq7dvQ4SfGxWHN55Aep22oE1/rnYeF 1YYJwCBZVcXg4Fzktu5VMVoutzbyD8IYq7B++93mOpyOoYo3fU2Van/P+hPr49c= X-Google-Smtp-Source: AGHT+IGon+Kh3oEuD1ex29QX/ojEPrLpLRJrh9wy0wfsAUnKEz9YFU2FzV3on1LO4wXqU1vRQAiMJQ== X-Received: by 2002:a17:902:d505:b0:1fa:ac73:ca2d with SMTP id d9443c01a7336-1faac73cb78mr15108605ad.11.1719496707334; Thu, 27 Jun 2024 06:58:27 -0700 (PDT) From: Akihiko Odaki Date: Thu, 27 Jun 2024 22:58:05 +0900 Subject: [PATCH v2 4/6] tests/tcg/aarch64: Fix irg operand type MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20240627-tcg-v2-4-1690a813348e@daynix.com> References: <20240627-tcg-v2-0-1690a813348e@daynix.com> In-Reply-To: <20240627-tcg-v2-0-1690a813348e@daynix.com> To: Peter Maydell , =?utf-8?q?Alex_Benn=C3=A9e?= , =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= Cc: qemu-arm@nongnu.org, qemu-devel@nongnu.org, Akihiko Odaki X-Mailer: b4 0.14-dev-fd6e3 Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: none client-ip=2607:f8b0:4864:20::62b; envelope-from=akihiko.odaki@daynix.com; helo=mail-pl1-x62b.google.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_NONE=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: qemu-devel-bounces+importer=patchew.org@nongnu.org X-ZohoMail-DKIM: pass (identity @daynix-com.20230601.gappssmtp.com) X-ZM-MESSAGEID: 1719496783004100003 irg expects 64-bit integers. Passing a 32-bit integer results in compilation failure with clang version 18.1.6. Signed-off-by: Akihiko Odaki Reviewed-by: Richard Henderson --- tests/tcg/aarch64/mte-1.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/tcg/aarch64/mte-1.c b/tests/tcg/aarch64/mte-1.c index 88dcd617addc..146cad4a0499 100644 --- a/tests/tcg/aarch64/mte-1.c +++ b/tests/tcg/aarch64/mte-1.c @@ -15,7 +15,7 @@ int main(int ac, char **av) enable_mte(PR_MTE_TCF_NONE); p0 =3D alloc_mte_mem(sizeof(*p0)); =20 - asm("irg %0,%1,%2" : "=3Dr"(p1) : "r"(p0), "r"(1)); + asm("irg %0,%1,%2" : "=3Dr"(p1) : "r"(p0), "r"(1l)); assert(p1 !=3D p0); asm("subp %0,%1,%2" : "=3Dr"(c) : "r"(p0), "r"(p1)); assert(c =3D=3D 0); --=20 2.45.2 From nobody Sun Nov 24 23:52:28 2024 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org ARC-Seal: i=1; a=rsa-sha256; t=1719496776; cv=none; d=zohomail.com; s=zohoarc; b=hu8FRKz20S9CpOxeV1XvD4Kmf0kk6ENB8v4OZ3yxyqaVAaggEPsgQlpyvxNk7hcEMUDOOvCFF97AApRX36L66c0qnfU+1YVtib6GMqQZuvMgAB6E4L6EDwxBzDr1MfZgL9e6XpAQJGfHZrcofjU3cZJyVqV2whDEdZQKXMxztZ4= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1719496776; h=Content-Type:Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:Subject:To:To:Message-Id:Reply-To; bh=xfjEm1QZECbrFVCphMYb79ZHnIFQxwHobg0g4KA/LWs=; b=D4NEkoryib5RCi8YhaBzAGMbt5DXOVJKOqn/B3IBp2j9a2pEIhubTmNc191EEqc8qye6UFs6wKkra94bQUIKBVeRbSF0B1syTWbYUFIEFZOr6M1zY1k8+3q+bxryCUTZe7y85bNguWTTJ33FGJ2SfAuY2XcfdAhV4OQttLiPidc= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1719496776824626.300795598089; Thu, 27 Jun 2024 06:59:36 -0700 (PDT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sMpe0-0002Vg-G2; Thu, 27 Jun 2024 09:58:36 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sMpdx-0002SE-I4 for qemu-devel@nongnu.org; Thu, 27 Jun 2024 09:58:33 -0400 Received: from mail-pl1-x629.google.com ([2607:f8b0:4864:20::629]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sMpdv-0007t3-Jc for qemu-devel@nongnu.org; Thu, 27 Jun 2024 09:58:33 -0400 Received: by mail-pl1-x629.google.com with SMTP id d9443c01a7336-1f6fabe9da3so64200245ad.0 for ; Thu, 27 Jun 2024 06:58:31 -0700 (PDT) Received: from localhost ([2400:4050:a840:1e00:9ac7:6d57:2b16:6932]) by smtp.gmail.com with UTF8SMTPSA id d9443c01a7336-1faac8f5a71sm13506705ad.109.2024.06.27.06.58.28 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 27 Jun 2024 06:58:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=daynix-com.20230601.gappssmtp.com; s=20230601; t=1719496710; x=1720101510; darn=nongnu.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=xfjEm1QZECbrFVCphMYb79ZHnIFQxwHobg0g4KA/LWs=; b=u0MbdRyUb004QphMSZ0rwKlWYM6ScPEa7JodAGpxqEEVIsjrDWvLR1mmxDS0YaJXAB oP4GMgld6mRq8JnteO6z/u06ZZ81GwFcvAoGSjIf664NjQWOaO4ia93zYJrex2Owv+4A vAx72GFbgufIAn3OwxRtNmAa0Yhlq6lTXgaNjxZg9b4VZgORNiNfwq+u6d6QB3OayOCd eqbkJiI/IoRuDMPai+7SQAPJCd5PKLoWYAwfk3RDeY6fFjkGhrW1GJmmN+mG3V46IsR2 eB9zcZmhmDhPksu0us3NjAZuOq7h+s8F85XBTIT7pziHxuFDkLReZPFNxIQTwswUWQbv 5UgQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1719496710; x=1720101510; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=xfjEm1QZECbrFVCphMYb79ZHnIFQxwHobg0g4KA/LWs=; b=JkvIY6XSP6rBCFjKk3zDKI9zs2M81X/AvQfOQGeV9SpTWaEicdsZbI7Hf9145eXGDO 30MHawF9RjvHfsJhSiqhyJAmeP5Ms6zLGniHseNET+BOHhuhGtVZ4rvzON0vRyeqFV+v 26r2mqXSmQfMCNeCzxbah46QU7LOiKxbvl6OWQhimeK2Vso4LtsV4y4RJmFrsGNVVOpJ /X07r0kA+MEYsUxABUph9Ac8LE58ZzWEC73WseDcxrNTR9LalLa//LtekmNsqF7jligt mnXHvn4YVH8HClV/QYBM6dxn3FVHD1IqQyWUxfwmaWlV1mM8cKa+9ae9oIBYH31coInj 8lWA== X-Forwarded-Encrypted: i=1; AJvYcCWaMjAFbO9Hh3524I2Wy8DgZNx1v6F1RBqbEcXKuDCaWgyxnU5MivqjaFTNskQI8r+fP2FbGh5uf4qakUYioFAQjg9mHC8= X-Gm-Message-State: AOJu0YzuJ2zV8HyKZWXL/7hwQx2ALvUia7je5I7q4PKAAOfqgoFfex18 KOg4pgCaduiH1+nC01HSeZOniR5yYrFIS+zWp/OMGxraGX1jwDrFnXAU+fQCS7Q= X-Google-Smtp-Source: AGHT+IFqsrJNhhU+ItZ1RtuSfKHh3Oqhi7BuzNUGYuUMcdRiFhYGaJCECMYQ9rOAyZURrOQKDlKCiw== X-Received: by 2002:a17:903:2342:b0:1fa:7e0:d69a with SMTP id d9443c01a7336-1fa23f15bf5mr149519925ad.46.1719496710476; Thu, 27 Jun 2024 06:58:30 -0700 (PDT) From: Akihiko Odaki Date: Thu, 27 Jun 2024 22:58:06 +0900 Subject: [PATCH v2 5/6] tests/tcg/aarch64: Do not use x constraint MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20240627-tcg-v2-5-1690a813348e@daynix.com> References: <20240627-tcg-v2-0-1690a813348e@daynix.com> In-Reply-To: <20240627-tcg-v2-0-1690a813348e@daynix.com> To: Peter Maydell , =?utf-8?q?Alex_Benn=C3=A9e?= , =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= Cc: qemu-arm@nongnu.org, qemu-devel@nongnu.org, Akihiko Odaki X-Mailer: b4 0.14-dev-fd6e3 Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: none client-ip=2607:f8b0:4864:20::629; envelope-from=akihiko.odaki@daynix.com; helo=mail-pl1-x629.google.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_NONE=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: qemu-devel-bounces+importer=patchew.org@nongnu.org X-ZohoMail-DKIM: pass (identity @daynix-com.20230601.gappssmtp.com) X-ZM-MESSAGEID: 1719496777030100001 clang version 18.1.6 does not support x constraint for AArch64. Use w instead. Signed-off-by: Akihiko Odaki Reviewed-by: Richard Henderson --- tests/tcg/arm/fcvt.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/tests/tcg/arm/fcvt.c b/tests/tcg/arm/fcvt.c index 05a27b2d0710..157790e67961 100644 --- a/tests/tcg/arm/fcvt.c +++ b/tests/tcg/arm/fcvt.c @@ -126,7 +126,7 @@ static void convert_single_to_half(void) asm("vcvtb.f16.f32 %0, %1" : "=3Dt" (output) : "x" (input)); #else uint16_t output; - asm("fcvt %h0, %s1" : "=3Dw" (output) : "x" (input)); + asm("fcvt %h0, %s1" : "=3Dw" (output) : "w" (input)); #endif print_half_number(i, output); } @@ -149,7 +149,7 @@ static void convert_single_to_double(void) #if defined(__arm__) asm("vcvt.f64.f32 %P0, %1" : "=3Dw" (output) : "t" (input)); #else - asm("fcvt %d0, %s1" : "=3Dw" (output) : "x" (input)); + asm("fcvt %d0, %s1" : "=3Dw" (output) : "w" (input)); #endif print_double_number(i, output); } @@ -244,7 +244,7 @@ static void convert_double_to_half(void) /* asm("vcvtb.f16.f64 %0, %P1" : "=3Dt" (output) : "x" (input)); */ output =3D input; #else - asm("fcvt %h0, %d1" : "=3Dw" (output) : "x" (input)); + asm("fcvt %h0, %d1" : "=3Dw" (output) : "w" (input)); #endif print_half_number(i, output); } @@ -267,7 +267,7 @@ static void convert_double_to_single(void) #if defined(__arm__) asm("vcvt.f32.f64 %0, %P1" : "=3Dw" (output) : "x" (input)); #else - asm("fcvt %s0, %d1" : "=3Dw" (output) : "x" (input)); + asm("fcvt %s0, %d1" : "=3Dw" (output) : "w" (input)); #endif =20 print_single_number(i, output); @@ -335,7 +335,7 @@ static void convert_half_to_double(void) /* asm("vcvtb.f64.f16 %P0, %1" : "=3Dw" (output) : "t" (input)); */ output =3D input; #else - asm("fcvt %d0, %h1" : "=3Dw" (output) : "x" (input)); + asm("fcvt %d0, %h1" : "=3Dw" (output) : "w" (input)); #endif print_double_number(i, output); } @@ -357,7 +357,7 @@ static void convert_half_to_single(void) #if defined(__arm__) asm("vcvtb.f32.f16 %0, %1" : "=3Dw" (output) : "x" ((uint32_t)inpu= t)); #else - asm("fcvt %s0, %h1" : "=3Dw" (output) : "x" (input)); + asm("fcvt %s0, %h1" : "=3Dw" (output) : "w" (input)); #endif print_single_number(i, output); } @@ -380,7 +380,7 @@ static void convert_half_to_integer(void) /* asm("vcvt.s32.f16 %0, %1" : "=3Dt" (output) : "t" (input)); v8.= 2*/ output =3D input; #else - asm("fcvt %s0, %h1" : "=3Dw" (output) : "x" (input)); + asm("fcvt %s0, %h1" : "=3Dw" (output) : "w" (input)); #endif print_int64(i, output); } --=20 2.45.2 From nobody Sun Nov 24 23:52:28 2024 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org ARC-Seal: i=1; a=rsa-sha256; t=1719496753; cv=none; d=zohomail.com; s=zohoarc; b=hhiYvXXKYADzP1wEkP4URO2IRjMlmA1jWFysny+IigrPCPdMMq8GTKOoVbkV581btmeGXRsHIITlLMcBW0bduyiM1Rg3InEd8wLIy/akqFdKIM9J6LHAuSLjAuO5J/4sE8NgFR1wIHzO1k3O6+KyZyVDKth++A46nzieDmxZ+NI= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1719496753; h=Content-Type:Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:Subject:To:To:Message-Id:Reply-To; bh=BSj5UfHR8CwIYmczT5ogPQso3k+OuOQGUbx+sqgpj6I=; b=FJ93h6B1TQiXfrBSx+xDCYId6ac0ytA275jaj+gRGKC8SJRcBsonYJOQAdGSiPCOmgRe6JTXK3G2xR6jJeTTyHHIpCpdrR4vGyPvZiTKe/kom3TqhkFY1pEnfih/azt/uIJWVYxJqHXwabqBO8SuTFCQzbNcMTlK2CbGpW8gtm4= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1719496753519435.9704171133553; Thu, 27 Jun 2024 06:59:13 -0700 (PDT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sMpe2-0002Z9-Cu; Thu, 27 Jun 2024 09:58:38 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sMpe0-0002Vv-Oo for qemu-devel@nongnu.org; Thu, 27 Jun 2024 09:58:36 -0400 Received: from mail-pj1-x1030.google.com ([2607:f8b0:4864:20::1030]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sMpdz-0007tw-3G for qemu-devel@nongnu.org; Thu, 27 Jun 2024 09:58:36 -0400 Received: by mail-pj1-x1030.google.com with SMTP id 98e67ed59e1d1-2c7b3c513f9so6037203a91.3 for ; Thu, 27 Jun 2024 06:58:34 -0700 (PDT) Received: from localhost ([2400:4050:a840:1e00:9ac7:6d57:2b16:6932]) by smtp.gmail.com with UTF8SMTPSA id 98e67ed59e1d1-2c8d81d29desm3636081a91.53.2024.06.27.06.58.32 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 27 Jun 2024 06:58:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=daynix-com.20230601.gappssmtp.com; s=20230601; t=1719496713; x=1720101513; darn=nongnu.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=BSj5UfHR8CwIYmczT5ogPQso3k+OuOQGUbx+sqgpj6I=; b=SLNyWkL6OlQRyWGY+ng8glzyFIEzQ6pIxmWo7p7mJqs1TGdfVxDeq5NpTaT4tVVtE6 cM6N6Kdwkr72esBiUh7c/4iFodHKl4htybP61V9Sjm2cVVYqjGpjVEyJOSX0PDOXjJYy eFM7nwAkjnwT4VR0TFhK/y/N6V9/YQoDgQ6PDZfr3zEl86NNtIxUEFNlWXZYyceCuZOF j0f8Hb64aO/WCupW4/hoMEinb/F0TMELG1iZLIMnLGZrlSacanqCetWzne72HSfFxvy6 iICSPOZvIfbdQaJseefICarA0+SRrxJr+clsYC50783Gxyw+R7+V+vaeFvQXJVLvO+vl N1HQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1719496713; x=1720101513; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=BSj5UfHR8CwIYmczT5ogPQso3k+OuOQGUbx+sqgpj6I=; b=BwZ+cJSyLD9eiG0Prw7IefMi+f5OXTMpfGL2MIcZURDf5ER6wu1W6sDiODy4Ead5iE ruUpqb1x+ZivEQB6dq1XjN0FCexEGPECSKjwoxpZ7ownAomQdmoKIFGFszJGL6XwTJsL TNUzPjE6GrzbNlypaFlLcfCUBbot8ZRSLfO5Fb2Uste8RaRRz8A+aYVx/YDWDtSoXeSi juE3Z1aCkxq34rEQIjDtDvhedQQIu5LrsFqIJsbp6qqZjkZ3d8KsRTFkfTUfWRUKkTdr MEPRiHp6LP6QvsHAcJAdKYLvX6Qo+FEN/xl7a1C/iMCERIL/84/oKxLZ6CXCfKsL3UeN ifZw== X-Forwarded-Encrypted: i=1; AJvYcCXroZTUGEf0oyyFTw4oAW171q0eyx4Hzd2Q3LJLoNS+HcayPQYCYmPZZJ+WsCCnVDecB9HM7qQrcmoSw/8M0/OEtM4PMLg= X-Gm-Message-State: AOJu0YzXXSkcObQSGTxqgk3kUMU8eFihEz7zw3kN8Rp/lc7YYzmeK4jW Vhr2sbBB/acd5e6MdcE0+nYDy2swqmdpyJsgccpImQsLiQ6rJry0ipOeT02zTek= X-Google-Smtp-Source: AGHT+IEf4dsZHvExAcW6pneOlMn11MrDMqgHOtHTcuA5J99ZmovY/grAUEHy5xK7aX7my2rfIvTWpg== X-Received: by 2002:a17:90a:ba83:b0:2c7:c6a1:42d9 with SMTP id 98e67ed59e1d1-2c85067fd85mr10909047a91.49.1719496713609; Thu, 27 Jun 2024 06:58:33 -0700 (PDT) From: Akihiko Odaki Date: Thu, 27 Jun 2024 22:58:07 +0900 Subject: [PATCH v2 6/6] tests/tcg/arm: Manually bit-cast half-precision numbers MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20240627-tcg-v2-6-1690a813348e@daynix.com> References: <20240627-tcg-v2-0-1690a813348e@daynix.com> In-Reply-To: <20240627-tcg-v2-0-1690a813348e@daynix.com> To: Peter Maydell , =?utf-8?q?Alex_Benn=C3=A9e?= , =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= Cc: qemu-arm@nongnu.org, qemu-devel@nongnu.org, Akihiko Odaki X-Mailer: b4 0.14-dev-fd6e3 Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: none client-ip=2607:f8b0:4864:20::1030; envelope-from=akihiko.odaki@daynix.com; helo=mail-pj1-x1030.google.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_NONE=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: qemu-devel-bounces+importer=patchew.org@nongnu.org X-ZohoMail-DKIM: pass (identity @daynix-com.20230601.gappssmtp.com) X-ZM-MESSAGEID: 1719496755165100003 clang version 18.1.6 does not allow specifying an integer as the value of a single-precision register. Manually bit-cast into float with vmov first. Signed-off-by: Akihiko Odaki --- tests/tcg/arm/fcvt.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tests/tcg/arm/fcvt.c b/tests/tcg/arm/fcvt.c index 157790e67961..14c9bb669c91 100644 --- a/tests/tcg/arm/fcvt.c +++ b/tests/tcg/arm/fcvt.c @@ -355,7 +355,9 @@ static void convert_half_to_single(void) =20 print_half_number(i, input); #if defined(__arm__) - asm("vcvtb.f32.f16 %0, %1" : "=3Dw" (output) : "x" ((uint32_t)inpu= t)); + float tmp; + asm("vmov %0, %1" : "=3Dw" (tmp) : "r" (input)); + asm("vcvtb.f32.f16 %0, %1" : "=3Dw" (output) : "x" (tmp)); #else asm("fcvt %s0, %h1" : "=3Dw" (output) : "w" (input)); #endif --=20 2.45.2