From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 79157 invoked by alias); 10 Jun 2016 16:24:43 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Received: (qmail 79128 invoked by uid 89); 10 Jun 2016 16:24:42 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.5 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 spammy=gdbpatches, gdb-patches, shortly, team X-HELO: mail-oi0-f49.google.com Received: from mail-oi0-f49.google.com (HELO mail-oi0-f49.google.com) (209.85.218.49) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-GCM-SHA256 encrypted) ESMTPS; Fri, 10 Jun 2016 16:24:32 +0000 Received: by mail-oi0-f49.google.com with SMTP id d132so16289091oig.1 for ; Fri, 10 Jun 2016 09:24:32 -0700 (PDT) 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=QW9Bh3PzApx9zEvKt5ICFhXBVJHGRKG2cEDtRxW3nKo=; b=OchnCN4xEuI0HuvlDhRLuIZyGQtRehNy6fc3gLxV6zN5o/ubyFqUJcMPGpeCvrqSCf fUv1+8TJ1xTyShIeR5YD7gHqzgm6250saphGCygHjiF1Tgbl7Nz0Tw79qsFLt77OiDw9 /rsgRFFNkEP1E9RlBv0ud5Op9HUJU+oCnvNnp9nh9tnkFlRHQDqtBEzrrgrjpak4wrC7 YPsCUkP7rt/w8WoLH5grjKirXY/9ZDZ69qmKllNApdIH70VjPvemHhHsBAL+q8MVWvCY JZYj3odFKsEV6fJXAwdpdgXyW/0afv4YogTH/J65X3G7Gg6NUvFNLmAoHiVgf2o7WZ5L doZQ== X-Gm-Message-State: ALyK8tK90717wAZ+N1KEs9j/XcGON69TLrF/z01e5+DdT9EWMRjH4BFSU+8j0DWQQnm7J5u7YFjqEzGit/Cidm2X X-Received: by 10.202.78.204 with SMTP id c195mr1694898oib.87.1465575870807; Fri, 10 Jun 2016 09:24:30 -0700 (PDT) MIME-Version: 1.0 Received: by 10.157.34.136 with HTTP; Fri, 10 Jun 2016 09:24:30 -0700 (PDT) In-Reply-To: References: From: Jim Wilson Date: Fri, 10 Jun 2016 16:24:00 -0000 Message-ID: Subject: Re: [PATCH] aarch64 sim big-endian support To: gdb-patches@sourceware.org Cc: Nick Clifton Content-Type: text/plain; charset=UTF-8 X-SW-Source: 2016-06/txt/msg00197.txt.bz2 ping for the attachment, see https://sourceware.org/ml/gdb-patches/2016-06/msg00046.html On Thu, Jun 2, 2016 at 7:36 PM, Jim Wilson wrote: > On aarch64, code is always little-endian, even when compiling > big-endian, so we need to force little-endian when reading > instructions. > > Running the gcc C language testsuite, I get for an aarch64-elf target > > # of expected passes 35433 > # of unexpected failures 254 > # of unsupported tests 131 > > and for an aarch64_be-elf target with the attached patch I get > > # of expected passes 35200 > # of unexpected failures 487 > # of unsupported tests 131 > > so this simple patch gets us most of the way there. I haven't tried > looking at the other problems yet. > > I also have a dejagnu patch I wrote to make this work, which I will be > submitting to the dejagnu team shortly. > > Jim