From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp2.axis.com (smtp2.axis.com [195.60.68.18]) by sourceware.org (Postfix) with ESMTPS id 33A973858D3C for ; Mon, 14 Feb 2022 22:58:26 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 33A973858D3C From: Hans-Peter Nilsson To: Subject: [PATCH 00/12] A little TLC for the simulators (in particular CRIS) MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8BIT Message-ID: <20220214225824.AC90A20439@pchp3.se.axis.com> Date: Mon, 14 Feb 2022 23:58:24 +0100 X-Spam-Status: No, score=-4.7 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, SPF_HELO_PASS, SPF_PASS, TXREP, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on server2.sourceware.org X-BeenThere: gdb-patches@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gdb-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 14 Feb 2022 22:58:28 -0000 It's been a while since my last simulator commit, and it seems cris-sim has broken since then. I started pursuing a memory framework bug and a 2.5x performance regression (found largely salvageable by --disable-sim-hardware). This set of commit takes it and the testsuite back to a state usable for my gcc autotester and (in part at least) for use in autotesting itself. Hopefully more to come soonish (no promises) as the "linux" part of the test-suite is still broken, though the "newlib" parts are fixed. Committed; general parts as authorized committer. sim cris: Correct PRIu32 to PRIx32 sim/testsuite/cris: Assembler testcase for PRIx32 usage bug sim/testsuite: Set global_cc_os also when no compiler is found sim/testsuite/cris/c: Use -sim3 but only for newlib targets sim/testsuite/cris/hw/rv-n-cris/irq1.ms: Disable due to randomness sim/testsuite: Support "requires: simoption <--name-of-option>" sim/testsuite/cris: As applicable, require simoption --cris-900000xx sim cris: Unbreak --disable-sim-hardware builds sim: Fix use of out-of-tree assembler and linker when testing sim: Add sim_dump_memory for debugging sim/testsuite/cris: Remove faulty use of basename in C tests sim/testsuite/cris: If failing compilation, mark C tests as errors sim/Makefile.in | 7 +- sim/common/sim-memopt.c | 10 + sim/configure | 356 +++++++++++++++++------- sim/cris/sim-if.c | 10 +- sim/m4/sim_ac_toolchain.m4 | 21 +- sim/testsuite/cris/asm/endmem1.ms | 47 ++++ sim/testsuite/cris/asm/io1.ms | 1 + sim/testsuite/cris/asm/io2.ms | 1 + sim/testsuite/cris/asm/io3.ms | 1 + sim/testsuite/cris/asm/io6.ms | 1 + sim/testsuite/cris/asm/io7.ms | 1 + sim/testsuite/cris/c/c.exp | 18 +- sim/testsuite/cris/c/openpf1.c | 8 +- sim/testsuite/cris/c/stat3.c | 3 +- sim/testsuite/cris/hw/rv-n-cris/irq1.ms | 1 + sim/testsuite/lib/sim-defs.exp | 61 ++++ 16 files changed, 431 insertions(+), 116 deletions(-) create mode 100644 sim/testsuite/cris/asm/endmem1.ms -- 2.30.2 brgds, H-P