<html>
    <head>
      <base href="https://llvm.org/bugs/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - Parameter passing error on PowerPC"
   href="https://llvm.org/bugs/show_bug.cgi?id=28077">28077</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Parameter passing error on PowerPC
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>new-bugs
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>trunk
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>PC
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>P
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>new bugs
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>unassignedbugs@nondot.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>carlo.bertolli@gmail.com
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>llvm-bugs@lists.llvm.org
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=16508" name="attach_16508" title="Source exposing the bug">attachment 16508</a> <a href="attachment.cgi?id=16508&action=edit" title="Source exposing the bug">[details]</a></span>
Source exposing the bug

On a Power8 system, running ubuntu bare-metal, the attached C++ program prints

Before the call
y6 = 17.000000
y0 = 11.000000
y1 = 12.000000
y2 = 13.000000
y3 = 14.000000
y4 = 15.000000
y5 = 16.000000
z0 = 21.000000
In the callee
y6 = 0.000000
y0 = 0.000000
y1 = 12.000000
y2 = 13.000000
y3 = 14.000000
y4 = 15.000000
y5 = 23.000000
z0 = 0.000000
result is = 24.000000

This was compiled with:
clang: commit 122b63ac47a3060e05b5886347f03db8f4ef3ca7
llvm: commit 88581904012f9bac90c2c1b085ea6fe70d5a69ab

Thanks

-- carlo</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are on the CC list for the bug.</li>
      </ul>
    </body>
</html>