[Sbcl-devel] Patch for review: move-to-word/integer and fixnump hack

8 views
Skip to first unread message

Douglas Katzman

unread,
May 16, 2013, 2:33:14 PM5/16/13
to SBCL Devel-list
With single-bit fixnum tags, move-to-word/integer can be done in 4 or 5 instructions (including the initial move) versus 7 instructions.
fixnump/signed-byte-64 can be done without use of a constant, sometimes just 1 instruction, plus the conditional jump or move.
Also fixnump/unsigned-byte-64 could emit 'mov rdx,rdx' or similar because it used (inst mov tmp value) where it meant (move tmp value).

0001-Tweak-some-vops-for-1-bit-fixnum-tag-on-x86-64.patch

Paul Khuong

unread,
May 20, 2013, 11:17:07 PM5/20/13
to Douglas Katzman, SBCL Devel-list
Committed in 6794373 (More efficient integer=>word conversion and
fixnump tests on x86-64)

Thank you,

Paul Khuong

------------------------------------------------------------------------------
Try New Relic Now & We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service
that delivers powerful full stack analytics. Optimize and monitor your
browser, app, & servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_may
_______________________________________________
Sbcl-devel mailing list
Sbcl-...@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sbcl-devel
Reply all
Reply to author
Forward
0 new messages