v8/test/cctest
Miran.Karic de14ba9fd2 MIPS: Fix Subu and add optimization
For int16 imm values Subu would emit addiu with -imm value, but doing
this with min_int16 would overflow and produce incorrect result. This is
fixed by checking if -imm is int16. A test for this case is created.

An optimization is also added for values imm where we cannot just emit
addiu and loading -imm to a register takes one instruction using ori.
Then instead of loading imm with lui;ori and subtracting with subu, we
can load -imm with ori and add with addu.

BUG=
TEST=cctest/test-assembler-mips/Subu

Review-Url: https://codereview.chromium.org/2845043002
Cr-Commit-Position: refs/heads/master@{#44932}
2017-04-27 12:56:50 +00:00
..
asmjs [wasm] Add some more owners, clean up old ones. 2017-04-17 18:41:35 +00:00
compiler [arm64] Support passing more than eight arguments to C functions 2017-04-21 09:30:14 +00:00
ffi [iwyu] Pre-work for removing unallowed include macro-assembler.h -> assembler-inl.h 2017-02-23 12:10:21 +00:00
heap Decouple root visitors from object visitors. 2017-04-25 13:32:18 +00:00
interpreter [intl] Reorganize code 2017-04-24 13:54:15 +00:00
libplatform [Tracing] Support multi-categories group list. 2016-12-08 00:28:18 +00:00
libsampler Include only stuff you need, part 6: Fix cctest.h. 2016-09-01 12:02:16 +00:00
parsing [parser] Skipping inner funcs: minor fixes. 2017-04-19 13:29:40 +00:00
wasm Revert "[wasm] Add guard pages before Wasm Memory" 2017-04-26 20:57:35 +00:00
ast-types-fuzz.h Remove SIMD.js from V8. 2017-02-14 06:57:25 +00:00
BUILD.gn [wasm] Move wasm-macro-gen.h to test/common/wasm 2017-04-25 11:59:48 +00:00
cctest_exe.isolate
cctest.cc [cctest] Fix typo in enum value name 2017-04-25 00:23:31 +00:00
cctest.gyp [wasm] Move wasm-macro-gen.h to test/common/wasm 2017-04-25 11:59:48 +00:00
cctest.h [api] fix incorrect parameter end position in CompileFunctionInContext 2017-04-03 14:16:57 +00:00
cctest.isolate
cctest.status [mips] Skip flaky test-cpu-profiler/JsNativeJsRuntimeJsSampleMultiple 2017-04-25 00:38:06 +00:00
DEPS
expression-type-collector-macros.h
gay-fixed.cc
gay-fixed.h
gay-precision.cc
gay-precision.h
gay-shortest.cc
gay-shortest.h
log-eq-of-logging-and-traversal.js
OWNERS
print-extension.cc
print-extension.h
profiler-extension.cc
profiler-extension.h
scope-test-helper.h [parser] Skipping inner funcs: collect data needed for allocation, not the allocation result. 2017-03-07 14:23:14 +00:00
setup-isolate-for-tests.cc Reland "[snapshot] Move builtins generation into mksnapshot" 2017-04-07 13:31:29 +00:00
setup-isolate-for-tests.h Reland "[snapshot] Move builtins generation into mksnapshot" 2017-04-07 13:31:29 +00:00
test-access-checks.cc Fix receiver checks for v8::Function on a remote context receiver. 2017-02-22 10:13:24 +00:00
test-accessor-assembler.cc [ic] Cleanup accessor handling, fix cached property on global, remove cache-on-prototype support 2017-03-15 16:42:51 +00:00
test-accessors.cc [test] Make CHECK_EQ calls in cctest consistent. 2017-02-07 14:20:02 +00:00
test-api-accessors.cc Remove experimental fast accessor builder API 2017-03-14 08:14:48 +00:00
test-api-interceptors.cc Drop UniqueId from include/v8.h 2017-03-06 10:58:01 +00:00
test-api.cc Add setter to Isolate for allowing Atomics.wait 2017-04-24 19:08:22 +00:00
test-api.h Include only stuff you need, part 6: Fix cctest.h. 2016-09-01 12:02:16 +00:00
test-array-list.cc Rename TypeFeedbackVector to FeedbackVector. 2017-02-07 14:46:36 +00:00
test-assembler-arm64.cc Revert "Reland "ARM64: Add NEON support"" 2017-04-15 10:27:17 +00:00
test-assembler-arm.cc [WASM SIMD] Implement horizontal add for float and integer types. 2017-04-24 18:53:16 +00:00
test-assembler-ia32.cc [test] Make CHECK_EQ calls in cctest consistent. 2017-02-07 14:20:02 +00:00
test-assembler-mips64.cc MIPS64: Move load/store instructions to macro-assembler. 2017-04-20 13:45:05 +00:00
test-assembler-mips.cc MIPS: Fix Subu and add optimization 2017-04-27 12:56:50 +00:00
test-assembler-ppc.cc
test-assembler-s390.cc s390: use new mul instruction 2017-02-13 18:50:35 +00:00
test-assembler-x64.cc [iwyu] Pre-work for removing unallowed include macro-assembler.h -> assembler-inl.h 2017-02-23 12:10:21 +00:00
test-assembler-x87.cc [test] Make CHECK_EQ calls in cctest consistent. 2017-02-07 14:20:02 +00:00
test-ast-types.cc Rename TypeFeedbackVector to FeedbackVector. 2017-02-07 14:46:36 +00:00
test-ast.cc [Parser] Introduce AstStringConstants to share constants across AstValueFactory 2017-01-17 10:20:47 +00:00
test-atomicops.cc Reland Update implementation of atomics with latest Chromium version but use compiler builtin atomics 2016-10-21 10:05:42 +00:00
test-bignum-dtoa.cc
test-bignum.cc
test-bit-vector.cc Named all zones in the project 2016-10-17 12:12:42 +00:00
test-circular-queue.cc
test-code-cache.cc [ic] Cleanup accessor handling, fix cached property on global, remove cache-on-prototype support 2017-03-15 16:42:51 +00:00
test-code-layout.cc Rename TypeFeedbackVector to FeedbackVector. 2017-02-07 14:46:36 +00:00
test-code-stub-assembler.cc [builtins] Improve performance of array.prototype.filter and map. 2017-04-24 12:47:24 +00:00
test-code-stubs-arm64.cc [iwyu|arm64] Pre-work for removing the illegal include macro-assembler.h -> assembler-inl.h 2017-03-15 12:08:50 +00:00
test-code-stubs-arm.cc [iwyu|arm] Pre-work for removing unallowed include macro-assembler.h -> assembler-inl.h 2017-02-28 13:31:30 +00:00
test-code-stubs-ia32.cc
test-code-stubs-mips64.cc MIPS64: Move load/store instructions to macro-assembler. 2017-04-20 13:45:05 +00:00
test-code-stubs-mips.cc MIPS: Move ldc1/sdc1 to macro-assembler. 2017-03-21 11:35:40 +00:00
test-code-stubs-x64.cc [iwyu] Pre-work for removing unallowed include macro-assembler.h -> assembler-inl.h 2017-02-23 12:10:21 +00:00
test-code-stubs-x87.cc
test-code-stubs.cc [iwyu] Pre-work for removing unallowed include macro-assembler.h -> assembler-inl.h 2017-02-23 12:10:21 +00:00
test-code-stubs.h
test-compiler.cc [api] Fix harmony formatting for CompileFunctionInContext 2017-04-03 20:05:06 +00:00
test-constantpool.cc
test-conversions.cc Rename TypeFeedbackVector to FeedbackVector. 2017-02-07 14:46:36 +00:00
test-cpu-profiler.cc Revert of [profiler] reduce incorrectly unaccounted ticks. (patchset #4 id:60001 of https://codereview.chromium.org/2799603005/ ) 2017-04-07 08:23:42 +00:00
test-date.cc [intl] Reorganize code 2017-04-24 13:54:15 +00:00
test-debug.cc [debug] additional checks for built-ins calling runtime functions. 2017-04-24 13:21:50 +00:00
test-decls.cc [runtime] Intercept function declarations. 2016-09-15 15:48:34 +00:00
test-deoptimization.cc [iwyu] Pre-work for removing unallowed include macro-assembler.h -> assembler-inl.h 2017-02-23 12:10:21 +00:00
test-dictionary.cc [iwyu] Pre-work for removing unallowed include macro-assembler.h -> assembler-inl.h 2017-02-23 12:10:21 +00:00
test-disasm-arm64.cc Revert "Reland "ARM64: Add NEON support"" 2017-04-15 10:27:17 +00:00
test-disasm-arm.cc [WASM SIMD] Implement horizontal add for float and integer types. 2017-04-24 18:53:16 +00:00
test-disasm-ia32.cc [ia32] Add minps/maxps and AVX v_ps/v_pd for add/sub/mul/div/min/max 2017-03-15 02:01:05 +00:00
test-disasm-mips64.cc MIPS[64]: Support for MSA instructions 2017-03-27 13:20:35 +00:00
test-disasm-mips.cc MIPS[64]: Support for MSA instructions 2017-03-27 13:20:35 +00:00
test-disasm-ppc.cc
test-disasm-s390.cc
test-disasm-x64.cc [wasm] Implement wasm x64 I16x8 Ops 2017-04-17 18:47:46 +00:00
test-disasm-x87.cc
test-diy-fp.cc
test-double.cc
test-dtoa.cc
test-elements-kind.cc [iwyu] Pre-work for removing unallowed include macro-assembler.h -> assembler-inl.h 2017-02-23 12:10:21 +00:00
test-experimental-extra.js
test-extra.js Add isPromise V8 extras util 2017-04-06 13:16:35 +00:00
test-fast-dtoa.cc
test-feedback-vector.cc [ic] Split StoreIC into StoreGlobalIC and StoreIC. 2017-03-24 07:45:14 +00:00
test-feedback-vector.h Link type feedback vectors to the shared function info. 2017-02-08 08:33:33 +00:00
test-field-type-tracking.cc [runtime] Prototype const-to-mutable field migrations without deprecating maps. 2017-03-09 12:26:12 +00:00
test-fixed-dtoa.cc
test-flags.cc [test] Make CHECK_EQ calls in cctest consistent. 2017-02-07 14:20:02 +00:00
test-func-name-inference.cc [iwyu] Remove include debug.h -> arguments.h 2017-02-09 09:19:23 +00:00
test-fuzz-arm64.cc
test-global-handles.cc Drop UniqueId from include/v8.h 2017-03-06 10:58:01 +00:00
test-global-object.cc include fixing: api.h shouldn't include objects-inl.h 2017-01-09 13:43:28 +00:00
test-hashing.cc [iwyu|arm64] Pre-work for removing the illegal include macro-assembler.h -> assembler-inl.h 2017-03-15 12:08:50 +00:00
test-hashmap.cc Instead of having a hashmap with a function pointer defining its 2016-09-30 16:17:06 +00:00
test-heap-profiler.cc Remove unused Box type 2017-02-17 10:06:22 +00:00
test-hydrogen-types.cc
test-identity-map.cc [IdentityMap] Remove ability to delete entries during iteration. 2017-03-06 21:15:20 +00:00
test-inobject-slack-tracking.cc [runtime] Feed back normalization to constructors (behind flag) 2017-02-27 13:56:14 +00:00
test-javascript-arm64.cc include fixing: api.h shouldn't include objects-inl.h 2017-01-09 13:43:28 +00:00
test-js-arm64-variables.cc include fixing: api.h shouldn't include objects-inl.h 2017-01-09 13:43:28 +00:00
test-list.cc Include only stuff you need, part 6: Fix cctest.h. 2016-09-01 12:02:16 +00:00
test-liveedit.cc include fixing: api.h shouldn't include objects-inl.h 2017-01-09 13:43:28 +00:00
test-lockers.cc include fixing: api.h shouldn't include objects-inl.h 2017-01-09 13:43:28 +00:00
test-log-stack-tracer.cc [iwyu] Pre-work for removing unallowed include macro-assembler.h -> assembler-inl.h 2017-02-23 12:10:21 +00:00
test-log.cc [profiler] Web UI: add summary of opts/deopts. 2017-03-22 16:02:25 +00:00
test-macro-assembler-arm.cc [WASM SIMD] Implement primitive shuffles. 2017-04-19 22:18:06 +00:00
test-macro-assembler-ia32.cc
test-macro-assembler-mips64.cc MIPS64: Move load/store instructions to macro-assembler. 2017-04-20 13:45:05 +00:00
test-macro-assembler-mips.cc MIPS: Move ldc1/sdc1 to macro-assembler. 2017-03-21 11:35:40 +00:00
test-macro-assembler-x64.cc [iwyu] Pre-work for removing unallowed include macro-assembler.h -> assembler-inl.h 2017-02-23 12:10:21 +00:00
test-macro-assembler-x87.cc
test-managed.cc [wasm] Managed<T> ensures T's lifetime does not leak past Isolate's 2017-02-21 17:23:38 +00:00
test-mementos.cc Rename TypeFeedbackVector to FeedbackVector. 2017-02-07 14:46:36 +00:00
test-modules.cc [modules] Allow resolve-callback to signal failure. 2017-04-19 18:28:09 +00:00
test-object.cc Remove SIMD.js from V8. 2017-02-14 06:57:25 +00:00
test-parsing.cc [parser] avoid complex for-loop desugaring when possible 2017-04-19 19:08:40 +00:00
test-platform-linux.cc
test-platform-win32.cc
test-platform.cc
test-profile-generator.cc [compiler] Always use deopt count for disabling optimization 2017-04-13 13:41:26 +00:00
test-random-number-generator.cc Include only stuff you need, part 6: Fix cctest.h. 2016-09-01 12:02:16 +00:00
test-regexp.cc [regexp] Fold repeated assertions 2017-03-22 09:28:28 +00:00
test-representation.cc [turbofan] put src/types.[h/cc] into src/compiler/types.[h/cc] 2016-09-05 15:58:45 +00:00
test-run-wasm-relocation-arm64.cc Disentangle assembler from isolate. 2017-03-17 11:18:06 +00:00
test-run-wasm-relocation-arm.cc Disentangle assembler from isolate. 2017-03-17 11:18:06 +00:00
test-run-wasm-relocation-ia32.cc Disentangle assembler from isolate. 2017-03-17 11:18:06 +00:00
test-run-wasm-relocation-x64.cc Disentangle assembler from isolate. 2017-03-17 11:18:06 +00:00
test-run-wasm-relocation-x87.cc [wasm] Fix code specialization for empty memory buffer 2017-03-06 13:39:54 +00:00
test-sampler-api.cc Include only stuff you need, part 6: Fix cctest.h. 2016-09-01 12:02:16 +00:00
test-serialize.cc Revert of [serializer/debugger] hide scripts in the snapshot from the debugger. (patchset #5 id:80001 of https://codereview.chromium.org/2826073004/ ) 2017-04-20 13:54:50 +00:00
test-simulator-arm64.cc [iwyu|arm64] Pre-work for removing the illegal include macro-assembler.h -> assembler-inl.h 2017-03-15 12:08:50 +00:00
test-simulator-arm.cc Revert "Revert of [Atomics] Implement ldaxr/stlxr instructions in ARM64 simulator (patchset #8 id:140001 of https://codereview.chromium.org/2711473002/ )" 2017-02-28 03:31:39 +00:00
test-strings.cc Remove Factory::NewStringFromASCII method. 2017-03-17 17:52:50 +00:00
test-strtod.cc
test-symbols.cc Rename TypeFeedbackVector to FeedbackVector. 2017-02-07 14:46:36 +00:00
test-thread-termination.cc Assert that context creation doesn't throw 2017-01-17 13:01:03 +00:00
test-threads.cc Include only stuff you need, part 6: Fix cctest.h. 2016-09-01 12:02:16 +00:00
test-trace-event.cc [tracing] Avoid Gcc compilation fail by declaring AddTraceEvent function in Class derived from Platform Class. 2016-09-28 08:47:33 +00:00
test-traced-value.cc [tracing] Use locale independent writer for FP values. 2017-01-12 08:08:57 +00:00
test-transitions.cc [runtime][ic] Constant field tracking support. 2017-02-10 08:05:25 +00:00
test-typedarrays.cc include fixing: api.h shouldn't include objects-inl.h 2017-01-09 13:43:28 +00:00
test-types.cc [turbofan] Introduce a dedicated Array type. 2017-04-18 12:12:27 +00:00
test-unbound-queue.cc
test-unboxed-doubles.cc Eagerly force GC in a few cctests to avoid spurious nosnap failures 2017-04-25 00:37:20 +00:00
test-unique.cc Rename TypeFeedbackVector to FeedbackVector. 2017-02-07 14:46:36 +00:00
test-unscopables-hidden-prototype.cc
test-usecounters.cc [counters] Add UseCounters for 'f() = 0' syntax 2016-12-27 17:48:40 +00:00
test-utils-arm64.cc Revert "Reland "ARM64: Add NEON support"" 2017-04-15 10:27:17 +00:00
test-utils-arm64.h Revert "Reland "ARM64: Add NEON support"" 2017-04-15 10:27:17 +00:00
test-utils.cc Allow C++11 in unittests. 2017-03-10 06:35:51 +00:00
test-version.cc Revert of [build] Introduce an embedder version string (patchset #3 id:40001 of https://codereview.chromium.org/2619213002/ ) 2017-01-21 22:36:54 +00:00
test-weakmaps.cc Rename TypeFeedbackVector to FeedbackVector. 2017-02-07 14:46:36 +00:00
test-weaksets.cc Rename TypeFeedbackVector to FeedbackVector. 2017-02-07 14:46:36 +00:00
testcfg.py
trace-extension.cc
trace-extension.h
types-fuzz.h [turbofan] HeapConstant types should compare by handle address 2016-10-08 16:51:53 +00:00
unicode-helpers.h [parser/test] Move cctest/PreParserScopeAnalysis into a new file. 2017-02-07 10:11:01 +00:00