On Tue, Jul 25, 2017 at 12:30:13PM +0100, Kyrill Tkachov wrote: > We sometimes use the __mode__ attribute to force certain sizes in C types. > For example: typedef int ditype __attribute__ ((mode (DI))); > Maybe you can do this to force the right sizes. I don't know if there are > any targets > that don't support DImode ops though :)
DImode isn't necessarily the same size on all targets, a byte isn't always eight bits. I was planning on just doing some ugly #if. Segher