v8/test
Pierre Langlois d5b29f43de [arm] Support splitting add with immediate instructions
When an immediate does not fit an add instruction we use a temporary register to
hold the value, using movw/movt to encode it. However, in order to remove a use
of r9 in TurboFan's code generator, we need to cope with no scratch registers
being available. That is to say that the destination and source registers are
the same, and `ip` is not available to use.

In this case, we can split an add instruction into a sequence of additions:
```
UseScratchRegisterScope temps(...);
Register my_scratch = temps.Acquire();
__ add(r0, r0, Operand(0xabcd); // add r0, r0, #0xcd
                                // add r0, r0, #0xab00
```

As a drive-by fix, make the disassembler test fail if we expected a different
number of instructions generated.

Bug: v8:6553
Change-Id: Ib7fcc765d28bccafe39257f47cd73f922c5873bf
Reviewed-on: https://chromium-review.googlesource.com/685014
Reviewed-by: Benedikt Meurer <bmeurer@chromium.org>
Commit-Queue: Pierre Langlois <pierre.langlois@arm.com>
Cr-Commit-Position: refs/heads/master@{#48491}
2017-10-12 08:06:35 +00:00
..
benchmarks [test] Remove deprecated test-download feature 2017-10-11 15:18:19 +00:00
cctest [arm] Support splitting add with immediate instructions 2017-10-12 08:06:35 +00:00
common [wasm] [multival] Reland: Allow function types as block types 2017-10-11 14:59:49 +00:00
debugger [test] Skip some debugger tests under stress_incremental_marking 2017-10-06 12:49:23 +00:00
fuzzer [fuzzer] Documentation: fix link for build configurations reference. 2017-10-05 16:45:12 +00:00
inspector [inspector] provisional breakpoints for anonymous script 2017-10-07 19:08:35 +00:00
intl Correct the misuse of uloc_{to,from}LanguageTag 2017-10-12 06:33:35 +00:00
js-perf-test Implement microbenchmark for has-in idiom 2017-09-13 08:48:44 +00:00
memory
message [wasm] Add flag for memory tracing 2017-10-02 08:26:26 +00:00
mjsunit [bigint] Adapt Object::BooleanValue(). 2017-10-12 07:21:48 +00:00
mkgrokdump
mozilla
preparser
promises-aplus [test] Remove deprecated test-download feature 2017-10-11 15:18:19 +00:00
test262 [regexp] Update semantics of GetSubstitution with named captures 2017-10-10 11:37:29 +00:00
unittests Reland "Reland "[wasm] trap handlers: fall back on old signal handler"" 2017-10-11 20:49:45 +00:00
wasm-spec-tests [wasm] Update spec tests 2017-10-10 11:35:50 +00:00
webkit Reland "[build] Switch windows default compilation to MSVS 2017" 2017-09-29 09:36:49 +00:00
bot_default.gyp
bot_default.isolate
BUILD.gn
default.gyp
default.isolate
optimize_for_size.gyp
optimize_for_size.isolate
perf.gyp
perf.isolate