https://github.com/akiko97/cpulib
A CPU emulator library designed to simulate the CPU context, with a specific focus on SIMD operations.
https://github.com/akiko97/cpulib
Last synced: 3 months ago
JSON representation
A CPU emulator library designed to simulate the CPU context, with a specific focus on SIMD operations.
- Host: GitHub
- URL: https://github.com/akiko97/cpulib
- Owner: Akiko97
- Created: 2023-11-15T08:44:13.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-01-17T15:12:16.000Z (over 1 year ago)
- Last Synced: 2025-01-25T08:13:31.265Z (5 months ago)
- Language: Rust
- Size: 1.19 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# cpulib
A CPU emulator library designed to simulate the CPU context, with a specific focus on SIMD operations.
# Usage
```rust
use cpulib::{ CPU, Utilities, u256, u512, VecRegName, GPRName, FLAGSName, IPName };let mut cpu = CPU::default();
cpu.registers.set_bit(VecRegName::XMM, 0, 127, true);
println!("{:?}", cpu.registers.get_bit(VecRegName::XMM, 0, 127));
```