From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ben Elliston To: "Frank Ch. Eigler" Cc: sid@sources.redhat.com Subject: Re: modeling latency (fwd) Date: Sun, 24 Jun 2001 17:06:00 -0000 Message-id: <15158.32871.322836.589521@scooby.brisbane.redhat.com> References: <15149.29984.517393.81892@scooby.apac.redhat.com> <15153.37541.916886.137745@scooby.brisbane.redhat.com> <20010621072133.A4390@redhat.com> X-SW-Source: 2001-q2/msg00040.html >>>>> "Frank" == Frank Ch Eigler writes: Frank> BTW, regarding the proposed bus::status patch, it would be nice if you Frank> could find some way of ensuring/requesting that the compiler packs the Frank> struct into 4 bytes. Maybe the g++ "enum foo : 16" extension, maybe Frank> something else. I agree that packing the bus::status struct should be considered important for performance, given that it is likely passed by value. As you suggest, there is a g++ extension to help with this: packed enums, but was never implemented. I am testing a patch to correct this and will hopefully submit it to gcc-patches@ this week. It could be quite some time before we can depend on its existence. Ben