blob: c4dae4dcb6bff0aa3c53ab1bd687e8f338f25d95 [file] [log] [blame]
Elliott Hughes2faa5f12012-01-30 14:42:07 -08001/*
2 * Copyright (C) 2011 The Android Open Source Project
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 * http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 */
Ian Rogersb033c752011-07-20 12:22:35 -070016
Elliott Hughes0f3c5532012-03-30 14:51:51 -070017#ifndef ART_SRC_INSTRUCTION_SET_H_
18#define ART_SRC_INSTRUCTION_SET_H_
Ian Rogersb033c752011-07-20 12:22:35 -070019
Ian Rogersc8b306f2012-02-17 21:34:44 -080020#include <iosfwd>
21
buzbeec143c552011-08-20 17:38:58 -070022namespace art {
23
24enum InstructionSet {
25 kNone,
26 kArm,
27 kThumb2,
Shih-wei Liao6edfde42012-03-01 15:49:12 -080028 kX86,
29 kMips
buzbeec143c552011-08-20 17:38:58 -070030};
31
Elliott Hughesed64e8d2012-03-02 20:37:45 -080032std::ostream& operator<<(std::ostream& os, const InstructionSet& rhs);
33
buzbeec143c552011-08-20 17:38:58 -070034} // namespace art
35
Elliott Hughes0f3c5532012-03-30 14:51:51 -070036#endif // ART_SRC_INSTRUCTION_SET_H_