v8/test/unittests/compiler
georgia.kouveli fdb0f07887 [arm64] Use CMN for cmp(a,sub(0,b)) only when checking equality/inequality.
We were previously incorrectly changing:
  sub r0, 0, r1
  cmp r2, r0
  b.cond <addr>
to:
  cmn r2, r1
  b.cond <addr>

for all conditions. This is incorrect for conditions involving the C (carry)
and V (overflow) flags, and in particular in the case where r1 = INT_MIN.
The optimization is still safe to perform for Equal and NotEqual since they
do not depend on the C and V flags.

BUG=

Review-Url: https://codereview.chromium.org/2318043002
Cr-Commit-Position: refs/heads/master@{#39246}
2016-09-07 12:43:00 +00:00
..
arm [arm] Improve generation of flag setting instructions. 2016-09-05 16:18:42 +00:00
arm64 [arm64] Use CMN for cmp(a,sub(0,b)) only when checking equality/inequality. 2016-09-07 12:43:00 +00:00
ia32 [turbofan] Remove the FloatXXSubPreserveNan operators. 2016-08-08 12:09:50 +00:00
mips [turbofan] Change Float64Max/Float64Min to JavaScript semantics. 2016-07-22 08:25:11 +00:00
mips64 MIPS: [stubs,interpreter] Optimise SMI loading for 64-bit targets. 2016-08-23 09:35:51 +00:00
ppc Update PPC OWNERS 2015-07-27 21:37:55 +00:00
s390 S390: Initial test changes and files checkin. 2016-03-15 18:09:36 +00:00
x64 [turbofan/x64] Load word64 followed by a shift right 32 -> load (and sign-extend if necessary) high 32bit. 2016-08-18 11:24:56 +00:00
branch-elimination-unittest.cc [turbofan] Remove invalid typing rules. 2016-08-29 09:20:09 +00:00
checkpoint-elimination-unittest.cc [turbofan] Rename {CheckPoint} to {Checkpoint} everywhere. 2016-06-01 09:07:19 +00:00
common-operator-reducer-unittest.cc [turbofan] Fold "boolean not"-like Selects into branches. 2016-09-05 07:02:36 +00:00
common-operator-unittest.cc [turbofan] Remove IfExceptionHint from exception projections. 2016-08-02 14:49:10 +00:00
compiler-test-utils.h [turbofan] Drop V8_TURBOFAN_BACKEND and V8_TURBOFAN_TARGET defines. 2015-08-10 07:17:34 +00:00
control-equivalence-unittest.cc [tubofan] Remove .dot output of --trace-turbo 2015-12-11 16:58:31 +00:00
control-flow-optimizer-unittest.cc [turbofan] Move TryCloneBranch in the EffectControlLinearizer pass. 2016-07-12 15:23:36 +00:00
dead-code-elimination-unittest.cc [turbofan] Remove IfExceptionHint from exception projections. 2016-08-02 14:49:10 +00:00
diamond-unittest.cc [turbofan] Make MachineType a pair of enums. 2015-12-10 09:03:53 +00:00
effect-control-linearizer-unittest.cc [turbofan] Float32Constant/Float64Constant cannot occur in JS level graph. 2016-09-01 06:27:06 +00:00
escape-analysis-unittest.cc [turbofan] put src/types.[h/cc] into src/compiler/types.[h/cc] 2016-09-05 15:58:45 +00:00
graph-reducer-unittest.cc [turbofan] Remove IfExceptionHint from exception projections. 2016-08-02 14:49:10 +00:00
graph-reducer-unittest.h [turbofan] Add AdvancedReducer::ReplaceWithValue() method and convert JSInlining to an AdvancedReducer. 2015-05-12 12:41:36 +00:00
graph-trimmer-unittest.cc [turbofan] Proper dead code elimination as regular reducer. 2015-06-19 12:07:26 +00:00
graph-unittest.cc [turbofan] Get rid of type lower bounds. 2015-09-16 11:55:43 +00:00
graph-unittest.h [turbofan] Do strength reduction for ObjectIsSmi based on inputs. 2016-06-08 07:13:05 +00:00
instruction-selector-unittest.cc [turbofan] Allow tests to enable/disable instruction scheduling. 2016-08-25 08:05:15 +00:00
instruction-selector-unittest.h [turbofan] Add MachineType to LinkageLocation 2016-07-11 10:39:34 +00:00
instruction-sequence-unittest.cc [Turbofan] Revert FP register aliasing support on Arm. 2016-07-29 00:50:57 +00:00
instruction-sequence-unittest.h Replace SmartPointer<T> with unique_ptr<T> 2016-07-25 11:14:34 +00:00
int64-lowering-unittest.cc [compiler] [wasm] Introduce Word32/64ReverseBytes as TF Optional Opcode 2016-07-29 19:33:28 +00:00
js-builtin-reducer-unittest.cc [builtins] Migrate Number predicates and make them optimizable. 2016-09-07 10:14:40 +00:00
js-create-lowering-unittest.cc Store the ScopeInfo in WithContexts 2016-09-06 08:27:52 +00:00
js-intrinsic-lowering-unittest.cc [turbofan] Avoid introducing machine operators during typed lowering. 2016-07-25 10:38:00 +00:00
js-operator-unittest.cc Store the ScopeInfo in WithContexts 2016-09-06 08:27:52 +00:00
js-type-feedback-unittest.cc Separate CompilationInfo into its own file. 2016-08-31 08:49:59 +00:00
js-typed-lowering-unittest.cc [turbofan] Introduce dedicated NumberToBoolean operator. 2016-09-06 08:54:55 +00:00
linkage-tail-call-unittest.cc Fix compilation failure when v8 compiled with GCC 5.x due to -Werror=unused-variable 2016-08-05 12:56:40 +00:00
live-range-builder.h [turbofan] Make MachineType a pair of enums. 2015-12-10 09:03:53 +00:00
live-range-unittest.cc [turbofan] Make MachineType a pair of enums. 2015-12-10 09:03:53 +00:00
liveness-analyzer-unittest.cc [turbofan] Remove the JSContextRelaxation reducer. 2016-02-19 07:55:48 +00:00
load-elimination-unittest.cc [turbofan] Properly look through FinishRegion in alias analysis. 2016-09-01 10:50:27 +00:00
loop-peeling-unittest.cc [turbofan] Loop peeling with explicit loop exits. 2016-07-15 10:24:25 +00:00
machine-operator-reducer-unittest.cc [turbofan] Remove invalid typing rules. 2016-08-29 09:20:09 +00:00
machine-operator-unittest.cc [turbofan] Make Float32Neg and Float64Neg mandatory operators. 2016-08-05 18:52:05 +00:00
move-optimizer-unittest.cc [RegisterConfiguration] Streamline access to arch defaults, simplify Registers. 2016-06-27 15:31:31 +00:00
node-cache-unittest.cc [test] Turn compiler/test-node-cache into a unit test. 2015-04-29 14:40:05 +00:00
node-matchers-unittest.cc [turbofan] Support subtraction displacements in BaseWithIndexAndDisplacementMatcher 2016-07-13 08:03:38 +00:00
node-properties-unittest.cc [turbofan] Remove IfExceptionHint from exception projections. 2016-08-02 14:49:10 +00:00
node-test-utils.cc [turbofan] Introduce dedicated NumberToBoolean operator. 2016-09-06 08:54:55 +00:00
node-test-utils.h [turbofan] Introduce dedicated NumberToBoolean operator. 2016-09-06 08:54:55 +00:00
node-unittest.cc [turbofan] Speed up structural graph verification. 2016-07-12 09:31:12 +00:00
opcodes-unittest.cc [turbofan] Strength reduction for inline comparisons. 2015-02-24 12:26:29 +00:00
register-allocator-unittest.cc [turbofan] Retiring Greedy Allocator 2016-06-13 04:24:12 +00:00
schedule-unittest.cc Model exceptional edges from call nodes in TurboFan. 2015-02-20 09:55:00 +00:00
scheduler-rpo-unittest.cc Replace SmartPointer<T> with unique_ptr<T> 2016-07-25 11:14:34 +00:00
scheduler-unittest.cc [turbofan] Remove IfExceptionHint from exception projections. 2016-08-02 14:49:10 +00:00
simplified-operator-reducer-unittest.cc [turbofan] put src/types.[h/cc] into src/compiler/types.[h/cc] 2016-09-05 15:58:45 +00:00
simplified-operator-unittest.cc [turbofan] put src/types.[h/cc] into src/compiler/types.[h/cc] 2016-09-05 15:58:45 +00:00
state-values-utils-unittest.cc [turbofan] Move SimplifiedOperatorBuilder into JSGraph. 2015-10-16 12:38:52 +00:00
tail-call-optimization-unittest.cc [turbofan] Remove IfExceptionHint from exception projections. 2016-08-02 14:49:10 +00:00
typed-optimization-unittest.cc [turbofan] Separate typed optimizations from JSTypedLowering. 2016-08-26 07:58:30 +00:00
typer-unittest.cc [turbofan] Simplify BinaryOperationHints and CompareOperationHints. 2016-08-09 18:12:08 +00:00
value-numbering-reducer-unittest.cc [turbofan] Make sure value numbering only narrows types. 2016-07-14 08:10:21 +00:00
zone-pool-unittest.cc Expose a lower bound of malloc'd memory via heap statistics 2016-04-01 10:01:56 +00:00