From c470193cfc522fc818eb2eaab896aef9caf0c75a Mon Sep 17 00:00:00 2001 From: Mark Mendell Date: Fri, 10 Apr 2015 13:18:51 -0400 Subject: Fuse long and FP compare & condition on x86/x86-64 in Optimizing. This is a preliminary implementation of fusing long/float/double compares with conditions to avoid materializing the result from the compare and condition. The information from a HCompare is transferred to the HCondition if it is legal. There must be only a single use of the HCompare, the HCompare and HCondition must be in the same block, the HCondition must not need materialization. Added GetOppositeCondition() to HCondition to return the flipped condition. Bug: 21120453 Change-Id: I1f1db206e6dc336270cd71070ed3232dedc754d6 Signed-off-by: Mark Mendell --- compiler/optimizing/builder.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'compiler/optimizing/builder.h') diff --git a/compiler/optimizing/builder.h b/compiler/optimizing/builder.h index cae762b49f..e487255ac4 100644 --- a/compiler/optimizing/builder.h +++ b/compiler/optimizing/builder.h @@ -139,7 +139,7 @@ class HGraphBuilder : public ValueObject { void Binop_23x_cmp(const Instruction& instruction, Primitive::Type type, - HCompare::Bias bias, + ComparisonBias bias, uint32_t dex_pc); template -- cgit v1.2.3-59-g8ed1b