<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">
<html lang="en">
<head>
<meta content="text/html; charset=US-ASCII" http-equiv="Content-Type">
<title>
GitLab
</title>



<style>img {
max-width: 100%; height: auto;
}
</style>
</head>
<body>
<div class="content">

<h3>
Ben Gamari pushed to branch wip/backports-9.0
at <a href="https://gitlab.haskell.org/ghc/ghc">Glasgow Haskell Compiler / GHC</a>
</h3>
<h4>
Commits:
</h4>
<ul>
<li>
<strong><a href="https://gitlab.haskell.org/ghc/ghc/-/commit/65ea34e932a8b42c94228bebc636730aeac1b32e">65ea34e9</a></strong>
<div>
<span>by Ben Gamari</span>
<i>at 2020-11-29T21:44:53-05:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">squash Small changes to
</pre>
</li>
</ul>
<h4>1 changed file:</h4>
<ul>
<li class="file-stats">
<a href="#d12a108e34fe83acc9c99357ae841e22a0af0a23">
compiler/GHC/StgToCmm/Prim.hs
</a>
</li>
</ul>
<h4>Changes:</h4>
<li id="d12a108e34fe83acc9c99357ae841e22a0af0a23">
<a href="https://gitlab.haskell.org/ghc/ghc/-/commit/65ea34e932a8b42c94228bebc636730aeac1b32e#d12a108e34fe83acc9c99357ae841e22a0af0a23"><strong>compiler/GHC/StgToCmm/Prim.hs</strong></a>
<hr>
<table class="code white" style="font-family: monospace; font-size: 90%;" bgcolor="#fff" width="100%" cellpadding="0" cellspacing="0">
<tr class="line_holder match" id="" style="line-height: 1.6;">
<td class="diff-line-num unfold js-unfold old_line" data-linenumber="848" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">...</td>
<td class="diff-line-num unfold js-unfold new_line" data-linenumber="848" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">...</td>
<td class="line_content match " style="padding-left: 0.5em; padding-right: 0.5em; color: rgba(0,0,0,0.3);" bgcolor="#fafafa">@@ -848,10 +848,6 @@ emitPrimOp dflags primop = case primop of</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="848" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
848
</td>
<td class="diff-line-num new_line" data-linenumber="848" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
848
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC848" class="line" lang="haskell">    <span class="n" style="color: #333;">emitPrimCall</span> <span class="p">[</span><span class="n" style="color: #333;">res</span><span class="p">]</span> <span class="p">(</span><span class="kt" style="color: #458; font-weight: 600;">MO_Xchg</span> <span class="p">(</span><span class="n" style="color: #333;">wordWidth</span> <span class="n" style="color: #333;">platform</span><span class="p">))</span> <span class="p">[</span><span class="n" style="color: #333;">src</span><span class="p">,</span> <span class="n" style="color: #333;">value</span><span class="p">]</span></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="849" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
849
</td>
<td class="diff-line-num new_line" data-linenumber="849" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
849
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC849" class="line" lang="haskell">  <span class="kt" style="color: #458; font-weight: 600;">InterlockedExchange_Word</span> <span class="o" style="font-weight: 600;">-></span> <span class="nf" style="color: #900; font-weight: 600;">\</span><span class="p">[</span><span class="n" style="color: #333;">src</span><span class="p">,</span> <span class="n" style="color: #333;">value</span><span class="p">]</span> <span class="o" style="font-weight: 600;">-></span> <span class="n" style="color: #333;">opIntoRegs</span> <span class="o" style="font-weight: 600;">$</span> <span class="nf" style="color: #900; font-weight: 600;">\</span><span class="p">[</span><span class="n" style="color: #333;">res</span><span class="p">]</span> <span class="o" style="font-weight: 600;">-></span></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="850" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
850
</td>
<td class="diff-line-num new_line" data-linenumber="850" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
850
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC850" class="line" lang="haskell">    <span class="n" style="color: #333;">emitPrimCall</span> <span class="p">[</span><span class="n" style="color: #333;">res</span><span class="p">]</span> <span class="p">(</span><span class="kt" style="color: #458; font-weight: 600;">MO_Xchg</span> <span class="p">(</span><span class="n" style="color: #333;">wordWidth</span> <span class="n" style="color: #333;">platform</span><span class="p">))</span> <span class="p">[</span><span class="n" style="color: #333;">src</span><span class="p">,</span> <span class="n" style="color: #333;">value</span><span class="p">]</span></span>
</pre>
</td>
</tr>
<tr class="line_holder old" id="" style="line-height: 1.6;">
<td class="diff-line-num old old_line" data-linenumber="851" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
851
</td>
<td class="diff-line-num new_line old" data-linenumber="851" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
 
