A mixed-precision RISC-V processor for extreme-edge DNN inference