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

📄 old-style-asm-1.c

📁 Mac OS X 10.4.9 for x86 Source Code gcc 实现源代码
💻 C
字号:
/* PR inline-asm/8832 *//* { dg-do compile } *//* { dg-options "-O2 -dP" } *//* Verify that GCC doesn't optimize   old style asm instructions.  */void foo(int v){  if (v)    asm ("dummy1");  asm ("dummy2");  if (v)    asm ("dummy3");}/* The purpose of the test below is to check that there are two branches   in the generated code, supposedly corresponding to the if-statements.   It tries to check for jump_insn (set (pc) pattern, so that jump_insns   corresponding to return are not taken into account.  *//* { dg-final { scan-assembler "jump_insn.*set \\(pc\\).*jump_insn.*set \\(pc\\)"} } */

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -