📄 harness.h
字号:
/* Common code for most VMX test cases. To use, include this file, then write a routine named test() that performs a series of calls to check(). */#include <stdlib.h>#include <stdio.h>#include <altivec.h>static int failed;static void test (void);static voidcheck (int result, const char *name){ if (!result) { failed++; printf ("fail %s\n", name); }} intmain (void){ test (); if (failed) abort (); return 0;}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -