1. 20 Sep, 2016 3 commits
  2. 19 Sep, 2016 3 commits
  3. 18 Sep, 2016 2 commits
    • Subzero, MIPS32: Floating point support in ELF output · 132ea7a5
      Srdjan Obucina authored
      Patch implements improvements and instruction encodings for many COP1 instructions for handling floating point values.
      
      Patch covers load, store, basic arithmetic, data movement for FPR<->FPR, GPR<->FPR, FPR<->GPR, and format conversion instructinos.
      
      Added instruction encodings:
      Load: lb, lh, lwc1, ldc1
      Store: sb, sh, swc1, sdc1
      FP arith: abs_d, abs_s, add_d, add_s, div_d, div_s, mul_d, mul_s, sqrt_d, sqrt_s, sub_d, sub_s
      FP movs: mfc1, mov_d, mov_s, movn_d, movn_s, movz_d, movz_s, mtc1
      Conversion: cvt_d_l, cvt_d_s, cvt_d_w, cvt_s_d, cvt_s_l, cvt_s_w, trunc_l_d, trunc_l_s, trunc_w_d, trunc_w_s
      
      R=stichnot@chromium.org
      
      Review URL: https://codereview.chromium.org/2341713003 .
      
      Patch from Srdjan Obucina <Srdjan.Obucina@imgtec.com>.
    • Subzero, MIPS32: nacl-other-intrinsics-mips merged to original file · 40fc8193
      Srdjan Obucina authored
      With fix related to stack alignment bytes increasing, it is
      possible to return mips tests from nacl-other-intrinsics-mips
      to its original place. However, with existing vector test, O2 test
      had to be turned off. This does not affect anything imortant,
      because it only tested one case (test_sqrt_ignored).
      
      R=stichnot@chromium.org
      
      Review URL: https://codereview.chromium.org/2342083003 .
      
      Patch from Srdjan Obucina <Srdjan.Obucina@imgtec.com>.
  4. 16 Sep, 2016 2 commits
  5. 14 Sep, 2016 5 commits
  6. 13 Sep, 2016 4 commits
  7. 11 Sep, 2016 1 commit
  8. 10 Sep, 2016 1 commit
  9. 09 Sep, 2016 6 commits
  10. 08 Sep, 2016 2 commits
  11. 07 Sep, 2016 5 commits
  12. 04 Sep, 2016 1 commit
  13. 02 Sep, 2016 4 commits
    • Simplify ClFlags macro for older C++ standards. · a0b720de
      Nicolas Capens authored
      Visual Studio 2015 does not support the use of typename outside of a
      template definition. Instead alias the flag's storage type. This
      even avoids some duplication.
      
      BUG=swiftshader:7
      
      Change-Id: I787701f6bfe8e36169e6ac5d63fcb6a1a114bdb0
    • Subzero: Add the MIPS=1 makefile option for alternate testing mode. · cc8bc16f
      Jim Stichnoth authored
      There are two problems to address:
      
      1. Google developers lack some tooling to test MIPS changes.
      
      2. MIPS developers lack some tooling/packages to allow full "make presubmit" testing.
      
      Until all this gets sorted out, we add the "make -f Makefile.standalone MIPS=1" option to control some of the testing targets:
      
      check-lit: No changes, as all these lit tests should be runnable in both environments.
      
      check-xtest: MIPS=1 runs just the mips32 tests, plus the x8664 native tests as a sanity-check.  Non-MIPS runs everything except the mips32 tests.
      
      check-spec: MIPS=1 completely disables spec2k testing.
      
      presubmit: MIPS=1 greatly reduces the number of tests (especially since so many are spec variants).
      
      With this change, mips32 CLs should pass "make -f Makefile.standalone MIPS=1 presubmit" before upload, and other CLs should pass "make -f Makefile.standalone presubmit".
      
      BUG= none
      R=kschimpf@google.com, obucinac@gmail.com
      
      Review URL: https://codereview.chromium.org/2271053006 .
    • Implement ICE_CACHELINE_BOUNDARY for Visual Studio. · d5e7cafb
      Nicolas Capens authored
      BUG=swiftshader:7
      
      Change-Id: I1c40c10b3c3d032d3f7e0f8634c7c9abcc21d130
  14. 31 Aug, 2016 1 commit
    • Subzero: Deterministically sort local var stack offsets. · 53dae72a
      Jim Stichnoth authored
      Currently, TargetLowering::sortVarsByAlignment() uses the variable's required alignment as the primary key, but then std::sort() breaks ties arbitrarily.  This can give different results across different STL implementations, for example when building against LLVM trunk versus building in the PNaCl environment.
      
      The fix is to use Variable::Number as the secondary key.
      
      BUG= none
      R=kschimpf@google.com
      
      Review URL: https://codereview.chromium.org/2295393002 .