åå²ããªã4è¦ç´ ã®ã½ã¼ããGCC/Linux/x86,x86_64,armç ãã¡ãã«ããåå²ããªãã½ã¼ããã¨ããè¨äºãããã¾ããçãã®ã§èªãã§ããã ãã»ããããã¨æãã¾ãããæç« ï¼ã¢ã»ã³ããªè¨èªã®ã³ã¼ãã®å 容ãè¦ç´ããã¨ã 4è¦ç´ ã®ã½ã¼ãã¯ãé å¼µãã°5åã®æ¯è¼ã¨5åã®äº¤æã§ã§ããããããã«ã交æã Pentium Pro ã§è¿½å ãããå½ä»¤ã§ããCMOVcc(Conditional Move)ã§è¡ããã¨ã«ããã°ããcmp b, a ãã¦ã b < a ã®ã¨ãã ã b 㨠a ãswapãã¨ããå¦çãåå²å½ä»¤ãªãã§è¡ããã¨ãã§ããããéããã ã¨ãªãã¾ãããã®ãã4è¦ç´ å°ç¨ã»VC++å°ç¨ã®åå²ããªãã½ã¼ãããããã¤ãã®ããã«(?) GCCåãã«æ¸ãç´ãã¦ã¿ã¾ããããã¡ãã åå²ããªãNè¦ç´ ã® odd-even mergesortãGCC/Linux/x86_64ç (x86_64ã®ãåå¼·ãã¦
{{#tags}}- {{label}}
{{/tags}}