This is the mail archive of the libc-hacker@sources.redhat.com mailing list for the glibc project.

Note that libc-hacker is a closed list. You may look at the archives of this list, but subscription and posting are not open.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [RFC] Vector extentions for vprintf/vscanf


On Mon, Jan 19, 2004 at 04:44:08PM -0600, Steve Munroe wrote:
> One useful extention to glibc would be adding vector formating to 
> printf/scanf. This would add the type modifier prefix v to the type 
> modifiers hh, h, l. For example to print a vector of 16 signed bytes 
> "%vhhd", 8 signed shorts "%vhd", 4 signed ints "%vd", or 4 floats 
> "%vhf". (note the form "%vf" is reserved for a vector of 2 doubles but 
> most current Vector SIMD implimentations don't support double float).

Are you going to hard-code the width of the vector?  That's not
friendly for x86, where there are two sizes.


r~


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]