1/*
2 * Copyright (c) 2007 The Hewlett-Packard Development Company
3 * All rights reserved.
4 *
5 * Redistribution and use of this software in source and binary forms,
6 * with or without modification, are permitted provided that the
7 * following conditions are met:
8 *

--- 98 unchanged lines hidden (view full) ---

107 case ConditionTests::SZnZF:
108 return !(!ccflags.EZF & ccflags.ZF);
109 case ConditionTests::MSTRZ:
110 panic("This condition is not implemented!");
111 case ConditionTests::STRZ:
112 panic("This condition is not implemented!");
113 case ConditionTests::MSTRC:
114 panic("This condition is not implemented!");
115 case ConditionTests::STRZnZF:
116 panic("This condition is not implemented!");
115 case ConditionTests::STRZnEZF:
116 return !ccflags.EZF & ccflags.ZF;
117 //And no interrupts or debug traps are waiting
118 case ConditionTests::OF:
119 return ccflags.OF;
120 case ConditionTests::CF:
121 return ccflags.CF;
122 case ConditionTests::ZF:
123 return ccflags.ZF;
124 case ConditionTests::CvZF:
125 return ccflags.CF | ccflags.ZF;

--- 14 unchanged lines hidden (view full) ---

140 case ConditionTests::NotSZnZF:
141 return !ccflags.EZF & ccflags.ZF;
142 case ConditionTests::NotMSTRZ:
143 panic("This condition is not implemented!");
144 case ConditionTests::NotSTRZ:
145 panic("This condition is not implemented!");
146 case ConditionTests::NotMSTRC:
147 panic("This condition is not implemented!");
147 case ConditionTests::NotSTRZnZF:
148 panic("This condition is not implemented!");
148 case ConditionTests::STRnZnEZF:
149 return !ccflags.EZF & !ccflags.ZF;
150 //And no interrupts or debug traps are waiting
151 case ConditionTests::NotOF:
152 return !ccflags.OF;
153 case ConditionTests::NotCF:
154 return !ccflags.CF;
155 case ConditionTests::NotZF:
156 return !ccflags.ZF;
157 case ConditionTests::NotCvZF:
158 return !(ccflags.CF | ccflags.ZF);

--- 40 unchanged lines hidden ---