Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: rubinius/rubinius
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 04f38de0f064
Choose a base ref
...
head repository: rubinius/rubinius
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 2ceec595ac55
Choose a head ref
  • 2 commits
  • 2 files changed
  • 2 contributors

Commits on Sep 12, 2014

  1. PowerPC64 support for LLVM and Atomic

    This adds architecture-specific support for the ppc64 of the following components below:
    
    * LLVM Host CPU Name
    * Atomic macros
    Gustavo Frederico Temple Pedrosa committed Sep 12, 2014
    Copy the full SHA
    795c485 View commit details

Commits on Sep 28, 2014

  1. Merge pull request #3131 from gustavotemple/support-llvm-ppc64

    PowerPC64 support for LLVM and Atomic
    Yorick Peterse committed Sep 28, 2014
    Copy the full SHA
    2ceec59 View commit details
Showing with 5 additions and 2 deletions.
  1. +3 −0 vm/llvm/detection.cpp
  2. +2 −2 vm/util/atomic.hpp
3 changes: 3 additions & 0 deletions vm/llvm/detection.cpp
Original file line number Diff line number Diff line change
@@ -463,6 +463,9 @@ std::string rubinius::getHostCPUName() {
.Case("A2", "a2")
.Case("POWER6", "pwr6")
.Case("POWER7", "pwr7")
.Case("POWER7+", "pwr7")
.Case("POWER8", "pwr8")
.Case("POWER8E", "pwr8")
.Default(generic);
}
#elif defined(__linux__) && defined(__arm__)
4 changes: 2 additions & 2 deletions vm/util/atomic.hpp
Original file line number Diff line number Diff line change
@@ -17,7 +17,7 @@
#elif defined(__APPLE__)
#define APPLE_SYNC 1

#elif defined(_LP64) || defined(__LP64__) || defined(__x86_64__) || defined(__amd64__)
#elif (defined(_LP64) || defined(__LP64__)) && (defined(__x86_64__) || defined(__amd64__))
#define X86_SYNC 1
#define X86_64_SYNC 1

@@ -43,7 +43,7 @@

#endif

#if defined(_LP64) || defined(__LP64__) || defined(__x86_64__) || defined(__amd64__)
#if (defined(_LP64) || defined(__LP64__)) && (defined(__x86_64__) || defined(__amd64__))
#define X86_PAUSE 1

#elif defined(i386) || defined(__i386) || defined(__i386__)