From patchwork Tue May 25 15:07:05 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Richard Henderson X-Patchwork-Id: 447307 Delivered-To: patch@linaro.org Received: by 2002:a02:7a1b:0:0:0:0:0 with SMTP id a27csp4424200jac; Tue, 25 May 2021 09:23:43 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxblEhApzCktKzyNSvbgkd5sk07EDv2F21A3HKBiQm28nQ42UzNxOh+/XzoeAgxGfwExlOj X-Received: by 2002:a17:906:1444:: with SMTP id q4mr29799629ejc.459.1621959823321; Tue, 25 May 2021 09:23:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1621959823; cv=none; d=google.com; s=arc-20160816; b=U4siqUtSNzui5K4ZCL70CirMLZkK1oUC6Vk/Q1q+dXfRruGJqPrtyBgD1GIOzzAk0o 4wUkLm56YObJN1cBTEIYW/7em2wkHsaNloCpBz9it0ahpoCQoM+3V1SSYvU400M+i0Hw qzEMXFj/TP7x2osaFq24ufU+DRUq47DBk0qoLFX27r9B0QMM6dvTP4mX4Z6vDvu3OlIc D1ccGMdvJZlEln3Fkf4GC4/6xzta0Fju+nGeV2pD3BPV1ALNrzUH6ABSs2cvNo/cjxs/ FhB4gPs8Bp6Hyav1rP4kgfwAJB5ZVdjD5h5QqRSnEN96W8KVdNlPzgmMtbQgqkUZp4XE P1/g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:cc:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:to:from :dkim-signature; bh=0sbWGfdi+vZU0+T2mHM/iN4YQ8XRnXrlumJZuqrhiwA=; b=NgbPyjOH6VaewfzzGoqyPl9EUTeoa2IvuTIuzwf0t4uxPrlLrdNkwOlFMiM7C5jR5B 4sLB/ufLw8hI9j9JWAxTCvILXDgF/X5TjKALEcHghrJh3ys5/6NATFB8H7CcBaQWfMww UhYa6D5unKScx3K/MYxlbGAaA1kgwzWL0dLc2AsTowJeYI6v1irLccTLS7ktytlSBCsH RXJdU/b76GlaizVhgm+9hpGoeVON/BATSz9T02TPpJcMeG1A6sZZ8hIZ2OZvdsMup5lW vzpj2r0j5RGpalyUBSaP5b+fW58QsCB8Jr8rK/32o97yAWbZuejqioOZLcgzrLrRyxJH WaFQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=U8vlAa+C; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id h35si16747821edd.312.2021.05.25.09.23.42 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Tue, 25 May 2021 09:23:43 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=U8vlAa+C; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1]:47634 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1llZqI-0006sG-3B for patch@linaro.org; Tue, 25 May 2021 12:23:42 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:60650) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1llYeo-0002Lk-TK for qemu-devel@nongnu.org; Tue, 25 May 2021 11:07:46 -0400 Received: from mail-pf1-x435.google.com ([2607:f8b0:4864:20::435]:36707) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1llYeU-0006nD-Nf for qemu-devel@nongnu.org; Tue, 25 May 2021 11:07:46 -0400 Received: by mail-pf1-x435.google.com with SMTP id c12so12247783pfl.3 for ; Tue, 25 May 2021 08:07:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=0sbWGfdi+vZU0+T2mHM/iN4YQ8XRnXrlumJZuqrhiwA=; b=U8vlAa+CqUqKsS5kvTd4vH9kS4wTp9q+Jxb6pGIzpbSgvDSw6fd/MMWunDL+NLsG26 TtVMeR7PxC9+iE0/15EdBl5MnU1lTNQ/MoTkrnL385fNBfNYWFCU1X+LwZxSueT28lAF zpXu18aZTFFuKLjlyUtcuMvLquygWFcP+dnIoOgnGwecLv3CQLDkxvZL6Qw+rj9Z8zS5 JV3PNkLHD/vyz8RtmKCJLquLW4oCbIHJD0mwgmGjAu4ltG22W3tfQSpV8H5rJ/rDxvrE iwFudyL6pLWLbgIQ6NV83E5IeqObcWCJVSkWpWT4Ocm1jnH/ZBVLth0575woq9XTS15i Mdsg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=0sbWGfdi+vZU0+T2mHM/iN4YQ8XRnXrlumJZuqrhiwA=; b=tNl04iwYZXE8qSL7AmA4WW0pLrTjuejhQCMt7GxIrJEkY1G9zcUL+4EvlqgpuZgoXu 08f4VXe6+RPXqxLdLTQ/9+v6qrZ2QT2FpVtOGazmTKXymz1EbVlZLA91y2k1ED4G8Mzs l6o/b7lPqwg1lF9D6x8oRMlr26kaIXnaYfokiBklSnzCDh1GHzJwOkxi58g2wUVP7ICY auwPG7XKzBJcv769PQD4QNzdV3PrcYbmxd9vu6wPwOMIREu7Jj5Q9qWSRrc8WZRb0E8P 0PnquSvS6IlbulCQfcrhM1Q89Wbml+a4CdJPes/7IVIHDjBIuw2FWcRivQllBsfpk3Lg voVA== X-Gm-Message-State: AOAM5317XtAn6k39Zvf2FeRcN8sFeILmQ5xkXD9JM+vdx87vY97ZTgQD e6jOrxzM3kFlaB4N8m0v4Q1L0FZXqPkJrw== X-Received: by 2002:aa7:982e:0:b029:2e4:eef5:e0c9 with SMTP id q14-20020aa7982e0000b02902e4eef5e0c9mr22082764pfl.3.1621955245403; Tue, 25 May 2021 08:07:25 -0700 (PDT) Received: from localhost.localdomain (174-21-70-228.tukw.qwest.net. [174.21.70.228]) by smtp.gmail.com with ESMTPSA id z19sm2231943pjq.11.2021.05.25.08.07.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 25 May 2021 08:07:25 -0700 (PDT) From: Richard Henderson To: qemu-devel@nongnu.org Subject: [PATCH v2 27/28] tests/fp: Enable more tests Date: Tue, 25 May 2021 08:07:05 -0700 Message-Id: <20210525150706.294968-28-richard.henderson@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210525150706.294968-1-richard.henderson@linaro.org> References: <20210525150706.294968-1-richard.henderson@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2607:f8b0:4864:20::435; envelope-from=richard.henderson@linaro.org; helo=mail-pf1-x435.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: alex.bennee@linaro.org, david@redhat.com Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" From: Alex Bennée Fix the trivial typo in extF80_lt_quiet, and re-enable all of the floatx80 tests that are now fixed. Signed-off-by: Alex Bennée Message-ID: <87bl9iyahr.fsf@linaro.org> [rth: Squash the fix for lt_quiet, and enable that too.] Signed-off-by: Richard Henderson --- tests/fp/wrap.c.inc | 2 +- tests/fp/meson.build | 16 +++++++--------- 2 files changed, 8 insertions(+), 10 deletions(-) -- 2.25.1 diff --git a/tests/fp/wrap.c.inc b/tests/fp/wrap.c.inc index cb1bb77e4c..9ff884c140 100644 --- a/tests/fp/wrap.c.inc +++ b/tests/fp/wrap.c.inc @@ -643,7 +643,7 @@ WRAP_CMP80(qemu_extF80M_eq, floatx80_eq_quiet) WRAP_CMP80(qemu_extF80M_le, floatx80_le) WRAP_CMP80(qemu_extF80M_lt, floatx80_lt) WRAP_CMP80(qemu_extF80M_le_quiet, floatx80_le_quiet) -WRAP_CMP80(qemu_extF80M_lt_quiet, floatx80_le_quiet) +WRAP_CMP80(qemu_extF80M_lt_quiet, floatx80_lt_quiet) #undef WRAP_CMP80 #define WRAP_CMP128(name, func) \ diff --git a/tests/fp/meson.build b/tests/fp/meson.build index 9218bfd3b0..07e2cdc8d2 100644 --- a/tests/fp/meson.build +++ b/tests/fp/meson.build @@ -556,7 +556,9 @@ softfloat_conv_tests = { 'extF80_to_f64 extF80_to_f128 ' + 'f128_to_f16', 'int-to-float': 'i32_to_f16 i64_to_f16 i32_to_f32 i64_to_f32 ' + - 'i32_to_f64 i64_to_f64 i32_to_f128 i64_to_f128', + 'i32_to_f64 i64_to_f64 ' + + 'i32_to_extF80 i64_to_extF80 ' + + 'i32_to_f128 i64_to_f128', 'uint-to-float': 'ui32_to_f16 ui64_to_f16 ui32_to_f32 ui64_to_f32 ' + 'ui32_to_f64 ui64_to_f64 ui64_to_f128 ' + 'ui32_to_extF80 ui64_to_extF80', @@ -581,7 +583,7 @@ softfloat_conv_tests = { 'extF80_to_ui64 extF80_to_ui64_r_minMag ' + 'f128_to_ui64 f128_to_ui64_r_minMag', 'round-to-integer': 'f16_roundToInt f32_roundToInt ' + - 'f64_roundToInt f128_roundToInt' + 'f64_roundToInt extF80_roundToInt f128_roundToInt' } softfloat_tests = { 'eq_signaling' : 'compare', @@ -602,24 +604,20 @@ fptest_args = ['-s', '-l', '1'] fptest_rounding_args = ['-r', 'all'] # Conversion Routines: -# FIXME: i32_to_extF80 (broken), i64_to_extF80 (broken) -# extF80_roundToInt (broken) foreach k, v : softfloat_conv_tests test('fp-test-' + k, fptest, args: fptest_args + fptest_rounding_args + v.split(), suite: ['softfloat', 'softfloat-conv']) endforeach -# FIXME: extF80_{lt_quiet, rem} (broken), -# extF80_{mulAdd} (missing) foreach k, v : softfloat_tests - extF80_broken = ['lt_quiet', 'rem'].contains(k) test('fp-test-' + k, fptest, args: fptest_args + fptest_rounding_args + - ['f16_' + k, 'f32_' + k, 'f64_' + k, 'f128_' + k] + - (extF80_broken ? [] : ['extF80_' + k]), + ['f16_' + k, 'f32_' + k, 'f64_' + k, 'f128_' + k, 'extF80_' + k], suite: ['softfloat', 'softfloat-' + v]) endforeach + +# FIXME: extF80_{mulAdd} (missing) test('fp-test-mulAdd', fptest, # no fptest_rounding_args args: fptest_args +