History log of /external/vixl/tools/test_generator/parser.py
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
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/tools/test_generator/parser.py
b78f13911bfe6eda303e91ef215c87a165aae8ae 01-Jul-2016 Alexandre Rames <alexandre.rames@linaro.org> Add an `AUTHORS` file and update copyright notices.

Change-Id: Ifb505e5664996c1af41e38376e58ba49864213a3
/external/vixl/tools/test_generator/parser.py
88c46b84df005638546de5e4e965bdcc31352f48 02-Jun-2016 Pierre Langlois <pierre.langlois@arm.com> Add assembler, macro-assembler and disassembler support for AArch32

Add support for the A32 and T32 instruction set architectures in
seperate a32 directories.

Note that this commit introduces aarch32 and aarch64 namespaces so
existing client code will need to be adjusted.

Refer to doc/getting-started-a32.md for an introduction.

Change-Id: Iaf3e5f496ec4e19d77d304128e6920daa4549e78
/external/vixl/tools/test_generator/parser.py