14.04.2020 18:45, Thierry Reding пишет: ... >> What about to try to replace this massive egyptian construction with a >> single "u32 val;" ? > > I actually tried that after condensing what this used to look like into > the above. The result was a huge failure because some of these temporary > values end up being reused, so I ended up writing bogus values into some > of these registers. It should be fine to keep those variables that are getting re-used. It looks like there are much more variables that are never re-used, and thus, they could be replaced.