summaryrefslogtreecommitdiffstats
path: root/vm/mterp/config-x86
blob: 627e06cd6b5650903f4df8a00af9317a30e1500a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
# Copyright (C) 2008 The Android Open Source Project
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#      http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

#
# Configuration for "desktop" targets.
#

handler-size 64

# source for the instruction table stub
asm-stub x86/stub.S

# C file header and basic definitions
import c/header.c
import x86/header.S

# C pre-processor defines for stub C instructions
import cstubs/stubdefs.c

# common defs for the C opcodes
import c/opcommon.c

# opcode list; argument to op-start is default directory
op-start x86
    # stub -- need native impl
    op OP_EXECUTE_INLINE_RANGE c
    op OP_IGET_WIDE_VOLATILE c
    op OP_IPUT_WIDE_VOLATILE c
    op OP_SGET_WIDE_VOLATILE c
    op OP_SPUT_WIDE_VOLATILE c
op-end

# arch-specific entry point to interpreter
import x86/entry.S

# "helper" code for C; include if you use any of the C stubs (this generates
# object code, so it's normally excluded)
# (asm code is currently calling into dvmMterp_exceptionThrown)
import c/gotoTargets.c

# end of defs; include this when cstubs/stubdefs.c is included
import cstubs/enddefs.c

# common subroutines for asm
import x86/footer.S