<html lang='en'>
<head>
<meta content='text/html; charset=utf-8' http-equiv='Content-Type'>
<title>
GitLab
</title>
</meta>
</head>
<style>
img {
max-width: 100%;
height: auto;
}
p.details {
font-style:italic;
color:#777
}
.footer p {
font-size:small;
color:#777
}
pre.commit-message {
white-space: pre-wrap;
}
.file-stats a {
text-decoration: none;
}
.file-stats .new-file {
color: #090;
}
.file-stats .deleted-file {
color: #B00;
}
</style>
<body>
<div class='content'>
<h3>
Raymond Toy pushed to branch master
at <a href="https://gitlab.common-lisp.net/cmucl/cmucl">cmucl / cmucl</a>
</h3>
<h4>
Commits:
</h4>
<ul>
<li>
<strong><a href="https://gitlab.common-lisp.net/cmucl/cmucl/commit/23209c84b2cb01f8b93a046dcd31be90d61d0531">23209c84</a></strong>
<div>
<span>by Raymond Toy</span>
<i>at 2016-01-23T14:28:45Z</i>
</div>
<pre class='commit-message'>Add orps and orpd SSE2 instructions.</pre>
</li>
<li>
<strong><a href="https://gitlab.common-lisp.net/cmucl/cmucl/commit/187d987edee54378c260c41b113e5cc99454e146">187d987e</a></strong>
<div>
<span>by Raymond Toy</span>
<i>at 2016-01-23T14:31:09Z</i>
</div>
<pre class='commit-message'>Use SSE2 instructions for MAKE-DOUBLE-FLOAT
Instead of storing the high and low words to memory and then loading
it into the double-reg, use SSE2 instructions to directly create the
double-float from the high and low words.</pre>
</li>
</ul>
<h4>2 changed files:</h4>
<ul>
<li class='file-stats'>
<a href='#diff-0'>
src/compiler/x86/float-sse2.lisp
</a>
</li>
<li class='file-stats'>
<a href='#diff-1'>
src/compiler/x86/insts.lisp
</a>
</li>
</ul>
<h4>Changes:</h4>
<li id='diff-0'>
<a href='https://gitlab.common-lisp.net/cmucl/cmucl/compare/351351dfc04be5578dc76650c82f501ae704db28...187d987edee54378c260c41b113e5cc99454e146#diff-0'>
<strong>
src/compiler/x86/float-sse2.lisp
</strong>
</a>
<hr>
<pre class="highlight"><code><span style="color: #000000;background-color: #ffdddd">--- a/src/compiler/x86/float-sse2.lisp
</span><span style="color: #000000;background-color: #ddffdd">+++ b/src/compiler/x86/float-sse2.lisp
</span><span style="color: #aaaaaa">@@ -1178,21 +1178,22 @@
</span> (inst movd res bits)))))))
(define-vop (make-double-float)
<span style="color: #000000;background-color: #ffdddd">- (:args (hi-bits :scs (signed-reg))
- (lo-bits :scs (unsigned-reg)))
</span><span style="color: #000000;background-color: #ddffdd">+ (:args (hi-bits :scs (signed-reg)
+ :load-if (not (sc-is hi-bits signed-stack)))
+ (lo-bits :scs (unsigned-reg)
+ :load-if (not (sc-is lo-bits signed-stack))))
</span> (:results (res :scs (double-reg)))
<span style="color: #000000;background-color: #ffdddd">- (:temporary (:sc double-stack) temp)
</span> (:arg-types signed-num unsigned-num)
(:result-types double-float)
(:translate make-double-float)
<span style="color: #000000;background-color: #ddffdd">+ (:temporary (:sc double-reg) temp)
</span> (:policy :fast-safe)
(:vop-var vop)
<span style="color: #000000;background-color: #ffdddd">- (:generator 2
- (let ((offset (1+ (tn-offset temp))))
- (storew hi-bits ebp-tn (- offset))
- (storew lo-bits ebp-tn (- (1+ offset)))
- (inst movsd res (make-ea :dword :base ebp-tn
- :disp (- (* (1+ offset) word-bytes)))))))
</span><span style="color: #000000;background-color: #ddffdd">+ (:generator 4
+ (inst movd temp hi-bits)
+ (inst psllq temp 32)
+ (inst movd res lo-bits)
+ (inst orpd res temp)))
</span>
(define-vop (single-float-bits)
</code></pre>
<br>
</li>
<li id='diff-1'>
<a href='https://gitlab.common-lisp.net/cmucl/cmucl/compare/351351dfc04be5578dc76650c82f501ae704db28...187d987edee54378c260c41b113e5cc99454e146#diff-1'>
<strong>
src/compiler/x86/insts.lisp
</strong>
</a>
<hr>
<pre class="highlight"><code><span style="color: #000000;background-color: #ffdddd">--- a/src/compiler/x86/insts.lisp
</span><span style="color: #000000;background-color: #ddffdd">+++ b/src/compiler/x86/insts.lisp
</span><span style="color: #aaaaaa">@@ -3146,6 +3146,8 @@
</span> ;; logical
(define-regular-sse-inst andpd #x66 #x54 t)
(define-regular-sse-inst andps nil #x54)
<span style="color: #000000;background-color: #ddffdd">+ (define-regular-sse-inst orpd #x66 #x56 t)
+ (define-regular-sse-inst orps nil #x56)
</span> (define-regular-sse-inst xorpd #x66 #x57 t)
(define-regular-sse-inst xorps nil #x57)
;; comparison
</code></pre>
<br>
</li>
</div>
<div class='footer' style='margin-top: 10px;'>
<p>
—
<br>
<a href="https://gitlab.common-lisp.net/cmucl/cmucl/compare/351351dfc04be5578dc76650c82f501ae704db28...187d987edee54378c260c41b113e5cc99454e146">View it on GitLab</a>.
<br>
You're receiving this email because of your account on gitlab.common-lisp.net.
If you'd like to receive fewer emails, you can adjust your notification settings.
</p>
</div>
</body>
</html>