/* libs/pixelflinger/codeflinger/ARMAssemblerInterface.h ** ** Copyright 2006, 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. */ #ifndef ANDROID_ARMASSEMBLER_INTERFACE_H #define ANDROID_ARMASSEMBLER_INTERFACE_H #include #include namespace android { // ---------------------------------------------------------------------------- class ARMAssemblerInterface { public: virtual ~ARMAssemblerInterface(); enum { EQ, NE, CS, CC, MI, PL, VS, VC, HI, LS, GE, LT, GT, LE, AL, NV, HS = CS, LO = CC }; enum { S = 1 }; enum { LSL, LSR, ASR, ROR }; enum { ED, FD, EA, FA, IB, IA, DB, DA }; enum { R0, R1, R2, R3, R4, R5, R6, R7, R8, R9, R10, R11, R12, R13, R14, R15, SP = R13, LR = R14, PC = R15 }; enum { #define LIST(rr) L##rr=1<