//------------------------------------------------------------------------
// genSIMDIntrinsic: Generate code for a SIMD Intrinsic. This is the main
-// routine which in turn calls apropriate genSIMDIntrinsicXXX() routine.
+// routine which in turn calls appropriate genSIMDIntrinsicXXX() routine.
//
// Arguments:
// simdNode - The GT_SIMD node
// impSIMDLongRelOpEqual: transforms operands and returns the SIMD intrinsic to be applied on
// transformed operands to obtain == comparison result.
//
-// Argumens:
+// Arguments:
// typeHnd - type handle of SIMD vector
// size - SIMD vector size
// op1 - in-out parameter; first operand
// impSIMDLongRelOpGreaterThan: transforms operands and returns the SIMD intrinsic to be applied on
// transformed operands to obtain > comparison result.
//
-// Argumens:
+// Arguments:
// typeHnd - type handle of SIMD vector
// size - SIMD vector size
// pOp1 - in-out parameter; first operand
// impSIMDLongRelOpGreaterThanOrEqual: transforms operands and returns the SIMD intrinsic to be applied on
// transformed operands to obtain >= comparison result.
//
-// Argumens:
+// Arguments:
// typeHnd - type handle of SIMD vector
// size - SIMD vector size
// pOp1 - in-out parameter; first operand
// impSIMDInt32OrSmallIntRelOpGreaterThanOrEqual: transforms operands and returns the SIMD intrinsic to be applied on
// transformed operands to obtain >= comparison result in case of integer base type vectors
//
-// Argumens:
+// Arguments:
// typeHnd - type handle of SIMD vector
// size - SIMD vector size
// baseType - base type of SIMD vector
// Transforms operands and returns the SIMD intrinsic to be applied on
// transformed operands to obtain given relop result.
//
-// Argumens:
+// Arguments:
// relOpIntrinsicId - Relational operator SIMD intrinsic
// typeHnd - type handle of SIMD vector
// size - SIMD vector size
// Creates a GT_SIMD tree for Select operation
//
-// Argumens:
+// Arguments:
// typeHnd - type handle of SIMD vector
// baseType - base type of SIMD vector
// size - SIMD vector size
// Creates a GT_SIMD tree for Min/Max operation
//
-// Argumens:
+// Arguments:
// IntrinsicId - SIMD intrinsic Id, either Min or Max
// typeHnd - type handle of SIMD vector
// baseType - base type of SIMD vector
//----------------------------------------------------------------------------------------
// EvalUsingMathIdentity
// - Attempts to evaluate 'func' by using mathimatical identities
-// that can be appied to 'func'.
+// that can be applied to 'func'.
//
// Arguments:
// typ - The type of the resulting ValueNum produced by 'func'
// - The tree's gtVNPair is updated to include
// VNF_DivideByZeroExc and VNF_ArithmeticExc,
// We will omit one or both of them when the operation
-// has constants argumemts that preclude the exception.
+// has constants arguments that preclude the exception.
//
void Compiler::fgValueNumberAddExceptionSetForDivision(GenTree* tree)
{
{
Fail("The function should still return a success value even if it is "
"passed a LPWSTR which is not an environment block properly "
- "aquired from GetEnvironmentStrings\n");
+ "acquired from GetEnvironmentStrings\n");
}
/* Even passing this function NULL, should still return a success value */
// We need to be careful to only query portions of the MethodDesc
// that work in a partially restored state. The only methods that need
// further restoration are IL stubs (which aren't rejittable) and
- // generic methods. The only generic methods directly accesible from
+ // generic methods. The only generic methods directly accessible from
// the MethodTable are definitions. GetNativeCode() on generic defs
// will run succesfully and return NULL which short circuits the
// rest of the logic.
TriageTypeForZap(intIterator.GetInterface(), TRUE);
}
- // Make sure aprox types for all fields are saved
+ // Make sure approx types for all fields are saved
ApproxFieldDescIterator fdIterator(pMT, ApproxFieldDescIterator::ALL_FIELDS);
FieldDesc* pFD;
while ((pFD = fdIterator.Next()) != NULL)
// in a way that mimics the lifetime behavior of a normal field reference. Specifically,
// when the object is collected, the field should also be collected (assuming there are no
// other references), but references to the field shouldn't keep the object alive.
- // To acheive this, we have introduced the concept of a "dependent handle" which provides
+ // To achieve this, we have introduced the concept of a "dependent handle" which provides
// the appropriate semantics. The dependent handle has a weak reference to a "primary object"
// (the object getting a new field in this case), and a strong reference to a secondary object.
// When the primary object is collected, the reference to the secondary object is released.
// to report them to the OS. (they are not expressible anyways)
// 5. Floating point argument registers:
- // Similar to Integer argumetn registers, no reporting
+ // Similar to Integer argument registers, no reporting
//
// 4. Set the frame pointer
else if ( cActual != cExpected )
{
printf("WARNING: Test error - %s\n", __FUNCSIG__);
- printf("Array Length: expected: %d, actutl: %d\n", cExpected, cActual);
+ printf("Array Length: expected: %d, actual: %d\n", cExpected, cActual);
return FALSE;
}