- 292 名前:login:Penguin mailto:sage [2007/12/11(火) 22:36:05 ID:9UwQI84H]
- RISCだからってのは理由にならないと思います。
SPARCはRISCだけど割算命令あるよ。PowerPCはアセンブラ調べた事ないけど、 今試したらあった。 % cat tmp.c int test(int x, int y) { return x/y; } $ gcc -O -S -o - tmp.c .file "tmp.c" .section ".text" .align 2 .globl test .type test, @function test: divw 3,3,4 blr .size test,.-test .ident "GCC: (GNU) 4.1.2 20070925 (Red Hat 4.1.2-27)" .section .note.GNU-stack,"",@progbits
|

|