</td>
<td class="line_content old" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#fbe9eb">
<pre style="margin: 0;">-<span id="LC851" class="line" lang="haskell">  <span class="kt" style="color: #458; font-weight: 600;">AtomicCompareExchange_Int</span> <span class="o" style="font-weight: 600;">-></span> <span class="nf" style="color: #900; font-weight: 600;">\</span><span class="p">[</span><span class="n" style="color: #333;">dst</span><span class="p">,</span> <span class="n" style="color: #333;">expected</span><span class="p">,</span> <span class="n" style="color: #333;">new</span><span class="p">]</span> <span class="o" style="font-weight: 600;">-></span> <span class="n" style="color: #333;">opIntoRegs</span> <span class="o" style="font-weight: 600;">$</span> <span class="nf" style="color: #900; font-weight: 600;">\</span><span class="p">[</span><span class="n" style="color: #333;">res</span><span class="p">]</span> <span class="o" style="font-weight: 600;">-></span></span>
</pre>
</td>
</tr>
<tr class="line_holder old" id="" style="line-height: 1.6;">
<td class="diff-line-num old old_line" data-linenumber="852" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
852
</td>
<td class="diff-line-num new_line old" data-linenumber="851" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
 
</td>
<td class="line_content old" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#fbe9eb">
<pre style="margin: 0;">-<span id="LC852" class="line" lang="haskell">    <span class="n" style="color: #333;">emitPrimCall</span> <span class="p">[</span><span class="n" style="color: #333;">res</span><span class="p">]</span> <span class="p">(</span><span class="kt" style="color: #458; font-weight: 600;">MO_Cmpxchg</span> <span class="p">(</span><span class="n" style="color: #333;">wordWidth</span> <span class="n" style="color: #333;">platform</span><span class="p">))</span> <span class="p">[</span><span class="n" style="color: #333;">dst</span><span class="p">,</span> <span class="n" style="color: #333;">expected</span><span class="p">,</span> <span class="n" style="color: #333;">new</span><span class="p">]</span></span>
</pre>
</td>
</tr>
<tr class="line_holder old" id="" style="line-height: 1.6;">
<td class="diff-line-num old old_line" data-linenumber="853" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
853
</td>
<td class="diff-line-num new_line old" data-linenumber="851" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
 
</td>
<td class="line_content old" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#fbe9eb">
<pre style="margin: 0;">-<span id="LC853" class="line" lang="haskell">  <span class="kt" style="color: #458; font-weight: 600;">AtomicCompareExchange_Addr</span> <span class="o" style="font-weight: 600;">-></span> <span class="nf" style="color: #900; font-weight: 600;">\</span><span class="p">[</span><span class="n" style="color: #333;">dst</span><span class="p">,</span> <span class="n" style="color: #333;">expected</span><span class="p">,</span> <span class="n" style="color: #333;">new</span><span class="p">]</span> <span class="o" style="font-weight: 600;">-></span> <span class="n" style="color: #333;">opIntoRegs</span> <span class="o" style="font-weight: 600;">$</span> <span class="nf" style="color: #900; font-weight: 600;">\</span><span class="p">[</span><span class="n" style="color: #333;">res</span><span class="p">]</span> <span class="o" style="font-weight: 600;">-></span></span>
</pre>
</td>
</tr>
<tr class="line_holder old" id="" style="line-height: 1.6;">
<td class="diff-line-num old old_line" data-linenumber="854" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
854
</td>
<td class="diff-line-num new_line old" data-linenumber="851" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
 
