An open API service indexing awesome lists of open source software.

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.

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));
```