From c5159d55ca8e9022b748176f9f53676e8e9d4cd2 Mon Sep 17 00:00:00 2001 From: buzbee Date: Sat, 3 Mar 2012 11:48:39 -0800 Subject: MIPS switch table support And 64-bit neg/add/sub (ouch! Mips has no carry bit...) Change-Id: Ifb94324a0052d6069977fb8f22679b95890445d8 --- src/compiler/codegen/mips/Codegen.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/compiler/codegen/mips/Codegen.h') diff --git a/src/compiler/codegen/mips/Codegen.h b/src/compiler/codegen/mips/Codegen.h index c6f1d98b0f..520d638fe7 100644 --- a/src/compiler/codegen/mips/Codegen.h +++ b/src/compiler/codegen/mips/Codegen.h @@ -27,6 +27,12 @@ namespace art { #if defined(_CODEGEN_C) +bool genAddLong(CompilationUnit* cUnit, MIR* mir, RegLocation rlDest, + RegLocation rlSrc1, RegLocation rlSrc2); +bool genSubLong(CompilationUnit* cUnit, MIR* mir, RegLocation rlDest, + RegLocation rlSrc1, RegLocation rlSrc2); +bool genNegLong(CompilationUnit* cUnit, MIR* mir, RegLocation rlDest, + RegLocation rlSrc); LIR *opRegImm(CompilationUnit* cUnit, OpKind op, int rDestSrc1, int value); LIR *opRegReg(CompilationUnit* cUnit, OpKind op, int rDestSrc1, int rSrc2); LIR* opCmpBranch(CompilationUnit* cUnit, ConditionCode cond, int src1, -- cgit v1.2.3-59-g8ed1b