From owner-freebsd-questions@freebsd.org Sat Feb 2 17:15:07 2019 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 69E1514C4092; Sat, 2 Feb 2019 17:15:07 +0000 (UTC) (envelope-from mayuresh@kathe.in) Received: from relay11.mail.gandi.net (relay11.mail.gandi.net [217.70.178.231]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 90B328F691; Sat, 2 Feb 2019 17:15:04 +0000 (UTC) (envelope-from mayuresh@kathe.in) Received: from webmail.gandi.net (webmail8.sd4.0x35.net [10.200.201.8]) (Authenticated sender: mayuresh@kathe.in) by relay11.mail.gandi.net (Postfix) with ESMTPA id 8813A100006; Sat, 2 Feb 2019 17:14:56 +0000 (UTC) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Date: Sat, 02 Feb 2019 22:44:55 +0530 From: Mayuresh Kathe To: herbert@laubners.info Cc: freebsd-questions@freebsd.org, owner-freebsd-questions@freebsd.org Subject: Re: Checking CPU capabilities Reply-To: mayuresh@kathe.in Mail-Reply-To: mayuresh@kathe.in In-Reply-To: <2713664c-255e-6981-8615-4ac8d734ea00@laubners.info> References: <2cd8b8b1ae06042a992a48faace1ca91@kathe.in> <13203a3c47f8f0f1c3c408fd3cc6a1c6@kathe.in> <2713664c-255e-6981-8615-4ac8d734ea00@laubners.info> Message-ID: X-Sender: mayuresh@kathe.in User-Agent: Roundcube Webmail/1.1.2 X-Rspamd-Queue-Id: 90B328F691 X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [0.81 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCVD_IN_DNSWL_LOW(-0.10)[231.178.70.217.list.dnswl.org : 127.0.5.1]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; HAS_REPLYTO(0.00)[mayuresh@kathe.in]; IP_SCORE(-0.30)[ip: (0.01), ipnet: 217.70.176.0/20(-0.80), asn: 29169(-0.70), country: FR(-0.02)]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; DMARC_NA(0.00)[kathe.in]; AUTH_NA(1.00)[]; REPLYTO_ADDR_EQ_FROM(0.00)[]; NEURAL_HAM_LONG(-0.86)[-0.857,0]; NEURAL_SPAM_MEDIUM(0.41)[0.413,0]; TO_MATCH_ENVRCPT_SOME(0.00)[]; NEURAL_SPAM_SHORT(0.77)[0.767,0]; MX_GOOD(-0.01)[cached: spool.mail.gandi.net]; R_SPF_NA(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:29169, ipnet:217.70.176.0/20, country:FR]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 02 Feb 2019 17:15:07 -0000 I am not on a FreeBSD system at the moment, and don't have access to one either. On 2019-02-02 10:26 PM, Herbert Laubner wrote: > You could try > > $ grep Features /var/run/dmesg.boot  | grep --colour -e AVX > > Am 02.02.19 um 22:09 schrieb Mayuresh Kathe: >> On 2019-02-02 09:46 PM, Chris Hill wrote: >>> On Sat, 2 Feb 2019, Mayuresh Kathe wrote: >>> >>>> Under Linux it is `cat /proc/cpuinfo` >>>> Under Solaris it is `isainfo -v` >>>> What is it under FreeBSD 12? >>> >>> Something like >>>   $ grep Features /var/run/dmesg.boot >>> ...or am I missing something? >> >> I need to know if my processor supports AVX, AVX2, AVX-512, SIMD, etc. >> Would your approach give me that sort of information? >> >> _______________________________________________ >> freebsd-questions@freebsd.org mailing list >> https://lists.freebsd.org/mailman/listinfo/freebsd-questions >> To unsubscribe, send any mail to >> "freebsd-questions-unsubscribe@freebsd.org" > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org"