This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
set arch riscv:rv64 | |
define hook-quit | |
set confirm off | |
end | |
target extended-remote localhost:3333 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// If `unsafe` and `nightly` are enabled, enable unstable `core_intrinsics` feature | |
// with #![feature(core_intrinsics)] (Nightly only). | |
macro_rules! invariant { | |
($expr: expr) => { | |
cfg_if::cfg_if! { | |
if #[cfg(all(feature = "unsafe", feature = "nightly"))] { | |
core::intrinsics::assume($expr); | |
} | |
else if #[cfg(feature = "unsafe")] { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Copyright (C) 1997-2019, 2020 Free Software Foundation, Inc. | |
# | |
# This file is part of DejaGnu. For RISC-V target simulation. | |
# | |
# DejaGnu is free software; you can redistribute it and/or modify it | |
# under the terms of the GNU General Public License as published by | |
# the Free Software Foundation; either version 2 of the License, or | |
# (at your option) any later version. | |
# | |
# DejaGnu is distributed in the hope that it will be useful, but |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /bin/env python3 | |
# SPDX-License-Identifier: MIT | |
# SPDX-FileCopyrightText: Copyright (C) 2025 Tsukasa OI <[email protected]>. | |
import sys | |
import z3 | |
VARS: dict[str, list[list[any]]] = {} | |
N_ITERS = 1 |
OlderNewer