?? simd-1.c
字號(hào):
// Test EH when V2SI SIMD registers are involved.// Contributed by Aldy Hernandez (aldy@quesejoda.com).// { dg-options "-O" }// { dg-options "-O -w" { target i?86-*-* } }// { dg-do run }// { dg-error "" "PR target/12916" { target sparc*-*-* } 0 }typedef int __attribute__((mode(V2SI))) vecint;vecint vecfunc (vecint beachbum){ return beachbum;}void f3 (void){ /* Force a use of a V2SI register if available. On the PPC/E500, this will cause the compiler to save the registers in this function in 64-bits. */ vecint foobar = (vecint) {0, 0}; foobar = vecfunc (foobar); throw int();}void f2 (void){ vecint foobar = (vecint) {0, 0}; foobar = vecfunc (foobar); f3 ();}void f1 (void){ int i; try { f2 (); } catch (int) { i = 9; }}int main (){ f1 (); return 0;}
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -