From patchwork Mon Sep 4 11:24:26 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Sandiford X-Patchwork-Id: 111540 Delivered-To: patch@linaro.org Received: by 10.37.128.210 with SMTP id c18csp4102816ybm; Mon, 4 Sep 2017 04:24:49 -0700 (PDT) X-Received: by 10.99.112.79 with SMTP id a15mr151967pgn.154.1504524289134; Mon, 04 Sep 2017 04:24:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1504524289; cv=none; d=google.com; s=arc-20160816; b=nVPAHsoV93KR1K+BvBViER6qBIUpdca4nJ5I1BjV5ZjT6BtEOh8gelBlTabAxS2kpo 0QvOhK2CQxfdBDz81MLlCzbFw5xI7EPKkT1SmtHQOwLuzE8P/cINOLXRZTFR3Tz67KFE XoSk6Sa7fR2VDGMu8MXq+1N4Dbi8OJnc7D6ZR4BGiGeqI2HFGBviLjUChqA5wejGST/R 1qA7VF3wOsgWTm1cf5D+R7vxEsr8AcRehzyEnylQAko1iFT3lvdAo3FdX9XfZMH7HJYQ Usp4NoL6jhInRixhA2Ra6c4yJAASSmzfqdHY7F5XEBiECKivDDInmnVVVqOWeYDXlnbh LMIw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:user-agent:message-id:date:subject:mail-followup-to:to :from:delivered-to:sender:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:mailing-list:dkim-signature :domainkey-signature:arc-authentication-results; bh=E7z2bbVQHNgRaKMlmiSelAR6LfCWlVvPBgH+zs6ytqI=; b=Es3TpnMME4534rPSknLwqXKF65J91eq8wmtxEB9PfYtkzp+qSHECzFqoy58odg2DRg xxDesX39rTg0TKpS25kbnPUMx1SfoZCwGdc11ubn/JtsQBMXONY47JtGOfbFXQmHwwHB y4GcFuVnen6jMMTSlPatbTrygKRxet5og7r5T8jDyFXjSmvekLtO1E08WvJUvEQwnHcS K+2UcCfg+2L+OaXctYtRsNPQ4Mh7psEUZoKdEvyzmyotJvNMDyplGK9l7qGeUxlkEJ+/ E7ZcAm7qAXKsea6CQzDdLU4jIUT1JfwSRAFtgkQqI3OpaI6smMfZO5zuqPVSn+NOx5Wa khew== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gcc.gnu.org header.s=default header.b=cz11Z4j1; spf=pass (google.com: domain of gcc-patches-return-461402-patch=linaro.org@gcc.gnu.org designates 209.132.180.131 as permitted sender) smtp.mailfrom=gcc-patches-return-461402-patch=linaro.org@gcc.gnu.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from sourceware.org (server1.sourceware.org. [209.132.180.131]) by mx.google.com with ESMTPS id l8si5250607pln.561.2017.09.04.04.24.48 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 04 Sep 2017 04:24:49 -0700 (PDT) Received-SPF: pass (google.com: domain of gcc-patches-return-461402-patch=linaro.org@gcc.gnu.org designates 209.132.180.131 as permitted sender) client-ip=209.132.180.131; Authentication-Results: mx.google.com; dkim=pass header.i=@gcc.gnu.org header.s=default header.b=cz11Z4j1; spf=pass (google.com: domain of gcc-patches-return-461402-patch=linaro.org@gcc.gnu.org designates 209.132.180.131 as permitted sender) smtp.mailfrom=gcc-patches-return-461402-patch=linaro.org@gcc.gnu.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org DomainKey-Signature: a=rsa-sha1; c=nofws; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender:from :to:subject:date:message-id:mime-version:content-type; q=dns; s= default; b=K3OBstqiMYxkt4wnAj9vSXKApdS/3RTbE90I/hCqIU5QdW/hhVMcu g1VC3oeDqi7pxqEpxNuyi2dnvPlwMPH4DFj7B6dXjYTl9NUTt9fSFfWkder1fktu RL+uf6YVNBSvs4q/Sz1GZO9sTUUWPAWxJJ7aDE9XymnBssbTBnq5Qw= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender:from :to:subject:date:message-id:mime-version:content-type; s= default; bh=WRFxjBuUl0kdboKWwkLrz6S+baM=; b=cz11Z4j1vcWe6VcOB8Vo p9XMknTVUZ/OOgmVhanP7Hq1FGvRUFSFsTYprD2BXWpKj5aMZTy0rpMLNNuFE2Xx AXj4Eq5BOTbi/i22jsH9GJdlpGjHWy6EQ/HDs7DiUchQ+US8sA/qqhAzJEYaObtQ kWY+6xdRT1cXrvGoDUKa+Rs= Received: (qmail 23802 invoked by alias); 4 Sep 2017 11:24:38 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Delivered-To: mailing list gcc-patches@gcc.gnu.org Received: (qmail 23791 invoked by uid 89); 4 Sep 2017 11:24:37 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.8 required=5.0 tests=AWL, BAYES_00, RCVD_IN_DNSWL_NONE, SPF_PASS autolearn=ham version=3.3.2 spammy=HX-Received:10.28.30.73 X-HELO: mail-wm0-f44.google.com Received: from mail-wm0-f44.google.com (HELO mail-wm0-f44.google.com) (74.125.82.44) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Mon, 04 Sep 2017 11:24:32 +0000 Received: by mail-wm0-f44.google.com with SMTP id 187so1514158wmn.1 for ; Mon, 04 Sep 2017 04:24:31 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:mail-followup-to:subject:date:message-id :user-agent:mime-version; bh=E7z2bbVQHNgRaKMlmiSelAR6LfCWlVvPBgH+zs6ytqI=; b=T+pbxhG+VnqQWJI6UjgY5WSLh2Cs88315gOKhH/Imx44t9HLqGc4OnjLKUsO8+HixG uRdl4/VAKmIfcsELNZNlYnkno8OVno514QwJLbdd0GbK+IqS8IHZDkDDNciIT6xYEr8S oySWaT2ICvmqOOY6XjsuZWPOtTEkwhgsCZsaHzwXjzjeJpe437d4knavQajpds7nPvrU dzhBw97Pjb+3S9vky8doKZ1l/FAGk1MezsQrdZPuNlS30eV98y0UEl/h3o9Iz8NMi6x5 2Co8ZtmyRb0BBjVnXF63Pvt+KxJhlRSRyHwOKd3OQDSfAOsyMqmXH/iVHiTgj7yD8h4x JBYw== X-Gm-Message-State: AHPjjUibGYmOgkJrPXLbG949w5eJxKhSSqDeYOp9LLq+bHzkphlJvx4U RnayJEk2F04iYc2LZd1MUw== X-Google-Smtp-Source: ADKCNb7raMBtr//8WtG+RHkWsh4uL7zro415XjUaCszLa2gD/2FVPfsxuj0boOm/SEcH+BYqudVJxQ== X-Received: by 10.28.30.73 with SMTP id e70mr317145wme.155.1504524269824; Mon, 04 Sep 2017 04:24:29 -0700 (PDT) Received: from localhost (94.197.120.41.threembb.co.uk. [94.197.120.41]) by smtp.gmail.com with ESMTPSA id x67sm397477wma.7.2017.09.04.04.24.28 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 04 Sep 2017 04:24:29 -0700 (PDT) From: Richard Sandiford To: gcc-patches@gcc.gnu.org Mail-Followup-To: gcc-patches@gcc.gnu.org, richard.sandiford@linaro.org Subject: [0/9] Make more use of opt_mode Date: Mon, 04 Sep 2017 12:24:26 +0100 Message-ID: <87tw0iiu51.fsf@linaro.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.2 (gnu/linux) MIME-Version: 1.0 The 77-patch machine-mode series originally targetted only the places that needed to change for variable-sized modes, but as Richard B. said on IRC, it meant that the interfaces of mode_for_size vs. int_mode_for_size were inconsistent: the former still returns BLKmode on failure, while the latter returns an opt_mode. This series of patches tries to make the machine_mode functions consistent. Tested on aarch64-linux-gmu, x86_64-linux-gnu, powerpc64le-linux-gnu, and by checking that there were no extra warnings or changes in testsuite output for one target per CPU. Richard