Commit Graph

6 Commits

Author SHA1 Message Date
Maxim Poliakovski
54ce23d0a8 platinum: cleanup non-DWORD register reads. 2024-03-12 17:29:19 +01:00
joevt
7fc92e236b Fix extract_bits and insert_bits.
(1 << len) is actually 1 when len is (sizeof(T)*8) so we need to special case that. len is usually constant so the compare won't be compiled.
2024-03-02 06:54:58 -07:00
joevt
3062a29b78 Add clear_bit and set_bit. 2024-03-02 06:54:45 -07:00
Mihai Parparita
838ccdd7b4 Fix for building on with GCC on ARM
The x86intrin.h intrinsics header is not available in that case.
2023-10-18 23:13:05 -07:00
Maxim Poliakovski
e01fea87a9 More bitops. 2023-04-02 03:01:13 +02:00
Maxim Poliakovski
31db015105 pcihost: refactor data access helpers. 2023-01-31 23:20:31 +01:00