{"author_name":"pyopyopyo","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fpyopyopyo.hatenablog.com%2Fentry%2F20060109%2Fp1\" title=\" \u3064\u3044\u306bgcc\u304cicc\u3092\u8d85\u3048\u305f\u304b\u3082\u3057\u308c\u306a\u3044\uff0e - pyopyopyo - Linux\u3068\u304b\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u306e\u899a\u3048\u66f8\u304d - \" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","published":"2006-01-09 00:00:00","author_url":"https://blog.hatena.ne.jp/pyopyopyo/","title":" \u3064\u3044\u306bgcc\u304cicc\u3092\u8d85\u3048\u305f\u304b\u3082\u3057\u308c\u306a\u3044\uff0e","width":"100%","blog_url":"https://pyopyopyo.hatenablog.com/","version":"1.0","height":"190","provider_url":"https://hatena.blog","provider_name":"Hatena Blog","url":"https://pyopyopyo.hatenablog.com/entry/20060109/p1","image_url":null,"blog_title":"pyopyopyo - Linux\u3068\u304b\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u306e\u899a\u3048\u66f8\u304d - ","description":"\u307e\u3060\u6b63\u5f0f\u7248\u3067\u306f\u306a\u3044\u3051\u308c\u3069\uff0c\u304b\u306a\u308a\u5b89\u5b9a\u3057\u3066\u304d\u305f\u3089\u3057\u3044gcc4.1\uff0e\u5909\u66f4\u70b9\u4e00\u89a7*1\u306b\u3088\u308b\u3068\uff0c\u3068\u306b\u304b\u304f\u6700\u9069\u5316\u304c\u6539\u5584\u3055\u308c\u305f\u6a21\u69d8\uff0e\u305d\u3053\u3067\uff0c\u3068\u308a\u3042\u3048\u305a\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u30b3\u30fc\u30c9\u3092\u3064\u304b\u3063\u3066\uff0c\u6700\u9069\u5316\uff08\u7279\u306bauto-vectorization\uff09\u3050\u3042\u3044\u3092\u78ba\u8a8d\u3057\u3066\u307f\u305f\uff0e #define SZ 320*240*10 void foo(const int * __restrict__ s, int * __restrict__ d) { int i; for (i=0;i<SZ;i++){ *d = (*s>0)?*s:0; d++; s++; } } int sum(const int * __restrict__ s) {\u2026","type":"rich","categories":["programming"]}