[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: [kmip] Groups - Sun 32-bit Binary Alignment Proposal,v2 (Sun 32-bit Binary Alignment Proposal.pdf) uploaded
Glen Jaquette wrote:
OF08F261E1.8089946B-ON072575A8.0015C5E6-072575A8.00160B97@us.ibm.com" type="cite">Hi Glen,
That's true. However, if we want to go for full 64-bit support, I'd prefer that we rearrange the layout so that the Tag, Type, and Length fields are within one 64-bit word. That way the Value field could just be a simple multiple of 8 bytes, instead of 4 plus a multiple of 8. Combining Tag and Type into one field would probably be more efficient because generally a particular Tag only has one supported Type, so the whole thing just becomes a 32-bit 'Super Tag' that can be quickly referenced in a switch statement or lookup table.
If we're interested in doing 64-bits 'right' instead of 'fast', I'd recommend we follow the sketch proposal I sent to Jon Callas yesterday. That said, the Sun requirement is simply for optimal processing on 32-bit ARM processors, so we would approve any of these approaches.
begin:vcard fn:Matt Ball n:Ball;Matthew org:Sun Microsystems, Inc.;Key Management adr:;;500 El Dorado Blvd, Bldg 5;Broomfield;CO;80021;U.S.A. email;internet:firstname.lastname@example.org title:Staff Engineer tel;work:303-272-7580 tel;fax:303-272-3023 tel;cell:303-717-2717 x-mozilla-html:TRUE url:http://www.sun.com version:2.1 end:vcard