</td>
<td class="line_content old" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#fbe9eb">
<pre style="margin: 0;">-<span id="LC854" class="line" lang="haskell">    <span class="n" style="color: #333;">emitPrimCall</span> <span class="p">[</span><span class="n" style="color: #333;">res</span><span class="p">]</span> <span class="p">(</span><span class="kt" style="color: #458; font-weight: 600;">MO_Cmpxchg</span> <span class="p">(</span><span class="n" style="color: #333;">wordWidth</span> <span class="n" style="color: #333;">platform</span><span class="p">))</span> <span class="p">[</span><span class="n" style="color: #333;">dst</span><span class="p">,</span> <span class="n" style="color: #333;">expected</span><span class="p">,</span> <span class="n" style="color: #333;">new</span><span class="p">]</span></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="855" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
855
</td>
<td class="diff-line-num new_line" data-linenumber="851" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
851
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC851" class="line" lang="haskell"></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="856" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
856
</td>
<td class="diff-line-num new_line" data-linenumber="852" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
852
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC852" class="line" lang="haskell">  <span class="kt" style="color: #458; font-weight: 600;">CasAddrOp_Addr</span> <span class="o" style="font-weight: 600;">-></span> <span class="nf" style="color: #900; font-weight: 600;">\</span><span class="p">[</span><span class="n" style="color: #333;">dst</span><span class="p">,</span> <span class="n" style="color: #333;">expected</span><span class="p">,</span> <span class="n" style="color: #333;">new</span><span class="p">]</span> <span class="o" style="font-weight: 600;">-></span> <span class="n" style="color: #333;">opIntoRegs</span> <span class="o" style="font-weight: 600;">$</span> <span class="nf" style="color: #900; font-weight: 600;">\</span><span class="p">[</span><span class="n" style="color: #333;">res</span><span class="p">]</span> <span class="o" style="font-weight: 600;">-></span></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="857" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
857
</td>
<td class="diff-line-num new_line" data-linenumber="853" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
853
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC853" class="line" lang="haskell">    <span class="n" style="color: #333;">emitPrimCall</span> <span class="p">[</span><span class="n" style="color: #333;">res</span><span class="p">]</span> <span class="p">(</span><span class="kt" style="color: #458; font-weight: 600;">MO_Cmpxchg</span> <span class="p">(</span><span class="n" style="color: #333;">wordWidth</span> <span class="n" style="color: #333;">platform</span><span class="p">))</span> <span class="p">[</span><span class="n" style="color: #333;">dst</span><span class="p">,</span> <span class="n" style="color: #333;">expected</span><span class="p">,</span> <span class="n" style="color: #333;">new</span><span class="p">]</span></span>
</pre>
</td>
</tr>

</table>
<br>
</li>

</div>
<div class="footer" style="margin-top: 10px;">
<p style="font-size: small; color: #666;">

<br>
<a href="https://gitlab.haskell.org/ghc/ghc/-/commit/65ea34e932a8b42c94228bebc636730aeac1b32e">View it on GitLab</a>.
<br>
You're receiving this email because of your account on gitlab.haskell.org.
If you'd like to receive fewer emails, you can
adjust your notification settings.
<script type="application/ld+json">{"@context":"http://schema.org","@type":"EmailMessage","action":{"@type":"ViewAction","name":"View Commit","url":"https://gitlab.haskell.org/ghc/ghc/-/commit/65ea34e932a8b42c94228bebc636730aeac1b32e"}}</script>


</p>
</div>
</body>
</html>