[PATCH take 2] Emulate clock and other stubs on nvptx

Corinna Vinschen vinschen@redhat.com
Wed Aug 25 08:25:56 GMT 2021

On Aug 24 17:48, Roger Sayle wrote:
> Alas, I'm having trouble with "git send-email", but hopefully the attached patch
> generated by "git format-patch" is close enough.  Many thanks also for the
> speedy locale fix.  This revised patch takes advantage of a (upcoming) __PTX_SM__
> macro that I'm just about to push to GCC, that allows newlib's clock to use an
> accurate timer on more recent GPUs.  This avoids the clock speed issue.

Pushed.  I took the liberty to add the mail text from your first patch
submission to the commit message.  I kept the CVS-style commit message
part intact, but it's not needed anymore.  A nice descriptive text is
more helpful to the reader.


More information about the Newlib mailing list