From owner-freebsd-arch@FreeBSD.ORG Tue Sep 16 13:50:07 2014 Return-Path: Delivered-To: freebsd-arch@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 93BA6ACA for ; Tue, 16 Sep 2014 13:50:07 +0000 (UTC) Received: from mail-lb0-x235.google.com (mail-lb0-x235.google.com [IPv6:2a00:1450:4010:c04::235]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 18EAEF96 for ; Tue, 16 Sep 2014 13:50:06 +0000 (UTC) Received: by mail-lb0-f181.google.com with SMTP id z11so6434899lbi.26 for ; Tue, 16 Sep 2014 06:50:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=xNmA+cW9Yvehm11IQ1DjLFHxFdRdF6jFlXJUTonIL18=; b=UUCAhTmCX6kykwPjsWynMSwrNsOOB8WVZFvRFfeJcAss938Pxj2OwBlTh6ukkloSTX uewc9rC1hLuFmfutqXI9MgyeepUfLpvQL+dlgNJkjGPj4aBE5e3XpyTEa5TtgLpsIIwj mcNbuOGhcolc6kpCEeHsAKSlNEtriZqr9POiXeGH/bOLW1eWvRBESH2FZvmmnpDBbGH3 NcUObU1mM8O5l5ttVOrCYXqBL2Gvv0++gfx1GmcAzzYbhefyrAW+TnO3pHGryMaqN12O VLPdiVxKjxu+DTnx0tH5avGfiGf1pkt+V3v6q9PUE1S2+LRIrBoHM8eZpshjwfn0pPJR ALkQ== MIME-Version: 1.0 X-Received: by 10.152.22.137 with SMTP id d9mr37098525laf.29.1410875403459; Tue, 16 Sep 2014 06:50:03 -0700 (PDT) Received: by 10.25.133.213 with HTTP; Tue, 16 Sep 2014 06:50:03 -0700 (PDT) In-Reply-To: <20140916083343.GS2737@kib.kiev.ua> References: <20140913162059.GU2737@kib.kiev.ua> <20140914090033.GA2737@kib.kiev.ua> <20140916083343.GS2737@kib.kiev.ua> Date: Tue, 16 Sep 2014 15:50:03 +0200 Message-ID: Subject: Re: Intel MPX (Skylake ISA) support? From: Carsten Mattner To: Konstantin Belousov Content-Type: text/plain; charset=UTF-8 Cc: freebsd-arch@freebsd.org X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Sep 2014 13:50:07 -0000 On Tue, Sep 16, 2014 at 10:33 AM, Konstantin Belousov wrote: > On Sun, Sep 14, 2014 at 11:18:09AM +0200, Carsten Mattner wrote: >> More details I was able to find with links to hopefully descriptive >> documentation. IIUC developers have been using a well known >> Intel CPU simulator, but I'm in the dark there. > SDE does not run on FreeBSD, and setting up Linux (or Windows) for this > is out of question, at least for me. > >> >> gcc: http://gcc.gnu.org/wiki/Intel%20MPX%20support%20in%20the%20GCC%20compiler >> >> glibc: >> https://sourceware.org/ml/libc-alpha/2014-03/msg00491.html >> https://sourceware.org/ml/libc-alpha/2014-03/msg00543.html >> https://sourceware.org/ml/libc-alpha/2014-03/msg00605.html > > I can google as well. I have no intend of reverse-engineering Linux code > to get basic information about CPU core. > > Why are you so insisted on the non-released feature, which seemingly > still lacks complete documentation ? Yes, something can be done even > now, but that requires a lot of efforts, backed by a huge belief into > the world-shaking nature of the MPX and inability to wait even a bit to After going over the chapter in the ISA pdf the feature doesn't look as useful as I thought it would be and it's only to prevent buffer underrun/overrun - no other widespread vector is closed. > get hands on it. I do not have that urge, and do not understand why do > you try to trick others into it. Will you provide the hardware to the > developers when it become generally avaiable ? Sorry you think I'm trying to trick anyone - that couldn't be further from the truth but English is not my native language and I maybe misrepresented the question. > FWIW, it would be very useful if Jim Harris chimed in.