History log of /external/vixl/examples/aarch32/disasm-a32.cc
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
1bce007699e07bd855b7d194ca93fa5504a73eda 06-Jun-2017 Pierre Langlois <pierre.langlois@arm.com> Use clang-format 3.8 to format VIXL

Additionally, this version of clang-format orders include directives
alphabetically which showed that the "non-const-visitor.h" header was missing
two of them.

Change-Id: Ib03407dd2046a0bb7175370685e09fb3aebe583f
/external/vixl/examples/aarch32/disasm-a32.cc
1075d15db3f11224e70960ed653462064018a001 02-Nov-2016 Vincent Belliard <vincent.belliard@arm.com> Rename pc to code_address for the disassembler.

Change-Id: I5e35cf27f0434bc856fe9075dae5e0a9f6e24d84
/external/vixl/examples/aarch32/disasm-a32.cc
f5348cedd702124c90fc75e75d0195e2e485c620 22-Sep-2016 Pierre Langlois <pierre.langlois@arm.com> Remove implicit 64 to 32 bit narrowing

This patch fixes cases of implicit 64 to 32 bit narrowing. The issue is
that `CodeBuffer` represents code offsets with `ptrdiff_t`, which will
be 64 bit on a 64 bit system. However, we want to support generating 32
bit code from a 64 bit program, therefore the 32 bit part of VIXL works
with `int32_t` for code offsets. We had implicit conversions happening
due to this.

We solve this by explicitely casting to `int32_t` in the AArch32
assembler when calling `GetCursorOffset`. If you are working with the
`CodeBuffer` directly, you are dealing with a code buffer on the host
and so will work with offsets as `ptrdiff_t`. But, when working with the
AArch32 assembler itself you will get offsets as `int32_t`. The
assembler is in charge of checking that the offsets it gets from the
code buffer fit into `int32_t`.

Additionally, we had narrowing cases when generally wrapping host
pointers into an Operand. This can only work if the pointer fits into 32
bits. This patch introduces a Operand::From() factory method that can be
used for converting any integral or pointer type to an immediate
operand.

Change-Id: Icc15711b34c2477ed997eef238e25496d86ea9aa
/external/vixl/examples/aarch32/disasm-a32.cc
78973f258039f6e96eba85f1b5ecdb14b3c51dbb 10-Aug-2016 Pierre Langlois <pierre.langlois@arm.com> Correctly include C headers

This patch refactors VIXL to use `extern` block when including C header
that do not have a C++ counterpart.

Change-Id: I203d7d107755dbac3e5f4cf8d2f196f70dea1e07
/external/vixl/examples/aarch32/disasm-a32.cc
2639eaa141a48adffe798f1c3c9efff84e11552e 28-Jul-2016 Alexandre Rames <alexandre.rames@linaro.org> Fix a `#ifdef` in `examples/aarch32/disasm-a32.cc`.

Change-Id: I0b4f5c397bb573da164234c890f3cff9f97c637e
/external/vixl/examples/aarch32/disasm-a32.cc
8d0ffa353a67f01b9f8f85f04b9c6d6da529aa84 25-Jul-2016 Alexandre Rames <alexandre.rames@linaro.org> Do not compile the AArch32 disassembler example on OSX.

It does not compile: it relies on ELF headers.

Change-Id: Ife8c11c4e4e9f2708f99e2c6bf8db82b021795fd
/external/vixl/examples/aarch32/disasm-a32.cc
d3832965c62a8ad461b9ea9eb0994ca6b0a3da2c 04-Jul-2016 Alexandre Rames <alexandre.rames@linaro.org> Update naming to `aarch32` and `aarch64`.

Change-Id: I40a929b1095ee3e1b2ca5ef879c7006d8b59acc9
/external/vixl/examples/aarch32/disasm-a32.cc