Improve the assembly code for power function with integer exponential.
authoryangguo@chromium.org <yangguo@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Mon, 17 Sep 2012 07:45:54 +0000 (07:45 +0000)
committeryangguo@chromium.org <yangguo@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Mon, 17 Sep 2012 07:45:54 +0000 (07:45 +0000)
commit9d94f92d5685ae08b1601a2468e3f1b1de3a9ca6
tree961eb3b0d16e44385781facd9d701ac39fb0c041
parent48d327d0b4d5c87cdf276cd9c7c0aaf63edc9d59
Improve the assembly code for power function with integer exponential.

The change removes one unused multiply and reschedules
the shift, multiply and jump instructions to reduce
stall. Experiment shows it improve about 20% performance
on x86 for exponetials from about 100 to 2000.

Review URL: https://chromiumcodereview.appspot.com/10916311

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@12521 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
src/ia32/code-stubs-ia32.cc