{"image_url":"https://cdn-ak.f.st-hatena.com/images/fotolife/a/any-programming/20170319/20170319005947.jpg","blog_title":"\u4f55\u3067\u3082\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0","url":"https://any-programming.hatenablog.com/entry/2017/05/01/141141","author_url":"https://blog.hatena.ne.jp/any-programming/","width":"100%","categories":["C++","SSE"],"blog_url":"https://any-programming.hatenablog.com/","provider_name":"Hatena Blog","author_name":"any-programming","title":"SSE\u3067\u753b\u50cf\u51e6\u7406 --- \u5c0e\u5165","published":"2017-05-01 14:11:41","description":"\u4e0b\u8a18\u8a18\u4e8b\u306b\u3066\u30a2\u30e9\u30a4\u30f3\u3055\u308c\u305fstd::vector\u3092\u4f5c\u6210\u3059\u308b\u65b9\u6cd5\u3092\u8a18\u8ff0\u3057\u307e\u3057\u305f\u3002 \u30a2\u30e9\u30a4\u30f3\u3055\u308c\u305fstd::vector - \u4f55\u3067\u3082\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u4eca\u56de\u306f\u305d\u308c\u3092\u5229\u7528\u3057\u3066\u3001SSE\u3067\u7c21\u5358\u306a\u753b\u50cf\u51e6\u7406\u3092\u884c\u3063\u3066\u307f\u307e\u3059\u3002 \u6e96\u5099 \u4eca\u56de\u306fintrinsic\u3092\u7528\u3044\u3066\u5b9f\u88c5\u3059\u308b\u305f\u3081\u3001#include \u3057\u307e\u3059\u3002\u307e\u305f\u8a18\u8ff0\u306e\u7c21\u4fbf\u5316\u306e\u305f\u3081\u3001aligned_vector\u3092\u5b9a\u7fa9\u3057\u3066\u304a\u304d\u307e\u3059\u3002 #include <intrin.h> template<class T> using aligned_vector = std::vector<T, AlignedAllocator<T, 16>>; \u305f\u3060\u306e\u30b3\u30d4\u30fc \u30ec\u30b8\u30b9\u30bf\u306b\u8ee2\u9001\u3001\u53d6\u5f97\u3092\u884c\u3046\u2026","provider_url":"https://hatena.blog","height":"190","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fany-programming.hatenablog.com%2Fentry%2F2017%2F05%2F01%2F141141\" title=\"SSE\u3067\u753b\u50cf\u51e6\u7406 --- \u5c0e\u5165 - \u4f55\u3067\u3082\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","type":"rich","version":"1.0"}