From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 116379 invoked by alias); 17 Mar 2017 05:39:44 -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 116368 invoked by uid 89); 17 Mar 2017 05:39:43 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-3.4 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.2 spammy=sim, Gavin, gavin, his X-HELO: mail-pf0-f172.google.com Received: from mail-pf0-f172.google.com (HELO mail-pf0-f172.google.com) (209.85.192.172) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Fri, 17 Mar 2017 05:39:42 +0000 Received: by mail-pf0-f172.google.com with SMTP id x63so29340013pfx.2 for ; Thu, 16 Mar 2017 22:39:42 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=sr7wA9E5uU5P9gMRDqxRez5dPRR8WgWNElj2v60SJnc=; b=WmdBUiU4m8RBAkZrSYFV43I62+j6O08Ad8Ii15pdurgTQiNnjaT5xhu6w7nq43WVEI CSvueaV3FHVEVv2ilcNwx101d/WQoZpG3J56CtmSXMkeLCiHYQ9LoNQOl26aFQVvSvrm Y3Tz4S7CFnAiOO4X2nRwpE9TdjIvdjqAaapJqpOB0vpQrQl+8b5aJ3IwcyecoLUkjr9X VYCgPeBLRPr0GBgwHyFp2oB1ECXx2NoM441QYLFB8YmVzbIxgKfk949wgbk262ysa3lb chzU/AhNKSGOSUOyOfpSCd0G4jIt/bpYyxXZhzJkp0omLjeVqkGV0332k9KvYpptMNbz qWlQ== X-Gm-Message-State: AFeK/H3jgyAMosBmJHNWIRWiPTF3d6548T4t0yhsx3+F+EL9072KqQqe92MHJKvaYBN33A== X-Received: by 10.98.22.87 with SMTP id 84mr15057152pfw.145.1489729181280; Thu, 16 Mar 2017 22:39:41 -0700 (PDT) Received: from localhost (z17.124-44-180.ppp.wakwak.ne.jp. [124.44.180.17]) by smtp.gmail.com with ESMTPSA id e13sm13908028pgf.48.2017.03.16.22.39.40 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 16 Mar 2017 22:39:40 -0700 (PDT) From: Stafford Horne To: shorne@gmail.com, gdb-patches@sourceware.org Cc: openrisc@lists.librecores.org Subject: [PATCH v3 0/5] sim port for OpenRISC Date: Fri, 17 Mar 2017 05:39:00 -0000 Message-Id: X-IsSubscribed: yes X-SW-Source: 2017-03/txt/msg00296.txt.bz2 Hello Again, Please find attached the sim patches that allow to get a basic OpenRISC system running. This was used to verify the OpenRISC gdb port. The main author is Peter Gavin who should have his FSF copyright in place. Request for comments on: - The testcase has a few tests commented out. I do not plan to fix now, but hopefully be addressed after upstreaming. - Openrisc supports a l.rem instruction which has been implemented here using the drem() function from libmath. It seems no other functions use libmath now, I hope this is ok. Sim dejagnu tests were added specifically for openrisc and used to test this. Please see the details of running the testsuite for sim below: === sim Summary === # of expected passes 17 /home/shorne/work/openrisc/build-gdb/sim/or1k/run 0.5 Thanks, -Stafford Changes since v2 * Removed 64-bit implementation (reduced files) * Removed cgen suffix patch * Removed different builds for linux * Removed unused macros * Fixed gnu style issues pointed out by Mike * Fixed copyrights (not Cygnus, added to each file) Changes since v1 * Squashed sim patches into single sim patch * Put Generated files in separate patch * I have my sim/gdb copyright assignment complete Peter Gavin (3): sim: cgen: add rem (remainder) function (needed for OR1K lf.rem.[sd]) sim: cgen: add mul-o1flag, mul-o2flag RTL functions to CGEN sim: testsuite: add testsuite for or1k sim Stafford Horne (2): sim: or1k: add or1k target to sim sim: or1k: Add generated files.