From owner-freebsd-mips@freebsd.org Mon Nov 21 16:47:16 2016 Return-Path: Delivered-To: freebsd-mips@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 22C39C4DC5F for ; Mon, 21 Nov 2016 16:47:16 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-it0-x233.google.com (mail-it0-x233.google.com [IPv6:2607:f8b0:4001:c0b::233]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id DFD4D1B2D for ; Mon, 21 Nov 2016 16:47:15 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: by mail-it0-x233.google.com with SMTP id j191so108433902ita.1 for ; Mon, 21 Nov 2016 08:47:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=gDvs+PpIoS5r/M5bPIWoCijNobtT7GLsWDnETBDOsks=; b=DneyqUDLliTov0lNbrk+6h+8VujO43nMaV9u2xg9O3726rV4e/Pqc94zV8rmbLXj4w FENMWhZbT8tbUFJ2fj50jz569wPYp67CzywmF/QFVODX64Prb/b5mFwdBXhX1MiytBI6 DmdwYLaEraJoz9564ZlqDHf12Qi69oN1VZiqn7Lo2UEukO5yQzTGqcMGp1O2uuh5+uqc +LxTO/wULByz7Kvi1zeDOEDicoiDByTFd1Om315qB8tblGzDNACMXkQAZTxSbev9BLyl XRbrYHlOupNcfrx8SBARGpTa7Mp2dGe/6sCUKnv4SEqZN31SnBUafkKL3SzqRcuCYqUQ lfyw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=gDvs+PpIoS5r/M5bPIWoCijNobtT7GLsWDnETBDOsks=; b=C7x//jBsNUgzIeXf5Pyrzt6Nz/7YswhJPNmQVjk7ylTyDC57b7d5bweOGy08EKy1Np Mq2YoggSDRP6M7q8PRy4k0SmK+ltA9TWaUi9PtdA5BNKaDCWHqu89e73QDtl51ocb9fF 4IjzTMzvyjKNsRLWFdyc1fEyroaTP9cp6wFzEZkD6k/kgWjXN9ijeC+ymO/e9qAB/Sz3 Xg+vwtMu3ZEnefmrSCW5dWEw/rA8qSQ7K8viZOkAeYorN5KOSpB/FFFWeeWDFOMPeAw0 mVsPAQPV0cmLcceNoUIxeivXynLnMwUVfhM82LQiH7+8hPhdyiS/1ZpSVF60ppM59Bp9 hAnw== X-Gm-Message-State: AKaTC03CRcD0HYjTfJDGcdyXO/vQZ98pBy2cZOIsVkNQKqK/f4Za1a7cIql30H+3v7mOgUK9s2wbVDO6Z8SrTw== X-Received: by 10.36.58.85 with SMTP id m82mr9994863itm.29.1479746835245; Mon, 21 Nov 2016 08:47:15 -0800 (PST) MIME-Version: 1.0 Received: by 10.36.39.134 with HTTP; Mon, 21 Nov 2016 08:47:14 -0800 (PST) In-Reply-To: <58332491.3000706@grosbein.net> References: <5831E800.60003@grosbein.net> <5832FF33.9010307@grosbein.net> <58330AB6.60306@grosbein.net> <58332491.3000706@grosbein.net> From: Adrian Chadd Date: Mon, 21 Nov 2016 08:47:14 -0800 Message-ID: Subject: Re: MIPS code size strangeness To: Eugene Grosbein Cc: Michael Zhilin , "freebsd-mips@freebsd.org" Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-mips@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Nov 2016 16:47:16 -0000 Hiya, Well, let's dig into it a bit more. See what the latest gcc (5, or 6) will do when building a freebsd mips userland. It may also be something stupid - eg we can mark some code to stop inlining. MIPS binaries are going to be bigger than CISC binaries - but it shouldn't be /that/ much bigger. If there's cut/paste code that we can uninline, libraryify, etc to save space then we should. -adrian