|
|
Description[Turbofan] Refactor GapResolver tests in preparation for FP aliasing.
- Changes tests to canonicalize FP slot/register moves, to simplify
testing any implementations that may fragment FP register moves.
- Adds code to generate correct ParallelMoves (e.g. no slot sources
of different reps overlapping.)
- Refactors test functions, so we can add manually generated tests
to current fuzzed tests.
- Adds SIMD operands, since these can be tested here now.
LOG=N
BUG=v8:4124
Committed: https://crrev.com/00ac990cc35850f36f67211faf6d8b722d7a7057
Cr-Commit-Position: refs/heads/master@{#39943}
Patch Set 1 #Patch Set 2 : Eliminate Aliasing test, fragmentation until aliasing is supported. #Patch Set 3 : Don't reorder operand creation. #Patch Set 4 : Clean up and relax slot constraints. #
Total comments: 3
Patch Set 5 : Rebase. #Messages
Total messages: 34 (27 generated)
The CQ bit was checked by bbudge@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: Try jobs failed on following builders: v8_linux_arm_rel_ng on master.tryserver.v8 (JOB_FAILED, http://build.chromium.org/p/tryserver.v8/builders/v8_linux_arm_rel_ng/builds/...) v8_linux_arm_rel_ng_triggered on master.tryserver.v8 (JOB_FAILED, http://build.chromium.org/p/tryserver.v8/builders/v8_linux_arm_rel_ng_trigger...)
The CQ bit was checked by bbudge@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: This issue passed the CQ dry run.
Description was changed from ========== [Turbofan] Modify GapResolver tests to accept fragmented moves. - Changes test to fragment FP slot/register moves into sub-moves, to accept implementations that do that. - Adds manually generated Aliasing test for specific combinations that may not be generated by FuzzResolver. LOG=N BUG=v8:4124 ========== to ========== [Turbofan] Refactor GapResolver tests in preparation for FP aliasing. - Changes test to canonicalize FP slot/register moves, to test any implementations that do that. - Refactors test running, so we can add tests beyond FuzzResolver. LOG=N BUG=v8:4124 ==========
Description was changed from ========== [Turbofan] Refactor GapResolver tests in preparation for FP aliasing. - Changes test to canonicalize FP slot/register moves, to test any implementations that do that. - Refactors test running, so we can add tests beyond FuzzResolver. LOG=N BUG=v8:4124 ========== to ========== [Turbofan] Refactor GapResolver tests in preparation for FP aliasing. - Changes tests to canonicalize FP slot/register moves, to simplify testing any implementations that may fragment FP register moves. - Adds code to generate correct ParallelMoves (e.g. no slot sources of different reps overlapping.) - Refactors test functions, so we can add manually generated tests to current fuzzed tests. - Adds SIMD operands, since these can be tested here now. LOG=N BUG=v8:4124 ==========
The CQ bit was checked by bbudge@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: This issue passed the CQ dry run.
The CQ bit was checked by bbudge@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
bbudge@chromium.org changed reviewers: + danno@chromium.org, mtrofin@chromium.org
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: This issue passed the CQ dry run.
lgtm https://codereview.chromium.org/2365983002/diff/60001/test/cctest/compiler/te... File test/cctest/compiler/test-gap-resolver.cc (right): https://codereview.chromium.org/2365983002/diff/60001/test/cctest/compiler/te... test/cctest/compiler/test-gap-resolver.cc:16: bool IsFPLocation(const InstructionOperand& op) { don't we have this defined on InstructionOperand? Or could we have it there, instead?
https://codereview.chromium.org/2365983002/diff/60001/test/cctest/compiler/te... File test/cctest/compiler/test-gap-resolver.cc (right): https://codereview.chromium.org/2365983002/diff/60001/test/cctest/compiler/te... test/cctest/compiler/test-gap-resolver.cc:16: bool IsFPLocation(const InstructionOperand& op) { On 2016/09/30 04:56:13, Mircea Trofin wrote: > don't we have this defined on InstructionOperand? Or could we have it there, > instead? Since the only usage is in this test, I just implemented it here. However, it is going to be more useful when aliasing is added, so I have another CL that adds IsFPLocation (and also IsLocation) and rearranges the types and enums to reduce the number of comparisons that we have to do in these methods. I'll send you that CL next.
The CQ bit was checked by bbudge@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: This issue passed the CQ dry run.
The CQ bit was checked by bbudge@chromium.org
The patchset sent to the CQ was uploaded after l-g-t-m from mtrofin@chromium.org Link to the patchset: https://codereview.chromium.org/2365983002/#ps80001 (title: "Rebase.")
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
https://codereview.chromium.org/2365983002/diff/60001/test/cctest/compiler/te... File test/cctest/compiler/test-gap-resolver.cc (right): https://codereview.chromium.org/2365983002/diff/60001/test/cctest/compiler/te... test/cctest/compiler/test-gap-resolver.cc:16: bool IsFPLocation(const InstructionOperand& op) { On 2016/09/30 18:16:31, bbudge wrote: > On 2016/09/30 04:56:13, Mircea Trofin wrote: > > don't we have this defined on InstructionOperand? Or could we have it there, > > instead? > > Since the only usage is in this test, I just implemented it here. However, it is > going to be more useful when aliasing is added, so I have another CL that adds > IsFPLocation (and also IsLocation) and rearranges the types and enums to reduce > the number of comparisons that we have to do in these methods. I'll send you > that CL next. I merged in the IsFPLocationOperand method from my other CL. Done.
Message was sent while issue was closed.
Description was changed from ========== [Turbofan] Refactor GapResolver tests in preparation for FP aliasing. - Changes tests to canonicalize FP slot/register moves, to simplify testing any implementations that may fragment FP register moves. - Adds code to generate correct ParallelMoves (e.g. no slot sources of different reps overlapping.) - Refactors test functions, so we can add manually generated tests to current fuzzed tests. - Adds SIMD operands, since these can be tested here now. LOG=N BUG=v8:4124 ========== to ========== [Turbofan] Refactor GapResolver tests in preparation for FP aliasing. - Changes tests to canonicalize FP slot/register moves, to simplify testing any implementations that may fragment FP register moves. - Adds code to generate correct ParallelMoves (e.g. no slot sources of different reps overlapping.) - Refactors test functions, so we can add manually generated tests to current fuzzed tests. - Adds SIMD operands, since these can be tested here now. LOG=N BUG=v8:4124 ==========
Message was sent while issue was closed.
Committed patchset #5 (id:80001)
Message was sent while issue was closed.
Description was changed from ========== [Turbofan] Refactor GapResolver tests in preparation for FP aliasing. - Changes tests to canonicalize FP slot/register moves, to simplify testing any implementations that may fragment FP register moves. - Adds code to generate correct ParallelMoves (e.g. no slot sources of different reps overlapping.) - Refactors test functions, so we can add manually generated tests to current fuzzed tests. - Adds SIMD operands, since these can be tested here now. LOG=N BUG=v8:4124 ========== to ========== [Turbofan] Refactor GapResolver tests in preparation for FP aliasing. - Changes tests to canonicalize FP slot/register moves, to simplify testing any implementations that may fragment FP register moves. - Adds code to generate correct ParallelMoves (e.g. no slot sources of different reps overlapping.) - Refactors test functions, so we can add manually generated tests to current fuzzed tests. - Adds SIMD operands, since these can be tested here now. LOG=N BUG=v8:4124 Committed: https://crrev.com/00ac990cc35850f36f67211faf6d8b722d7a7057 Cr-Commit-Position: refs/heads/master@{#39943} ==========
Message was sent while issue was closed.
Patchset 5 (id:??) landed as https://crrev.com/00ac990cc35850f36f67211faf6d8b722d7a7057 Cr-Commit-Position: refs/heads/master@{#39943} |