mirror of
https://github.com/FEX-Emu/vixl.git
synced 2025-02-13 10:54:06 +00:00
Sort and fix #include
directives.
Includes are sorted into groups, each sorted alphabetically and separated by a blank line. The groups are, in order, C headers, C++ headers, VIXL (non-backend) headers, and VIXL backend headers. Change-Id: I9a71430bffeaf77389a089487ce264db8d1d9ddc
This commit is contained in:
parent
1f9074de15
commit
b68bacb75c
@ -24,10 +24,11 @@
|
||||
// OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
#include "a64/macro-assembler-a64.h"
|
||||
#include "a64/instructions-a64.h"
|
||||
#include "globals-vixl.h"
|
||||
|
||||
#include "a64/instructions-a64.h"
|
||||
#include "a64/macro-assembler-a64.h"
|
||||
|
||||
using namespace vixl;
|
||||
|
||||
static const int kDefaultIterationsCount = 100000;
|
||||
|
@ -24,10 +24,11 @@
|
||||
// OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
#include "a64/macro-assembler-a64.h"
|
||||
#include "a64/instructions-a64.h"
|
||||
#include "globals-vixl.h"
|
||||
|
||||
#include "a64/instructions-a64.h"
|
||||
#include "a64/macro-assembler-a64.h"
|
||||
|
||||
using namespace vixl;
|
||||
|
||||
static const int kDefaultInstructionCount = 100000;
|
||||
|
@ -26,8 +26,8 @@
|
||||
|
||||
#include "globals-vixl.h"
|
||||
|
||||
#include "a64/macro-assembler-a64.h"
|
||||
#include "a64/instructions-a64.h"
|
||||
#include "a64/macro-assembler-a64.h"
|
||||
|
||||
using namespace vixl;
|
||||
|
||||
|
@ -24,10 +24,11 @@
|
||||
// OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
#include "a64/macro-assembler-a64.h"
|
||||
#include "a64/instructions-a64.h"
|
||||
#include "globals-vixl.h"
|
||||
|
||||
#include "a64/instructions-a64.h"
|
||||
#include "a64/macro-assembler-a64.h"
|
||||
|
||||
using namespace vixl;
|
||||
|
||||
static const int kDefaultInstructionCount = 100000;
|
||||
|
@ -24,10 +24,11 @@
|
||||
// OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
#include "a64/macro-assembler-a64.h"
|
||||
#include "a64/instructions-a64.h"
|
||||
#include "globals-vixl.h"
|
||||
|
||||
#include "a64/instructions-a64.h"
|
||||
#include "a64/macro-assembler-a64.h"
|
||||
|
||||
using namespace vixl;
|
||||
|
||||
static const unsigned kDefaultInstructionCount = 100000;
|
||||
|
@ -24,8 +24,8 @@
|
||||
// OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
#include "examples.h"
|
||||
#include "custom-disassembler.h"
|
||||
#include "examples.h"
|
||||
|
||||
|
||||
#define BUF_SIZE (4096)
|
||||
|
@ -27,7 +27,6 @@
|
||||
#ifndef VIXL_EXAMPLE_EXAMPLES_H_
|
||||
#define VIXL_EXAMPLE_EXAMPLES_H_
|
||||
|
||||
#include "a64/simulator-a64.h"
|
||||
#include "a64/debugger-a64.h"
|
||||
#include "a64/macro-assembler-a64.h"
|
||||
|
||||
|
@ -24,8 +24,8 @@
|
||||
// OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
#include "a64/simulator-a64.h"
|
||||
#include "a64/macro-assembler-a64.h"
|
||||
#include "a64/simulator-a64.h"
|
||||
|
||||
#define BUF_SIZE (4096)
|
||||
#define __ masm->
|
||||
|
@ -26,6 +26,7 @@
|
||||
|
||||
|
||||
#include <cmath>
|
||||
|
||||
#include "a64/assembler-a64.h"
|
||||
#include "a64/macro-assembler-a64.h"
|
||||
|
||||
|
@ -27,11 +27,11 @@
|
||||
#ifndef VIXL_A64_ASSEMBLER_A64_H_
|
||||
#define VIXL_A64_ASSEMBLER_A64_H_
|
||||
|
||||
|
||||
#include "code-buffer-vixl.h"
|
||||
#include "globals-vixl.h"
|
||||
#include "invalset-vixl.h"
|
||||
#include "utils-vixl.h"
|
||||
#include "code-buffer-vixl.h"
|
||||
|
||||
#include "a64/instructions-a64.h"
|
||||
|
||||
namespace vixl {
|
||||
|
@ -27,6 +27,8 @@
|
||||
#ifndef VIXL_A64_CONSTANTS_A64_H_
|
||||
#define VIXL_A64_CONSTANTS_A64_H_
|
||||
|
||||
#include "globals-vixl.h"
|
||||
|
||||
namespace vixl {
|
||||
|
||||
const unsigned kNumberOfRegisters = 32;
|
||||
|
@ -25,6 +25,7 @@
|
||||
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
#include "utils-vixl.h"
|
||||
|
||||
#include "a64/cpu-a64.h"
|
||||
|
||||
namespace vixl {
|
||||
|
@ -28,6 +28,7 @@
|
||||
#define VIXL_CPU_A64_H
|
||||
|
||||
#include "globals-vixl.h"
|
||||
|
||||
#include "a64/instructions-a64.h"
|
||||
|
||||
namespace vixl {
|
||||
|
@ -30,12 +30,14 @@
|
||||
#define VIXL_A64_DEBUGGER_A64_H_
|
||||
|
||||
#include <ctype.h>
|
||||
#include <limits.h>
|
||||
#include <errno.h>
|
||||
#include <limits.h>
|
||||
|
||||
#include <vector>
|
||||
|
||||
#include "globals-vixl.h"
|
||||
#include "utils-vixl.h"
|
||||
|
||||
#include "a64/constants-a64.h"
|
||||
#include "a64/simulator-a64.h"
|
||||
|
||||
|
@ -26,6 +26,7 @@
|
||||
|
||||
#include "globals-vixl.h"
|
||||
#include "utils-vixl.h"
|
||||
|
||||
#include "a64/decoder-a64.h"
|
||||
|
||||
namespace vixl {
|
||||
|
@ -30,6 +30,7 @@
|
||||
#include <list>
|
||||
|
||||
#include "globals-vixl.h"
|
||||
|
||||
#include "a64/instructions-a64.h"
|
||||
|
||||
|
||||
|
@ -25,6 +25,7 @@
|
||||
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
#include <cstdlib>
|
||||
|
||||
#include "a64/disasm-a64.h"
|
||||
|
||||
namespace vixl {
|
||||
|
@ -29,9 +29,10 @@
|
||||
|
||||
#include "globals-vixl.h"
|
||||
#include "utils-vixl.h"
|
||||
#include "a64/instructions-a64.h"
|
||||
#include "a64/decoder-a64.h"
|
||||
|
||||
#include "a64/assembler-a64.h"
|
||||
#include "a64/decoder-a64.h"
|
||||
#include "a64/instructions-a64.h"
|
||||
|
||||
namespace vixl {
|
||||
|
||||
|
@ -24,8 +24,8 @@
|
||||
// OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
#include "a64/instructions-a64.h"
|
||||
#include "a64/assembler-a64.h"
|
||||
#include "a64/instructions-a64.h"
|
||||
|
||||
namespace vixl {
|
||||
|
||||
|
@ -29,6 +29,7 @@
|
||||
|
||||
#include "globals-vixl.h"
|
||||
#include "utils-vixl.h"
|
||||
|
||||
#include "a64/constants-a64.h"
|
||||
|
||||
namespace vixl {
|
||||
|
@ -29,8 +29,9 @@
|
||||
|
||||
#include "globals-vixl.h"
|
||||
#include "utils-vixl.h"
|
||||
#include "a64/decoder-a64.h"
|
||||
|
||||
#include "a64/constants-a64.h"
|
||||
#include "a64/decoder-a64.h"
|
||||
#include "a64/instrument-a64.h"
|
||||
|
||||
namespace vixl {
|
||||
|
@ -27,6 +27,7 @@
|
||||
#ifdef VIXL_INCLUDE_SIMULATOR
|
||||
|
||||
#include <cmath>
|
||||
|
||||
#include "a64/simulator-a64.h"
|
||||
|
||||
namespace vixl {
|
||||
|
@ -31,6 +31,7 @@
|
||||
#include <limits>
|
||||
|
||||
#include "globals-vixl.h"
|
||||
|
||||
#include "a64/assembler-a64.h"
|
||||
#include "a64/debugger-a64.h"
|
||||
#include "a64/instrument-a64.h"
|
||||
|
@ -27,7 +27,9 @@
|
||||
#ifdef VIXL_INCLUDE_SIMULATOR
|
||||
|
||||
#include <string.h>
|
||||
|
||||
#include <cmath>
|
||||
|
||||
#include "a64/simulator-a64.h"
|
||||
|
||||
namespace vixl {
|
||||
|
@ -29,9 +29,10 @@
|
||||
|
||||
#include "globals-vixl.h"
|
||||
#include "utils-vixl.h"
|
||||
#include "a64/instructions-a64.h"
|
||||
|
||||
#include "a64/assembler-a64.h"
|
||||
#include "a64/disasm-a64.h"
|
||||
#include "a64/instructions-a64.h"
|
||||
#include "a64/instrument-a64.h"
|
||||
#include "a64/simulator-constants-a64.h"
|
||||
|
||||
|
@ -27,6 +27,8 @@
|
||||
#ifndef VIXL_A64_SIMULATOR_CONSTANTS_A64_H_
|
||||
#define VIXL_A64_SIMULATOR_CONSTANTS_A64_H_
|
||||
|
||||
#include "a64/instructions-a64.h"
|
||||
|
||||
namespace vixl {
|
||||
|
||||
// Debug instructions.
|
||||
|
@ -28,6 +28,7 @@
|
||||
#define VIXL_CODE_BUFFER_H
|
||||
|
||||
#include <string.h>
|
||||
|
||||
#include "globals-vixl.h"
|
||||
|
||||
namespace vixl {
|
||||
|
@ -40,15 +40,15 @@
|
||||
#define __STDC_FORMAT_MACROS
|
||||
#endif
|
||||
|
||||
#include <stdint.h>
|
||||
#include <inttypes.h>
|
||||
|
||||
#include <assert.h>
|
||||
#include <inttypes.h>
|
||||
#include <stdarg.h>
|
||||
#include <stdio.h>
|
||||
#include <stdint.h>
|
||||
#include <stdlib.h>
|
||||
#include <stddef.h>
|
||||
#include <stdint.h>
|
||||
#include <stdint.h>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
#include "platform-vixl.h"
|
||||
|
||||
|
||||
|
@ -24,9 +24,10 @@
|
||||
// OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
#include "utils-vixl.h"
|
||||
#include <stdio.h>
|
||||
|
||||
#include "utils-vixl.h"
|
||||
|
||||
namespace vixl {
|
||||
|
||||
uint32_t float_to_rawbits(float value) {
|
||||
|
@ -28,9 +28,11 @@
|
||||
#define VIXL_UTILS_H
|
||||
|
||||
#include <string.h>
|
||||
|
||||
#include <cmath>
|
||||
#include "globals-vixl.h"
|
||||
|
||||
#include "compiler-intrinsics-vixl.h"
|
||||
#include "globals-vixl.h"
|
||||
|
||||
namespace vixl {
|
||||
|
||||
|
@ -24,16 +24,15 @@
|
||||
// OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
#include "../test-runner.h"
|
||||
#include "../test-utils-a64.h"
|
||||
#include "custom-disassembler.h"
|
||||
#include "examples.h"
|
||||
#include "non-const-visitor.h"
|
||||
|
||||
#include "a64/macro-assembler-a64.h"
|
||||
#include "a64/debugger-a64.h"
|
||||
#include "a64/simulator-a64.h"
|
||||
#include "examples.h"
|
||||
#include "non-const-visitor.h"
|
||||
#include "custom-disassembler.h"
|
||||
#include "../test-utils-a64.h"
|
||||
|
||||
#include "../test-runner.h"
|
||||
|
||||
#define TEST(name) TEST_(EXAMPLE_##name)
|
||||
|
||||
using namespace vixl;
|
||||
|
@ -24,19 +24,21 @@
|
||||
// OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
#include <float.h>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <float.h>
|
||||
|
||||
#include <cmath>
|
||||
|
||||
#include "test-runner.h"
|
||||
#include "test-utils-a64.h"
|
||||
#include "a64/macro-assembler-a64.h"
|
||||
#include "a64/simulator-a64.h"
|
||||
|
||||
#include "a64/cpu-a64.h"
|
||||
#include "a64/debugger-a64.h"
|
||||
#include "a64/disasm-a64.h"
|
||||
#include "a64/cpu-a64.h"
|
||||
#include "a64/macro-assembler-a64.h"
|
||||
#include "a64/simulator-a64.h"
|
||||
|
||||
namespace vixl {
|
||||
|
||||
|
@ -25,12 +25,14 @@
|
||||
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
#include <stdio.h>
|
||||
|
||||
#include <cstring>
|
||||
#include <string>
|
||||
|
||||
#include "test-runner.h"
|
||||
|
||||
#include "a64/macro-assembler-a64.h"
|
||||
#include "a64/disasm-a64.h"
|
||||
#include "a64/macro-assembler-a64.h"
|
||||
|
||||
#define TEST(name) TEST_(DISASM_##name)
|
||||
|
||||
|
@ -25,6 +25,7 @@
|
||||
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
#include <stdlib.h>
|
||||
|
||||
#include "test-runner.h"
|
||||
|
||||
#include "a64/decoder-a64.h"
|
||||
|
@ -24,9 +24,8 @@
|
||||
// OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
#include "test-runner.h"
|
||||
|
||||
#include "invalset-vixl.h"
|
||||
#include "test-runner.h"
|
||||
|
||||
namespace vixl {
|
||||
|
||||
|
@ -24,9 +24,10 @@
|
||||
// OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
|
||||
#include "test-runner.h"
|
||||
|
||||
// Initialize the list as empty.
|
||||
|
@ -24,13 +24,14 @@
|
||||
// OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
#include <stdio.h>
|
||||
#include <float.h>
|
||||
#include <stdio.h>
|
||||
|
||||
#include "test-runner.h"
|
||||
#include "test-utils-a64.h"
|
||||
#include "test-simulator-inputs-a64.h"
|
||||
#include "test-simulator-traces-a64.h"
|
||||
#include "test-utils-a64.h"
|
||||
|
||||
#include "a64/macro-assembler-a64.h"
|
||||
#include "a64/simulator-a64.h"
|
||||
|
||||
|
@ -24,19 +24,21 @@
|
||||
// OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
#include <float.h>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <float.h>
|
||||
|
||||
#include <cmath>
|
||||
|
||||
#include "test-runner.h"
|
||||
#include "test-utils-a64.h"
|
||||
#include "a64/macro-assembler-a64.h"
|
||||
#include "a64/simulator-a64.h"
|
||||
|
||||
#include "a64/cpu-a64.h"
|
||||
#include "a64/debugger-a64.h"
|
||||
#include "a64/disasm-a64.h"
|
||||
#include "a64/cpu-a64.h"
|
||||
#include "a64/macro-assembler-a64.h"
|
||||
#include "a64/simulator-a64.h"
|
||||
|
||||
namespace vixl {
|
||||
// Trace tests can only work with the simulator.
|
||||
|
@ -24,15 +24,15 @@
|
||||
// OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
#include "test-utils-a64.h"
|
||||
|
||||
#include <cmath>
|
||||
|
||||
#include "test-runner.h"
|
||||
#include "test-utils-a64.h"
|
||||
|
||||
#include "a64/cpu-a64.h"
|
||||
#include "a64/disasm-a64.h"
|
||||
#include "a64/macro-assembler-a64.h"
|
||||
#include "a64/simulator-a64.h"
|
||||
#include "a64/disasm-a64.h"
|
||||
#include "a64/cpu-a64.h"
|
||||
|
||||
#define __ masm->
|
||||
|
||||
|
@ -28,10 +28,11 @@
|
||||
#define VIXL_A64_TEST_UTILS_A64_H_
|
||||
|
||||
#include "test-runner.h"
|
||||
|
||||
#include "a64/cpu-a64.h"
|
||||
#include "a64/disasm-a64.h"
|
||||
#include "a64/macro-assembler-a64.h"
|
||||
#include "a64/simulator-a64.h"
|
||||
#include "a64/disasm-a64.h"
|
||||
#include "a64/cpu-a64.h"
|
||||
|
||||
namespace vixl {
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user