From owner-freebsd-hackers@freebsd.org Sun Oct 6 07:56:13 2019 Return-Path: Delivered-To: freebsd-hackers@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 338BD12FE63 for ; Sun, 6 Oct 2019 07:56:13 +0000 (UTC) (envelope-from 6yearold@gmail.com) Received: from mail-pf1-f174.google.com (mail-pf1-f174.google.com [209.85.210.174]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 46mGC014xTz3Hvm for ; Sun, 6 Oct 2019 07:56:11 +0000 (UTC) (envelope-from 6yearold@gmail.com) Received: by mail-pf1-f174.google.com with SMTP id q12so6510797pff.9 for ; Sun, 06 Oct 2019 00:56:11 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=USOOMlL57OE39VyIRlOCwn54De1RaFHX4FBiJmcfan8=; b=qH5F0akoGtbBzSNMdMbmkbYKk38DXus0SVkkSJ/haqtPIB2H8EHckrSw2ahVcZyqrq kCNgKArtcpIRKE1Oz1JNLHmmAb84vScQdsTzSxairN0AdmN1hR0wgmM2IRZ89QWbmJ77 gpfgzW7XARXEQwB6kM5DFkRiARyl8CSU6oC/BnKkb3hzPiUGLmJqKafaaFw2TOSddENx ZYvFAjEVOie1M5yFCQXB2ylEkFhY3tl55pvuXk+/R49ryEIo/5eU0ntgSJwEXi+WQgSC k50Dvrymv8LFWAU2SgRmaR+lv4FzbQexxnnRJA1ls81W54P5LULxyj8fyWnHLmp6HW/O DLHg== X-Gm-Message-State: APjAAAXS/KNDXLzcOt4N1vud3XFVS70iRghUf9KKiHUrw1D8DIaoVIUm VSBWGlgfcMrFJRkBDNPA9aoRRY5X5kk= X-Google-Smtp-Source: APXvYqx2GCqH75jbBlar8o+18jwLfpNzv4ohdZ+haRlAtORYXzrCVUX+0XxD0WNaTKTy4/rjza6C6w== X-Received: by 2002:a62:7d54:: with SMTP id y81mr26616987pfc.86.1570348570389; Sun, 06 Oct 2019 00:56:10 -0700 (PDT) Received: from mail-pf1-f176.google.com (mail-pf1-f176.google.com. [209.85.210.176]) by smtp.gmail.com with ESMTPSA id 22sm11106983pfo.131.2019.10.06.00.56.09 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 06 Oct 2019 00:56:10 -0700 (PDT) Received: by mail-pf1-f176.google.com with SMTP id b128so6553614pfa.1 for ; Sun, 06 Oct 2019 00:56:09 -0700 (PDT) X-Received: by 2002:a17:90a:1c01:: with SMTP id s1mr26903429pjs.76.1570348569673; Sun, 06 Oct 2019 00:56:09 -0700 (PDT) MIME-Version: 1.0 References: <20191004141338.GA72749@bastion.zyxst.net> <20191006001031.GB24947@bastion.zyxst.net> In-Reply-To: <20191006001031.GB24947@bastion.zyxst.net> From: Gleb Popov Date: Sun, 6 Oct 2019 11:55:34 +0400 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: CPUTYPE?= in make.conf To: tech-lists Cc: freebsd-hackers X-Rspamd-Queue-Id: 46mGC014xTz3Hvm X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of 6yearold@gmail.com designates 209.85.210.174 as permitted sender) smtp.mailfrom=6yearold@gmail.com X-Spamd-Result: default: False [-4.04 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCVD_TLS_ALL(0.00)[]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:209.85.128.0/17]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-hackers@freebsd.org]; DMARC_NA(0.00)[freebsd.org]; URI_COUNT_ODD(1.00)[5]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; RCVD_COUNT_THREE(0.00)[4]; MIME_TRACE(0.00)[0:+,1:+,2:~]; TO_DN_ALL(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; RCVD_IN_DNSWL_NONE(0.00)[174.210.85.209.list.dnswl.org : 127.0.5.0]; TO_MATCH_ENVRCPT_SOME(0.00)[]; IP_SCORE(-3.04)[ip: (-9.73), ipnet: 209.85.128.0/17(-3.26), asn: 15169(-2.15), country: US(-0.05)]; FORGED_SENDER(0.30)[arrowd@freebsd.org,6yearold@gmail.com]; R_DKIM_NA(0.00)[]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:209.85.128.0/17, country:US]; FROM_NEQ_ENVFROM(0.00)[arrowd@freebsd.org,6yearold@gmail.com]; SUBJECT_HAS_QUESTION(0.00)[] Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 06 Oct 2019 07:56:13 -0000 On Sun, Oct 6, 2019 at 4:11 AM tech-lists wrote: > Hi, > > On Fri, Oct 04, 2019 at 11:14:28AM -0400, grarpamp wrote: > > >Intel.com says AVX extensions should be present in both. > > > >Does intel.com even publish per cpu or per family > >exhaustive lists of all the instructions present? > >ie: So users don't have to collate all the base instruction > >plus extension set terminology docs separately. > > I don't know about exhaustive. I was using this: > http://cpuboss.com/cpus/Intel-Xeon-E5-2690-vs-Intel-Core-i7-4770K > > The other way of getting them is installing sysutils/cpuid and running > that. > > You're right about AVX, that's my error. > Some time ago I wrote sysutils/hs-cputype utility, which infers you CPU type from clang's output, coerce it to CPUTYPE possible values and prints that to you. It also allows you to compare two CPUTYPEs in terms of features. > thanks, > -- > J. >