1d451fce2580f360ef249893135526156985a85c |
|
04-Nov-2016 |
Pierre Langlois <pierre.langlois@arm.com> |
Isolate each generated tests into anonymous namespaces Generated tests all have declarations and definitions with the sames names, and in a C-like fashion we've used the `static` keywords to make sure things are local to their compilation unit. However, we cannot make a *type* local to its compilation unit in C, as it doesn't make sense. But in C++, due to the template instantiation phase, we need to be able to do that, as the compiler could create a single template instantiation for a type that is defined differently in different files. It can lead to very confusing bugs. This what the anonymous namespaces are for, they make both funcions and type definitions local to them. So this patch drops the use of C-like `static` locality in favor of a C++ anonymous namespace. Change-Id: Ic1b74b0a589c250d9e7bb77d4c4864dababc4596
/external/vixl/test/aarch32/traces/assembler-cond-rd-rn-rm-a32-smulwb.h
|
5b0cbc8d721ff369c76e09ff1e7ab878ffcae4e9 |
|
26-Sep-2016 |
Pierre Langlois <pierre.langlois@arm.com> |
Use assembler directly in generated assembler tests A recent patch taught the MacroAssembler to optimize some instructions before calling to the asssembler. These optimizations do not rely on delegates. However, this introduced failures in our assembler tests since we were relying on the MacroAssembler calling the Assembler directly, for convevience in the test generator. For example, the MacroAssembler does not generate any instructions when one calls "Add(reg, reg, 0)" for example. But of course, the Assembler should still generate an instruction and it should be tested that it does. This means we cannot get away with using the MacroAssembler in generated tests anymore. This patch changes the test generator to have assembler tests call assembler methods instead of macro-assembler methods. We still use a MacroAssembler object, but generate the instruction under test using a AssemblerAccurateScope. One major change in this patch is how we handle generating IT instructions. Of course, we could previously rely on the MacroAssembler to generate them, we now need to do it ourselves. Finally, this patch also adds an assertion in generated assembler test that actually fails the test! It seems I forgot to add it before and we didn't see the regressions, sorry about that. Change-Id: Ia904a8a11613cf33abe197858c8a8ce66e4e7add
/external/vixl/test/aarch32/traces/assembler-cond-rd-rn-rm-a32-smulwb.h
|
5e7413ae8e06eca1deeedda340d004d6f4bfb894 |
|
25-Jul-2016 |
Alexandre Rames <alexandre.rames@linaro.org> |
AArch32: Update test files after changes to test configuration. Change-Id: I8da54d5cb40686eea3d58fa1a1d2bac9b467604c
/external/vixl/test/aarch32/traces/assembler-cond-rd-rn-rm-a32-smulwb.h
|
d3832965c62a8ad461b9ea9eb0994ca6b0a3da2c |
|
04-Jul-2016 |
Alexandre Rames <alexandre.rames@linaro.org> |
Update naming to `aarch32` and `aarch64`. Change-Id: I40a929b1095ee3e1b2ca5ef879c7006d8b59acc9
/external/vixl/test/aarch32/traces/assembler-cond-rd-rn-rm-a32-smulwb.h
|