Home | History | Annotate | Download | only in mterp
      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 
     19 handler-style computed-goto
     20 handler-size 128
     21 # Need to specify split-ops to generate alt-ops at the end after
     22 # importing other files.
     23 split-ops
     24 
     25 # source for the instruction table stub
     26 asm-stub mips/stub.S
     27 
     28 # source for alternate entry stub
     29 asm-alt-stub mips/alt_stub.S
     30 
     31 # file header and basic definitions
     32 import c/header.cpp
     33 import mips/header.S
     34 
     35 # C pre-processor defines for stub C instructions
     36 import cstubs/stubdefs.cpp
     37 
     38 # highly-platform-specific defs
     39 import mips/platform.S
     40 
     41 # common defs for the C helpers; include this before the instruction handlers
     42 import c/opcommon.cpp
     43 
     44 # arch-specific entry point to interpreter
     45 import mips/entry.S
     46 
     47 # opcode list; argument to op-start is default directory
     48 op-start mips
     49 
     50 # OP_BREAKPOINT needs explicit testing
     51     op OP_BREAKPOINT c
     52 
     53 op-end
     54 
     55 # "helper" code for C; include if you use any of the C stubs (this generates
     56 # object code, so it's normally excluded)
     57 import c/gotoTargets.cpp
     58 
     59 # end of defs; include this when cstubs/stubdefs.cpp is included
     60 import cstubs/enddefs.cpp
     61 
     62 # common subroutines for asm
     63 import mips/footer.S
     64 import mips/debug.cpp
     65 alt-ops
     66