linux-arch.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Peter Zijlstra <a.p.zijlstra@chello.nl>
To: linux-kernel@vger.kernel.org, linux-arch@vger.kernel.org
Cc: Linus Torvalds <torvalds@linux-foundation.org>,
	Andrew Morton <akpm@linux-foundation.org>,
	Juri Lelli <juri.lelli@gmail.com>,
	Andy Lutomirski <luto@amacapital.net>
Subject: [PATCH 0/2] math128 - v2
Date: Wed, 25 Apr 2012 13:15:52 +0200	[thread overview]
Message-ID: <20120425111552.665217867@chello.nl> (raw)

Take two of the math128 bits.. 

Changes since last time:
 - Added gcc __int128 versions for where it works
 - Added Andy's mul_u64_u32_shr() due to popular demand :-)
 - Added {shl,shr}_u128 as requested by hpa (although I suspect he'll
   use Andy's fancy function).
 - Added a U128_INIT() constant initializer.
 - Renamed mult_u128 to mul_u64_u64, hpa complaned the name was
   misleading
 - Fixed some of the code generation issues with add_u128 and
   mul_u64_64.

I've also assumed we're all actually ok with adding this functionality,
so unless someone hollers I'll push this for inclusion.

             reply	other threads:[~2012-04-25 11:28 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-04-25 11:15 Peter Zijlstra [this message]
2012-04-25 11:15 ` [PATCH 1/2] math128: Introduce {mult,add,cmp}_u128 Peter Zijlstra
2012-04-25 11:15   ` Peter Zijlstra
2012-04-25 12:50   ` Peter Zijlstra
2012-04-25 11:15 ` [PATCH 2/2] math128, x86_64: Implement {mult,add}_u128 in 64bit asm Peter Zijlstra
2012-04-25 11:15   ` Peter Zijlstra
2012-04-25 18:02   ` Andy Lutomirski
2012-04-25 18:10     ` Peter Zijlstra

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20120425111552.665217867@chello.nl \
    --to=a.p.zijlstra@chello.nl \
    --cc=akpm@linux-foundation.org \
    --cc=juri.lelli@gmail.com \
    --cc=linux-arch@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=luto@amacapital.net \
    --cc=torvalds@linux-foundation.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).