malank

joined 2 weeks ago
[–] malank@lemm.ee 3 points 18 hours ago

House passed it. Doubtful that this senate will pass it. Senate still has some people looking out for themselves and knowing that cutting Medicare/Medicaid to the levels in this bill is a death sentence to their campaigns. For instance, see Sen. Hawley’s opposition to it (and Hawley is otherwise a huge POS).

[–] malank@lemm.ee 10 points 1 week ago

ARM has bit-banding specifically for this. I think it’s limited to M-profile CPUs (e.g. v7-M) but I’ve definitely used this before. It basically creates a 4-byte virtual address for every bit in a region. So the CPU itself can’t “address” a bit but it can access an address backed by only 1 bit of SRAM or registers (this is also useful to atomically access certain bits in registers without needing to use SW atomics).