mirror of
https://github.com/Noratrieb/rustv32i.git
synced 2026-03-14 15:36:03 +01:00
parent
8e17992010
commit
f2ddd7ab1c
3 changed files with 12 additions and 9 deletions
|
|
@ -1702,9 +1702,12 @@ impl Inst {
|
|||
#[cfg(test)]
|
||||
mod tests {
|
||||
extern crate std;
|
||||
use std::borrow::ToOwned;
|
||||
use std::string::String;
|
||||
use std::vec::Vec;
|
||||
|
||||
use core::sync::atomic::AtomicU32;
|
||||
use core::sync::atomic::Ordering;
|
||||
use std::prelude::rust_2024::*;
|
||||
|
||||
use std::fmt::Write as _;
|
||||
use std::io::Write as _;
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
{ pkgs ? import <nixpkgs> { } }: pkgs.mkShell {
|
||||
packages = with pkgs; [
|
||||
llvmPackages_18.clang-unwrapped
|
||||
llvmPackages_18.lld
|
||||
llvmPackages_18.bintools-unwrapped
|
||||
llvmPackages_22.clang-unwrapped
|
||||
llvmPackages_22.lld
|
||||
llvmPackages_22.bintools-unwrapped
|
||||
];
|
||||
}
|
||||
|
|
|
|||
10
src/emu.rs
10
src/emu.rs
|
|
@ -569,11 +569,11 @@ impl<XLEN: XLen> Emulator<XLEN> {
|
|||
|src| ((src as u32).signed_shr(imm.as_u32())) as u64,
|
||||
);
|
||||
}
|
||||
Inst::MulW { dest, src1, src2 } => todo!(),
|
||||
Inst::DivW { dest, src1, src2 } => todo!(),
|
||||
Inst::DivuW { dest, src1, src2 } => todo!(),
|
||||
Inst::RemW { dest, src1, src2 } => todo!(),
|
||||
Inst::RemuW { dest, src1, src2 } => todo!(),
|
||||
Inst::MulW { .. } => todo!(),
|
||||
Inst::DivW { .. } => todo!(),
|
||||
Inst::DivuW { .. } => todo!(),
|
||||
Inst::RemW { .. } => todo!(),
|
||||
Inst::RemuW { .. } => todo!(),
|
||||
_ => todo!(),
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue