malank @ malank @lemm.ee Posts 0Comments 2Joined 2 wk. ago
malank @ malank @lemm.ee
Posts
0
Comments
2
Joined
2 wk. 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).
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).