From owner-freebsd-arch@FreeBSD.ORG Tue Sep 18 19:01:10 2012 Return-Path: Delivered-To: freebsd-arch@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 497AF1065678 for ; Tue, 18 Sep 2012 19:01:10 +0000 (UTC) (envelope-from jroberson@jroberson.net) Received: from mail-pb0-f54.google.com (mail-pb0-f54.google.com [209.85.160.54]) by mx1.freebsd.org (Postfix) with ESMTP id BF4758FC0C for ; Tue, 18 Sep 2012 19:01:09 +0000 (UTC) Received: by pbbrp2 with SMTP id rp2so724155pbb.13 for ; Tue, 18 Sep 2012 12:01:09 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=date:from:x-x-sender:to:cc:subject:in-reply-to:message-id :references:user-agent:mime-version:content-type:x-gm-message-state; bh=F5wN393QzZRxNruU2aD3SiXFD8dSUFTqKs883tnyPCI=; b=KnjARr2eAZEUolHsVOrY2ZV+OcHvdcVvdrkBhcfFMW4r80/02CJuuUXaPsDCUbI6kc zKy2EeZPXii66fucWtmsE2FreIOYgzglddv/rco0r/fdi9/3Fj4Wa2iXqvExdONuyOyM KNtN11ayMifUD5GF+PD431o0WUW46GOqb9gYxtm50UqPc8M0u6tyTQPStuk1UKj/DHuJ 1OnazDFUsWFPxxK2zj3hQTEunAl5SnSogFz62bHKAz9UF6OddR45bX7laRTfyHlR5OyG Ke/0PoRyGpSjw8RLY/bPQK4cbFzqWYGDhm+Yer8NktQ4nfzhg8l3np4dul+McvNCC4HX Zw0Q== Received: by 10.68.239.135 with SMTP id vs7mr1211429pbc.38.1347994869294; Tue, 18 Sep 2012 12:01:09 -0700 (PDT) Received: from rrcs-66-91-135-210.west.biz.rr.com (rrcs-66-91-135-210.west.biz.rr.com. [66.91.135.210]) by mx.google.com with ESMTPS id py9sm401310pbb.20.2012.09.18.12.01.07 (version=SSLv3 cipher=OTHER); Tue, 18 Sep 2012 12:01:08 -0700 (PDT) Date: Tue, 18 Sep 2012 09:00:38 -1000 (HST) From: Jeff Roberson X-X-Sender: jroberson@desktop To: Poul-Henning Kamp In-Reply-To: <22851.1347992668@critter.freebsd.dk> Message-ID: References: <22851.1347992668@critter.freebsd.dk> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Gm-Message-State: ALoCoQmpGWTuQx5kCGPzLP9bGfAjsVh3UWrRg7Cv4vUJxrS7q3cpF4WZYpuGjrNl3FIPwL7Qc065 Cc: Konstantin Belousov , attilio@freebsd.org, freebsd-arch@freebsd.org, arch@freebsd.org Subject: Re: Aliasing issue with TAILQ on ppc64 ? X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Sep 2012 19:01:10 -0000 On Tue, 18 Sep 2012, Poul-Henning Kamp wrote: > In message <201209181359.37965.jhb@freebsd.org>, John Baldwin writes: >> On Tuesday, September 18, 2012 1:03:21 pm Poul-Henning Kamp wrote: > >> Did you have -fno-strict-aliasing enabled in CFLAGS for your PPC64 build >> (assuming you had built with -O2 or higher)? > > I tried that, but it did not seem to make a difference. If you compile at low optimization levels I assume it goes away? Can you place asm volatile ("" ::: "memory"); between the two tailq macros with the same optimization level? This should prevent gcc from caching anything in registers regardless of the optimization level and would tell us if it's doing something bad. Thanks, Jeff > > -- > Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 > phk@FreeBSD.ORG | TCP/IP since RFC 956 > FreeBSD committer | BSD since 4.3-tahoe > Never attribute to malice what can adequately be explained by incompetence. > _______________________________________________ > freebsd-arch@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-arch > To unsubscribe, send any mail to "freebsd-arch-unsubscribe@freebsd.org" >