commit | debf7d345aa297ebedf2d3b1db234feb44c71483 | [log] [tgz] |
---|---|---|
author | Bill Schmidt <wschmidt@linux.vnet.ibm.com> | Tue Apr 02 18:37:08 2013 +0000 |
committer | Bill Schmidt <wschmidt@linux.vnet.ibm.com> | Tue Apr 02 18:37:08 2013 +0000 |
tree | 7bd30cb38b9d63a8a18299c764a5735aad53cba0 | |
parent | 423d6744123e4886f9f79f6273fa345b9cce51a8 [diff] |
Fix PR15630: Replace faulty stdcx. with stwcx. When doing a partword atomic operation, a lwarx was being paired with a stdcx. instead of a stwcx. when compiling for a 64-bit target. The target has nothing to do with it in this case; we always need a stwcx. Thanks to Kai Nacke for reporting the problem. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@178559 91177308-0d34-0410-b5e6-96231b3b80d8