Lines Matching full:vec
5 * Force FP, VEC and VSX unavailable exception during transaction in all
6 * possible scenarios regarding the MSR.FP and MSR.VEC state, e.g. when FP
7 * is enable and VEC is disable, when FP is disable and VEC is enable, and
9 * FP and VEC registers to the previous state we set just before we entered
11 * VEC/Altivec registers on abortion due to an unavailable exception in TM.
14 * representatives of FP and VEC/Altivec reg sets.
59 * If both FP and VEC are touched it does not mean that touching VSX in expecting_failure()
60 * won't raise an exception. However since FP and VEC state are already in expecting_failure()
111 printf("If MSR.FP=%d MSR.VEC=%d: ", flags.touch_fp, flags.touch_vec); in tm_una_ping()
139 * overflow and MSR.FP, MSR.VEC, and MSR.VSX become zero (off). in tm_una_ping()
157 * Check if we want to touch VEC prior to the test in order in tm_una_ping()
158 * to set MSR.VEC = 1 before provoking an unavailable in tm_una_ping()
180 /* Do we do VEC Unavailable? */ in tm_una_ping()
187 * Not FP or VEC, therefore VSX. Ensure this in tm_una_ping()
271 /* Check VEC (vs32) for the expected value. */ in tm_una_ping()
273 printf("VEC corrupted!"); in tm_una_ping()
278 printf("VEC ok"); in tm_una_ping()
298 void test_fp_vec(int fp, int vec, pthread_attr_t *attr) in test_fp_vec() argument
305 flags.touch_vec = vec; in test_fp_vec()
341 int cpu, rc, exception; /* FP = 0, VEC = 1, VSX = 2 */ in tm_unavailable_test()
378 printf("Checking if FP/VEC registers are sane after"); in tm_unavailable_test()
384 printf(" a VEC unavailable exception...\n"); in tm_unavailable_test()