Documentation Home
>
Sun Studio 12 Update 1:C 用户指南
>
附录 B C 编译器选项参考
>
B.2 cc 选项
> B.2.157 -xunroll=n
Sun Studio 12 Update 1:C 用户指南
Previous
: B.2.156 -xtrigraphs
Next
: B.2.158 -xustr={ascii_utf16_ushort| no}
B.2.157
-xunroll=
n
建议
优化器解开循环
n
次。
n
是正整数。当
n
等于 1 时,它是一个命令,此时编译器不解开任何循环。当
n
大于 1 时,
-xunroll=
n
只建议编译器解开循环
n
次。
Previous
: B.2.156 -xtrigraphs
Next
: B.2.158 -xustr={ascii_utf16_ushort| no}
© 2010, Oracle Corporation and/or its affiliates