⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 harness.h

📁 linux下编程用 编译软件
💻 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 + -