os.writeTEST(X86Register.EAX, X86Constants.F_CF);
os.writeTEST(X86Register.EAX, (X86Constants.F_CF) << 8);
	final void compare(boolean gt, int type, Label curInstrLabel) {		final Item v2 = vstack.pop(type);		final Item v1 = vstack.pop(type);		// Prepare operands		final FPUStack fpuStack = vstack.fpuStack;		final X86Register reg;		reg = prepareForOperation(os, ec, vstack, fpuStack, v2, v1, false);		// We need reg to be ST1.		fxchST1(os, fpuStack, reg);		final X86RegisterPool pool = ec.getGPRPool();		pool.request(X86Register.EAX);		final IntItem result = (IntItem) L1AHelper.requestWordRegister(ec,				JvmType.INT, false);		final GPR resr = result.getRegister();		// Clear resultr		os.writeXOR(resr, resr);		if (!gt) {			// Reverse order			FPUHelper.fxch(os, fpuStack, X86Register.ST1);		}		os.writeFUCOMPP(); // Compare, Pop twice		os.writeFNSTSW_AX(); // Store fp status word in AX        if (os.isCode32()) {            os.writeSAHF(); // Store AH to Flags        }		// Pop fpu stack twice (FUCOMPP)		fpuStack.pop();		fpuStack.pop();		final Label gtLabel = new Label(curInstrLabel + "gt");		final Label ltLabel = new Label(curInstrLabel + "lt");		final Label endLabel = new Label(curInstrLabel + "end");        if (os.isCode32()) {            os.writeJCC(gtLabel, X86Constants.JA);            os.writeJCC(ltLabel, X86Constants.JB);        } else {            // Emulate JA            os.writeTEST(X86Register.EAX, X86Constants.F_CF | X86Constants.F_ZF);            os.writeJCC(gtLabel, X86Constants.JZ);            // Emulate JB            os.writeTEST(X86Register.EAX, X86Constants.F_CF);            os.writeJCC(ltLabel, X86Constants.JNZ);                    }		os.writeJMP(endLabel); // equal		// Greater		os.setObjectRef(gtLabel);		if (gt) {			os.writeDEC(resr);		} else {			os.writeINC(resr);		}		os.writeJMP(endLabel);		// Less		os.setObjectRef(ltLabel);		if (gt) {			os.writeINC(resr);		} else {			os.writeDEC(resr);		}		// End		os.setObjectRef(endLabel);		// Push result		vstack.push(result);		// Release		pool.release(X86Register.EAX);	}