This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


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: [PATCH 1/14] [x86_64] Vector math functions (vector cos)


On Tue, 19 May 2015, Andrew Senkevich wrote:

> > appropriate comments saying what operations are being encoded).  You could
> > probably write an assembler macro to do the encoding (though if the
> > offsets in question don't all have the same length when encoded as
> > sleb128, that complicates the macro a bit).
> 
> Where to put that macro, in sysdeps/x86_64/sysdep.h?

That might be plausible, depending on what the macro looks like (whether 
it's something generic for any x86_64 code saving a register on the stack 
when CFA is something else, or more specific to this libmvec code).

-- 
Joseph S. Myers
joseph@codesourcery.com


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