config-mips revision a8b91c52fd8a90b784835dfe1f8898035266c4dd
1# Copyright (C) 2008 The Android Open Source Project
2#
3# Licensed under the Apache License, Version 2.0 (the "License");
4# you may not use this file except in compliance with the License.
5# You may obtain a copy of the License at
6#
7#      http://www.apache.org/licenses/LICENSE-2.0
8#
9# Unless required by applicable law or agreed to in writing, software
10# distributed under the License is distributed on an "AS IS" BASIS,
11# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12# See the License for the specific language governing permissions and
13# limitations under the License.
14
15#
16# Configuration for MIPS architecture targets.
17#
18
19handler-style computed-goto
20handler-size 128
21# Need to specify split-ops to generate alt-ops at the end after
22# importing other files.
23split-ops
24
25# source for the instruction table stub
26asm-stub mips/stub.S
27
28# source for alternate entry stub
29asm-alt-stub mips/alt_stub.S
30
31# file header and basic definitions
32import c/header.cpp
33import mips/header.S
34
35# C pre-processor defines for stub C instructions
36import cstubs/stubdefs.cpp
37
38# highly-platform-specific defs
39import mips/platform.S
40
41# common defs for the C helpers; include this before the instruction handlers
42import c/opcommon.cpp
43
44# arch-specific entry point to interpreter
45import mips/entry.S
46
47# opcode list; argument to op-start is default directory
48op-start mips
49
50# OP_BREAKPOINT needs explicit testing
51    op OP_BREAKPOINT c
52
53# OP_DISPATCH_FF needs explicit testing
54    op OP_DISPATCH_FF c
55
56op-end
57
58# "helper" code for C; include if you use any of the C stubs (this generates
59# object code, so it's normally excluded)
60import c/gotoTargets.cpp
61
62# end of defs; include this when cstubs/stubdefs.cpp is included
63import cstubs/enddefs.cpp
64
65# common subroutines for asm
66import mips/footer.S
67import mips/debug.cpp
68alt-ops
69