{"id":12310,"date":"2023-01-08T22:19:59","date_gmt":"2023-01-08T14:19:59","guid":{"rendered":"https:\/\/docs.pingcode.com\/?p=12310"},"modified":"2023-02-23T15:03:03","modified_gmt":"2023-02-23T07:03:03","slug":"%e5%b8%b8%e7%94%a8%e7%9a%84arm%e8%8a%af%e7%89%87%e6%9c%89%e5%93%aa%e4%ba%9b","status":"publish","type":"post","link":"https:\/\/docs.pingcode.com\/ask\/12310.html","title":{"rendered":"\u5e38\u7528\u7684arm\u82af\u7247\u6709\u54ea\u4e9b"},"content":{"rendered":"\n<blockquote class=\"wp-block-quote\">\n<p>\u5e38\u7528\u7684arm\u82af\u7247\u6709\uff1a1. Thumb\uff1b2. Jazelle\uff1b3. Thumb-2\uff1b4. ThumbEE\uff1b5. NEON\u3002\u5176\u4e2d\uff0c\u8f83\u65b0\u7684ARM\u5904\u7406\u5668\u6709\u4e00\u79cd16-bit\u6307\u4ee4\u6a21\u5f0f\uff0c\u53eb\u505aThumb\u3002\u5728Thumb\u6a21\u5f0f\u4e0b\uff0c\u8f83\u5c0f\u7684opcode\u6709\u66f4\u5c11\u7684\u529f\u80fd\u6027\u3002<\/p>\n<\/blockquote>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img fetchpriority=\"high\" decoding=\"async\" width=\"680\" height=\"421\" src=\"https:\/\/cdn-docs.pingcode.com\/wp-content\/uploads\/2023\/01\/\u9ed8\u8ba4\u6807\u9898__2023-01-08-11_30_40.png?x-oss-process=image\/auto-orient,1\/format,webp\" alt=\"\" class=\"wp-image-12311\" srcset=\"https:\/\/cdn-docs.pingcode.com\/wp-content\/uploads\/2023\/01\/\u9ed8\u8ba4\u6807\u9898__2023-01-08-11_30_40.png 680w, https:\/\/cdn-docs.pingcode.com\/wp-content\/uploads\/2023\/01\/\u9ed8\u8ba4\u6807\u9898__2023-01-08-11_30_40-300x186.png 300w\" sizes=\"(max-width: 680px) 100vw, 680px\" \/><\/figure><\/div>\n\n\n<h2 class=\"wp-block-heading\"><strong>\u4e00\u3001\u5e38\u7528\u7684arm\u82af\u7247<\/strong><\/h2>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>1. Thumb<\/strong><\/h3>\n\n\n\n<p>\u8f83\u65b0\u7684ARM\u5904\u7406\u5668\u6709\u4e00\u79cd16-bit\u6307\u4ee4\u6a21\u5f0f\uff0c\u53eb\u505aThumb\uff0c\u4e5f\u8bb8\u8ddf\u6bcf\u4e2a\u6761\u4ef6\u5f0f\u6267\u884c\u6307\u4ee4\u5747\u8017\u75284\u4f4d\u7684\u60c5\u5f62\u6709\u5173\u3002\u5728Thumb\u6a21\u5f0f\u4e0b\uff0c\u8f83\u5c0f\u7684opcode\u6709\u66f4\u5c11\u7684\u529f\u80fd\u6027\u3002\u4f8b\u5982\uff0c\u53ea\u6709\u5206\u652f\u53ef\u4ee5\u662f\u6761\u4ef6\u5f0f\u7684\uff0c\u4e14\u8bb8\u591aopcode\u65e0\u6cd5\u5b58\u53d6\u6240\u6709CPU\u7684\u6682\u5b58\u5668\u3002\u7136\u800c\uff0c\u8f83\u77ed\u7684opcode\u63d0\u4f9b\u6574\u4f53\u66f4\u4f73\u7684\u7f16\u7801\u5bc6\u5ea6\uff08\u6ce8\uff1a\u610f\u6307\u7a0b\u5f0f\u7801\u5728\u5185\u5b58\u4e2d\u5360\u7684\u7a7a\u95f4\uff09\uff0c\u5373\u4f7f\u6709\u4e9b\u8fd0\u7b97\u9700\u8981\u66f4\u591a\u7684\u6307\u4ee4\u3002\u7279\u522b\u5728\u5185\u5b58\u57e0\u6216\u603b\u7ebf\u5bbd\u5ea6\u9650\u5236\u572832 \u4ee5\u4e0b\u7684\u60c5\u5f62\u65f6\uff0c\u66f4\u77ed\u7684Thumb opcode\u80fd\u66f4\u6709\u6548\u5730\u4f7f\u7528\u6709\u9650\u7684\u5185\u5b58\u5e26\u5bbd\uff0c\u56e0\u800c\u63d0\u4f9b\u6bd432\u4f4d\u7a0b\u5f0f\u7801\u66f4\u4f73\u7684\u6548\u80fd\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>2. Jazelle<\/strong><\/h3>\n\n\n\n<p>ARM \u8fd8\u5f00\u53d1\u51fa\u4e00\u9879\u6280\u672f\uff0cJazelle DBX (Direct Bytecode eXecution)\uff0c\u5141\u8bb8\u5b83\u4eec\u5728\u67d0\u4e9b\u67b6\u6784\u7684\u786c\u4ef6\u4e0a\u52a0\u901f\u6267\u884cJava bytecode\uff0c\u5c31\u5982\u5176\u4ed6\u6267\u884c\u6a21\u5f0f\u822c\uff0c\u5f53\u547c\u53eb\u4e00\u4e9b\u65e0\u6cd5\u652f\u63f4bytecodes\u7684\u7279\u6b8a\u8f6f\u4ef6\u65f6\uff0c\u80fd\u63d0\u4f9b\u67d0\u4e9bbytecodes\u7684\u52a0\u901f\u6267\u884c\u3002\u5b83\u80fd\u5728\u73b0\u5b58\u7684ARM\u4e0eThumb\u6a21\u5f0f\u4e4b\u95f4\u4e92\u76f8\u6267\u884c\u3002<\/p>\n\n\n\n<p>\u9996\u9897\u5177\u5907Jazelle\u6280\u672f\u7684\u5904\u7406\u5668\u662fARM926EJ-S\uff1aJazelle\u4ee5\u4e00\u4e2a\u82f1\u6587\u5b57\u6bcd&#8217;J&#8217;\u6807\u793a\u4e8eCPU\u540d\u79f0\u4e2d\u3002\u5b83\u7528\u6765\u8ba9\u624b\u673a\u5236\u9020\u5546\u80fd\u591f\u52a0\u901f\u6267\u884cJava ME\u7684\u6e38\u620f\u548c\u5e94\u7528\u7a0b\u5f0f\uff0c\u4e5f\u56e0\u6b64\u4fc3\u4f7f\u4e86\u8fd9\u9879\u6280\u672f\u4e0d\u65ad\u5730\u5f00\u53d1\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>3. Thumb-2<\/strong><\/h3>\n\n\n\n<p>Thumb-2 \u6280\u672f\u9996\u89c1\u4e8e ARM1156 \u6838\u5fc3 \uff0c\u5e76\u4e8e2003\u5e74\u53d1\u8868\u3002Thumb-2 \u6269\u5145\u4e86\u53d7\u9650\u7684 16-bit Thumb \u6307\u4ee4\u96c6\uff0c\u4ee5\u989d\u5916\u7684 32-bit \u6307\u4ee4\u8ba9\u6307\u4ee4\u96c6\u7684\u4f7f\u7528\u66f4\u5e7f\u6cdb\u3002\u56e0\u6b64 Thumb-2 \u7684\u9884\u671f\u76ee\u6807\u662f\u8981\u8fbe\u5230\u8fd1\u4e4e Thumb \u7684\u7f16\u7801\u5bc6\u5ea6\uff0c\u4f46\u80fd\u8868\u73b0\u51fa\u8fd1\u4e4e ARM \u6307\u4ee4\u96c6\u5728 32-bit \u5185\u5b58\u4e0b\u7684\u6548\u80fd\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>4. ThumbEE<\/strong><\/h3>\n\n\n\n<p>ThumbEE\uff0c\u4e5f\u5c31\u662f\u6240\u8c13\u7684Thumb-2EE\uff0c\u4e1a\u754c\u79f0\u4e3aJazelle RCT\u6280\u672f\uff0c\u4e8e2005\u5e74\u53d1\u8868\uff0c\u9996\u89c1\u4e8e Cortex-A8 \u5904\u7406\u5668\u3002ThumbEE \u63d0\u4f9b\u4ece Thumb-2 \u800c\u6765\u7684\u4e00\u4e9b\u6269\u5145\u6027\uff0c\u5728\u6240\u5904\u7684\u6267\u884c\u73af\u5883\uff08Execution Environment\uff09\u4e0b\uff0c\u4f7f\u5f97\u6307\u4ee4\u96c6\u80fd\u7279\u522b\u9002\u7528\u4e8e\u6267\u884c\u9636\u6bb5\uff08Runtime\uff09\u7684\u7f16\u7801\u4ea7\u751f\uff08\u4f8b\u5982\u5373\u65f6\u7f16\u8bd1\uff09\u3002Thumb-2EE \u662f\u4e13\u4e3a\u4e00\u4e9b\u8bed\u8a00\u5982 Limbo\u3001Java\u3001C#\u3001Perl \u548c Python\uff0c\u5e76\u80fd\u8ba9\u5373\u65f6\u7f16\u8bd1\u5668\u80fd\u591f\u8f93\u51fa\u66f4\u5c0f\u7684\u7f16\u8bd1\u7801\u5374\u4e0d\u4f1a\u5f71\u54cd\u5230\u6548\u80fd\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>5. NEON<\/strong><\/h3>\n\n\n\n<p>\u5b83\u662f\u4e00\u4e2a\u7ed3\u5408 64 \u548c128 bit \u7684 SIMD\uff08Single Instruction Multiple Data \u5355\u6307\u4ee4\u591a\u91cd\u6570\u636e\uff09\u6307\u4ee4\u96c6\uff0c\u5176\u9488\u5bf9\u591a\u5a92\u4f53\u548c\u8baf\u53f7\u5904\u7406\u7a0b\u5f0f\u5177\u5907\u6807\u51c6\u5316\u52a0\u901f\u7684\u80fd\u529b\u3002NEON \u53ef\u4ee5\u5728 10 MHz \u7684 CPU \u4e0a\u6267\u884c MP3 \u97f3\u6548\u89e3\u7801\uff0c\u4e14\u53ef\u4ee5\u6267\u884c 13 MHz \u9891\u7387\u4ee5\u4e0b\u7684 GSM AMR (Adaptive Multi-Rate) \u8bed\u97f3\u7f16\u7801\u3002NEON\u5177\u6709\u4e00\u7ec4\u5e7f\u6cdb\u7684\u6307\u4ee4\u96c6\u3001\u5404\u81ea\u7684\u5bc4\u5b58\u5668\u9635\u5217\uff0c\u4ee5\u53ca\u72ec\u7acb\u6267\u884c\u7684\u786c\u4ef6\u3002<\/p>\n\n\n\n<p><strong>\u5ef6\u4f38\u9605\u8bfb\uff1a<\/strong><\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>\u4e8c\u3001\u7cfb\u7edf\u65f6\u949f<\/strong><\/h2>\n\n\n\n<p>\u7cfb\u7edf\u65f6\u949f\u51b3\u5b9a\u4e86ARM\u82af\u7247\u7684\u5904\u7406\u901f\u5ea6\u3002ARM7\u7684\u5904\u7406\u901f\u5ea6\u4e3a0.9MIPS\/MHz,\u5e38\u89c1\u7684ARM7\u82af\u7247\u7cfb\u7edf\u4e3b\u65f6\u949f20MHz-133MHz\uff0cARM9\u7684\u5904\u7406\u901f\u5ea6\u4e3a1.1MIPS\/MHz\uff0c\u5e38\u89c1\u7684ARM9\u7684\u7cfb\u7edf\u4e3b\u65f6\u949f\u4e3a100MHz-233MHz\uff0cARM10\u8f83\u9ad8\u53ef\u4ee5\u8fbe\u5230700MHz\u3002\u4e0d\u540c\u82af\u7247\u5bf9\u65f6\u949f\u7684\u5904\u7406\u4e0d\u540c\uff0c\u6709\u7684\u82af\u7247\u53ea\u6709\u4e00\u4e2a\u4e3b\u65f6\u949f\u9891\u7387\uff0c\u8fd9\u6837\u7684\u82af\u7247\u53ef\u80fd\u4e0d\u80fd\u540c\u65f6\u987e\u53caUART\u548c\u97f3\u9891\u65f6\u949f\u7684\u51c6\u786e\u6027\uff0c\u5982Cirrus Logic\u7684EP7312\u7b49\uff1b\u6709\u7684\u82af\u7247\u5185\u90e8\u65f6\u949f\u63a7\u5236\u5668\u53ef\u4ee5\u5206\u522b\u4e3aCPU\u6838\u548cUSB\u3001UART\u3001DSP\u3001\u97f3\u9891\u7b49\u529f\u80fd\u90e8\u4ef6\u63d0\u4f9b\u4e0d\u540c\u9891\u7387\u7684\u65f6\u949f\uff0c\u5982PHILIPS\u516c\u53f8\u7684SAA7550\u7b49\u82af\u7247\u3002<\/p>\n\n\n\n<p>\u4ee5\u4e0a\u5c31\u662f\u5173\u4e8earm\u7684\u5185\u5bb9\u5e0c\u671b\u5bf9\u5927\u5bb6\u6709\u5e2e\u52a9\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"\u5e38\u7528\u7684arm\u82af\u7247\u6709\uff1a1. Thumb\uff1b2. Jazelle\uff1b3. Thumb-2\uff1b4. ThumbEE\uff1b5. [&hellip;]","protected":false},"author":1,"featured_media":12311,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[37],"tags":[],"acf":[],"_links":{"self":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/12310"}],"collection":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/comments?post=12310"}],"version-history":[{"count":0,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/12310\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media\/12311"}],"wp:attachment":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media?parent=12310"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/categories?post=12310"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/tags?post=12310"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}