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 "desktop" targets.
     17 #
     18 
     19 handler-size 64
     20 
     21 # source for the instruction table stub
     22 asm-stub x86/stub.S
     23 
     24 # C file header and basic definitions
     25 import c/header.c
     26 import x86/header.S
     27 
     28 # C pre-processor defines for stub C instructions
     29 import cstubs/stubdefs.c
     30 
     31 # common defs for the C opcodes
     32 import c/opcommon.c
     33 
     34 # opcode list; argument to op-start is default directory
     35 op-start x86
     36     # stub -- need native impl
     37     op OP_EXECUTE_INLINE_RANGE c
     38     op OP_IGET_WIDE_VOLATILE c
     39     op OP_IPUT_WIDE_VOLATILE c
     40     op OP_SGET_WIDE_VOLATILE c
     41     op OP_SPUT_WIDE_VOLATILE c
     42 op-end
     43 
     44 # arch-specific entry point to interpreter
     45 import x86/entry.S
     46 
     47 # "helper" code for C; include if you use any of the C stubs (this generates
     48 # object code, so it's normally excluded)
     49 # (asm code is currently calling into dvmMterp_exceptionThrown)
     50 import c/gotoTargets.c
     51 
     52 # end of defs; include this when cstubs/stubdefs.c is included
     53 import cstubs/enddefs.c
     54 
     55 # common subroutines for asm
     56 import x86/footer.S
     57