4448096-1.c
来自「Mac OS X 10.4.9 for x86 Source Code gcc」· C语言 代码 · 共 18 行
C
18 行
/* APPLE LOCAL file 4448096 *//* { dg-do compile { target i?86-*-* } } *//* { dg-options "-O2 -mpreferred-stack-boundary=2 -mfpmath=sse -msse2" } */#include <stdlib.h>double d = 42.0;unsigned int i;main (){ i = d; return 0;}/* The SSE-only double -> uint32 conversion uses several vector instructions (including "maxsd"), and any spills amongst these requires an SSE-aligned stack. -mpreferred-stack-boundary=2 means "4-byte aligned stack," therefore the compiler must not emit any vector-mode instructions for this testcase. *//* { dg-final { scan-assembler-not "maxsd" } } */
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?