commit | 12e3ba76f14e4f19c3a36e305fef69f0133e3ccc | [log] [tgz] |
---|---|---|
author | Brian Carlstrom <bdc@google.com> | Wed Jun 11 17:02:40 2014 +0000 |
committer | Android Git Automerger <android-git-automerger@android.com> | Wed Jun 11 17:02:40 2014 +0000 |
tree | da877ec74d8551ce2349aeb9399517193531c3d5 | |
parent | bea20880eac82fcc253e2546aa6f2fed60ea3d81 [diff] | |
parent | 0dabae76535d3ba22efb188524a6c872cd1bd0c8 [diff] |
am 0dabae76: Add LOCAL_ADDITIONAL_DEPENDENCIES to avoid need for CleanSpec.mk * commit '0dabae76535d3ba22efb188524a6c872cd1bd0c8': Add LOCAL_ADDITIONAL_DEPENDENCIES to avoid need for CleanSpec.mk
Contents:
To build VIXL the following software is required:
A 64-bit host machine is required, implementing an LP64 data model. VIXL has only been tested using GCC on Ubuntu systems.
To run the linter stage of the tests, the following software is also required:
Refer to the 'Usage' section for details.
VIXL is made of three components.
The VIXL git repository can be found on GitHub. Changes from previous versions of VIXL can be found in the Changelog.
VIXL was developed to target JavaScript engines so a number of features from A64 were deemed unnecessary:
The VIXL simulator supports only those instructions that the VIXL assembler can generate. The doc
directory contains a list of supported instructions.
The VIXL simulator was developed to run on 64-bit amd64 platforms. Whilst it builds and mostly works for 32-bit x86 platforms, there are a number of floating-point operations which do not work correctly, and a number of tests fail as a result.
The helper script tools/presubmit.py
will build and run every test that is provided with VIXL, in both release and debug mode. It is a useful script for verifying that all of VIXL's dependencies are in place and that VIXL is working as it should.
By default, the tools/presubmit.py
script runs a linter to check that the source code conforms with the code style guide, and to detect several common errors that the compiler may not warn about. This is most useful for VIXL developers. The linter has the following dependencies:
git clone
.cpplint.py
, as provided by Google, must be available (and executable) on the PATH
. Only revision 104 has been tested with VIXL.It is possible to tell tools/presubmit.py
to skip the linter stage by passing --nolint
. This removes the dependency on cpplint.py
and Git. The --nolint
option is implied if the VIXL project is a snapshot (with no .git
directory).
There are two very basic benchmarks provided with VIXL:
To build one benchmark: scons target=bench_xxx
, then run it as ./bench_xxx_sim <number of iterations>
. The benchmarks do not report a figure; they should be timed using the time
command.
A short introduction to using VIXL can be found here. Example source code is provided in the examples
directory. Build this using scons target=examples
from the root directory.