more encodings, and make it device-independent. From Lennart Augustsson, in PR kern/3305.
cpumod' with