{"id":2058,"date":"2010-10-30T04:26:37","date_gmt":"2010-10-29T19:26:37","guid":{"rendered":"http:\/\/umezawa.dyndns.info\/wordpress\/?p=2058"},"modified":"2011-03-21T20:20:36","modified_gmt":"2011-03-21T11:20:36","slug":"maskmovdqu%e5%91%bd%e4%bb%a4%e3%81%ae%e3%82%88%e3%81%8f%e5%88%86%e3%81%8b%e3%82%89%e3%81%aa%e3%81%84%e8%aa%ac%e6%98%8e%e6%96%87%e3%81%a8%e6%ae%8b%e5%bf%b5%e3%81%aa%e6%8c%99%e5%8b%95","status":"publish","type":"post","link":"http:\/\/umezawa.dyndns.info\/wordpress\/?p=2058","title":{"rendered":"MASKMOVDQU\u547d\u4ee4\u306e\u3088\u304f\u5206\u304b\u3089\u306a\u3044\u8aac\u660e\u6587\u3068\u6b8b\u5ff5\u306a\u6319\u52d5"},"content":{"rendered":"<p>SSE2 \u306b\u306f MASKMOVDQU \u3068\u3044\u3046\u547d\u4ee4\u304c\u3042\u3063\u3066\u300116\u30d0\u30a4\u30c8\u306e\u9577\u3055\u3092\u6301\u3064 SSE \u30ec\u30b8\u30b9\u30bf\u306e\u4e00\u90e8\u5206\u3060\u3051\u3092\u66f8\u304d\u8fbc\u3080\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<p><!--more--><\/p>\n<p>\u3055\u3066\u3001\u300cIA-32 \u30a4\u30f3\u30c6\u30eb \u30a2\u30fc\u30ad\u30c6\u30af\u30c1\u30e3 \u30bd\u30d5\u30c8\u30a6\u30a7\u30a2\u30fb\u30c7\u30d9\u30ed\u30c3\u30d1\u30fc\u30ba\u30fb\u30de\u30cb\u30e5\u30a2\u30eb\u300d\u306b\u3042\u308b MASKMOVDQU \u306e\u8aac\u660e\u6587\u306b\u306f\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u3053\u3068\u304c\u66f8\u3044\u3066\u3042\u308a\u307e\u3059\u3002<\/p>\n<blockquote><p>\u305f\u3060\u3057\u3001MASKMOVDQU \u547d\u4ee4\u3067\u6240\u6709\u6a29\u306e\u8aad\u307f\u8fbc\u307f\u3092\u884c\u3063\u3066\u306f\u306a\u3089\u306a\u3044\u3002\u3053\u308c\u3092\u884c\u3046\u3068\u3001\u30b9\u30c8\u30a2\u306e\u524d\u306b\u5143\u306e\u30c7\u30fc\u30bf\u3092\u5272\u308a\u5f53\u3066\u308b\u3053\u3068\u306a\u304f\u3001\u30d0\u30a4\u30c8\u30de\u30b9\u30af\u3092\u4f7f\u7528\u3057\u3066\u30c7\u30fc\u30bf\u304c\u76f4\u63a5\u66f8\u304d\u8fbc\u307e\u308c\u308b\u305f\u3081\u3001\u4e0d\u8981\u306a\u5e2f\u57df\u5e45\u304c\u767a\u751f\u3059\u308b\u3002<\/p><\/blockquote>\n<p>\u610f\u5473\u304c\u5206\u304b\u308a\u307e\u305b\u3093\u3002\u3068\u3044\u3046\u304b\u8a00\u3063\u3066\u3044\u308b\u3053\u3068\u304c\u304a\u304b\u3057\u304f\u306a\u3044\u3067\u3059\u304b\u3002<\/p>\n<p>\u4ed5\u65b9\u306a\u3044\u306e\u3067\u82f1\u8a9e\u7248\u3067\u3042\u308b\u300cIntel 64 and IA-32 Architectures Software Developer&#8217;s Manuals\u300d\u306e\u540c\u3058\u7b87\u6240\u3092\u898b\u308b\u3068\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u306a\u3063\u3066\u3044\u307e\u3059\u3002<\/p>\n<blockquote><p>MASKMOVDQU should not cause a read for ownership; doing so generates unnecessary bandwidth since data is to be written directly using the byte-mask without allocating old data prior to the store.<\/p><\/blockquote>\n<p>should not&#8230;? \u3053\u306e\u5834\u5408\u306e should not \u306f\u6280\u8853\u6587\u66f8\u3067\u3088\u304f\u4f7f\u308f\u308c\u308b SHOULD NOT \uff08\u3059\u3079\u304d\u3067\u306a\u3044\uff09\u3067\u306f\u306a\u304f\u3066\u3001\u671f\u5f85\u3084\u53ef\u80fd\u6027\u3092\u8868\u3059 should \u306e\u5426\u5b9a\u5f62\u3001\u3064\u307e\u308a\u300c\u305d\u3046\u306f\u306a\u3089\u306a\u3044\uff08\u3060\u308d\u3046\uff09\u300d\u306a\u3093\u3058\u3083\u306a\u3044\u3067\u3059\u304b\u306d\u3002\u305d\u3046\u3057\u305f\u3089\u610f\u5473\u304c\u901a\u308b\u3057\u3002<\/p>\n<p>\u3068\u3044\u3046\u308f\u3051\u3067\u3001\u3088\u308a\u9069\u5207\u306a\u8a33\u306f\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u611f\u3058\u3067\u3057\u3087\u3046\u304b\u3002\u30ab\u30c3\u30b3\u5185\u306f\u8a33\u8005\u306b\u3088\u308b\u88dc\u8db3\u3002<\/p>\n<blockquote><p>MASKMOVDQU \u547d\u4ee4\u306f\uff08\u30ad\u30e3\u30c3\u30b7\u30e5\u30e9\u30a4\u30f3\u306e\uff09\u6240\u6709\u6a29\u3092\u5f97\u308b\u305f\u3081\u306e\u8aad\u307f\u8fbc\u307f\u3092\u884c\u308f\u306a\u3044\u3002\u30b9\u30c8\u30a2\u306e\u524d\u306b\uff08\u30ad\u30e3\u30c3\u30b7\u30e5\u30e9\u30a4\u30f3\u306b\uff09\u5143\u306e\u30c7\u30fc\u30bf\u3092\u5272\u308a\u5f53\u3066\u308b\u3053\u3068\u306a\u304f\u3001\u30c7\u30fc\u30bf\u306f\u30d0\u30a4\u30c8\u30de\u30b9\u30af\u3092\u4f7f\u7528\u3057\u3066\u76f4\u63a5\u66f8\u304d\u8fbc\u307e\u308c\u308b\u305f\u3081\u3001\u305d\u3046\u3059\u308b\uff08\uff1d\u6240\u6709\u6a29\u3092\u5f97\u308b\u305f\u3081\u306e\u8aad\u307f\u8fbc\u307f\u3092\u884c\u3046\uff09\u3068\u4e0d\u8981\u306a\u5e2f\u57df\u5e45\u304c\u767a\u751f\u3057\u3066\u3057\u307e\u3046\u3002<\/p><\/blockquote>\n<p>\u300cread for ownership\u300d\u304c\u300c\u6240\u6709\u6a29\u306e\u8aad\u307f\u8fbc\u307f\u300d\u3068\u8a33\u3055\u308c\u3066\u3044\u308b\u3042\u305f\u308a\u3001\u81ea\u52d5\u7ffb\u8a33\u3060\u3063\u305f\u3093\u3067\u3059\u304b\u306d\u3002<\/p>\n<hr \/>\n<p>\u3061\u306a\u307f\u306b\u3001\u306a\u3093\u3067\u3053\u3093\u306a\u3053\u3068\u8abf\u3079\u3066\u3044\u308b\u304b\u3068\u3044\u3046\u3068\u3001Ut Video Codec Suite \u306e ULY2 \u304b\u3089 RGB24 \u306b\u8272\u7a7a\u9593\u5909\u63db\u3092\u3059\u308b\u969b\u306b\u3001MASKMOVDQU \u3092\u4f7f\u3063\u3066\u52b9\u7387\u7684\u306b RGB24 \u306e\u30d0\u30c3\u30d5\u30a1\u306b\u66f8\u304d\u8fbc\u307f\u304c\u3067\u304d\u308b\u304b\u3068\u601d\u3063\u3066\u3044\u305f\u304b\u3089\u3067\u3059\u3002RGB24 \u3060\u3068 1\u30d4\u30af\u30bb\u30eb\u5f53\u305f\u308a3\u30d0\u30a4\u30c8\u306a\u306e\u3067\u975e\u5e38\u306b\u6271\u3044\u3065\u3089\u3044\u308f\u3051\u3067\u3059\u304c\u3001MASKMOVDQU \u547d\u4ee4\u3092\u4f7f\u3048\u3070\u30d0\u30a4\u30c8\u5358\u4f4d\u306b\u5206\u3051\u305a\u3068\u3082\u30de\u30b9\u30af\u3092\u4f7f\u3046\u3053\u3068\u3067\u4e00\u767a\u3067\u66f8\u304d\u8fbc\u3081\u307e\u3059\u3002<\/p>\n<p>\u306a\u306e\u3067\u3059\u304c\u3001\u66f8\u304d\u8fbc\u3082\u3046\u304c\u66f8\u304d\u8fbc\u3080\u307e\u3044\u304c 16\u30d0\u30a4\u30c8\u5206\u306e\u5168\u4f53\u304c\u66f8\u304d\u8fbc\u307f\u53ef\u80fd\u304b\u30c1\u30a7\u30c3\u30af\u3055\u308c\u308b\uff08\u3064\u307e\u308a\u3001\u305f\u3068\u3048\u30de\u30b9\u30af\u304c\u5168\u90e8 0 \u3067\u4e00\u5207\u66f8\u304d\u8fbc\u307e\u306a\u3044\u6307\u5b9a\u3067\u3042\u3063\u3066\u3082\u3001\u66f8\u304d\u8fbc\u307f\u4e0d\u53ef\u80fd\u306a\u30da\u30fc\u30b8\u306b\u5bfe\u3057\u3066 MASKMOVDQU \u547d\u4ee4\u3092\u767a\u884c\u3059\u308b\u3068\u4e00\u822c\u4fdd\u8b77\u4f8b\u5916\u304c\u767a\u751f\u3059\u308b\uff09\u3068\u3044\u3046\u6319\u52d5\u306b\u306a\u3063\u3066\u3044\u307e\u3059\u3002\u305d\u3046\u3059\u308b\u3068\u3001RGB24 \u306e\u30d0\u30c3\u30d5\u30a1\u306e\u672b\u7aef\u3067\u306f\u30da\u30fc\u30b8\u5883\u754c\u3092\u306f\u307f\u51fa\u3057\u3066\u30b3\u30b1\u308b\u53ef\u80fd\u6027\u304c\u3042\u308a\u3001\u7d50\u5c40\u3042\u304d\u3089\u3081\u307e\u3057\u305f\u3002<\/p>\n<p>\u4e00\u65b9\u3067 Sandy Bridge \u3067\u5b9f\u88c5\u3055\u308c\u308b AVX \u3067\u8ffd\u52a0\u3055\u308c\u305f VMASKMOV \u547d\u4ee4\u3060\u3068\u3001\u30de\u30b9\u30af\u306b\u3088\u3063\u3066\u8aad\u307f\u66f8\u304d\u3057\u306a\u3044\u6307\u5b9a\u306b\u306a\u3063\u305f\u30d0\u30a4\u30c8\u306b\u95a2\u3057\u3066\u306f\u30c1\u30a7\u30c3\u30af\u3055\u308c\u306a\u3044\u3068\u660e\u8a18\u3055\u308c\u3066\u3044\u308b\u305f\u3081\u3001\u5b89\u5fc3\u3057\u3066\u4f7f\u3046\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u3067\u3082 Sandy Bridge \u306f\u3057\u3070\u3089\u304f\u5148\u306a\u3093\u3067\u3059\u3088\u306d\u3047\u2026<\/p>\n","protected":false},"excerpt":{"rendered":"<p>SSE2 \u306b\u306f MASKMOVDQU \u3068\u3044\u3046\u547d\u4ee4\u304c\u3042\u3063\u3066\u300116\u30d0\u30a4\u30c8\u306e\u9577\u3055\u3092\u6301\u3064 SSE \u30ec\u30b8\u30b9\u30bf\u306e\u4e00\u90e8\u5206\u3060\u3051\u3092\u66f8\u304d\u8fbc\u3080\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6],"tags":[],"class_list":["post-2058","post","type-post","status-publish","format-standard","hentry","category-programming"],"_links":{"self":[{"href":"http:\/\/umezawa.dyndns.info\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/2058","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/umezawa.dyndns.info\/wordpress\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/umezawa.dyndns.info\/wordpress\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/umezawa.dyndns.info\/wordpress\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"http:\/\/umezawa.dyndns.info\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2058"}],"version-history":[{"count":12,"href":"http:\/\/umezawa.dyndns.info\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/2058\/revisions"}],"predecessor-version":[{"id":2408,"href":"http:\/\/umezawa.dyndns.info\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/2058\/revisions\/2408"}],"wp:attachment":[{"href":"http:\/\/umezawa.dyndns.info\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2058"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/umezawa.dyndns.info\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2058"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/umezawa.dyndns.info\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2058"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}