v8/src/mips
danno@chromium.org b49dd13c90 MIPS: Branch delay slot and other optimizations.
List of changes:
-added a minor optimization to the Simulator that quickly skips nops in the delay slot
-slightly re-worked CEntryStub to save a few instructions
 CEntryStub now expects the following values:
  -s0: number of arguments including receiver
  -s1: size of arguments excluding receiver
  -s2: pointer to builtin function
 Two new MacroAssembler functions were added to make usage more convenient:
  -PrepareCEntryArgs(int num_args) to set up s0 and s1
  -PrepareCEntryFunction(const ExternalReference&) to set up s2
-removed branch delay slot nops from the most frequently used code areas
-reorganized some code to execute fewer instructions
-utilized the delay slot of most Ret instructions
 This does not cover all Rets, only the most obvious cases.
 Also added a special version of DropAndRet that utilizes the delay slot.
-added some comments to code areas where explanation of the register/delay slot usage may be needed
-added an optimization to Jump so it doesn't always pre-load the target register

BUG=
TEST=

Review URL: https://chromiumcodereview.appspot.com/9699071
Patch from Daniel Kalmar <kalmard@homejinni.com>.

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11099 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2012-03-21 08:41:16 +00:00
..
assembler-mips-inl.h Include what you use for allocation, api, assembler, and ast. 2012-01-25 16:31:25 +00:00
assembler-mips.cc MIPS: Added support for Loongson architectures. 2012-03-13 16:18:30 +00:00
assembler-mips.h MIPS: Fix for an ARM register allocation bug. 2012-01-19 13:41:11 +00:00
builtins-mips.cc MIPS: Branch delay slot and other optimizations. 2012-03-21 08:41:16 +00:00
code-stubs-mips.cc MIPS: Branch delay slot and other optimizations. 2012-03-21 08:41:16 +00:00
code-stubs-mips.h MIPS: Add a level of indirection to exception handler addresses. 2011-11-21 14:05:18 +00:00
codegen-mips.cc Ensure consistency of Math.sqrt on Intel platforms. 2012-03-12 14:56:04 +00:00
codegen-mips.h MIPS: Porting r10023 and r10054 to arm (pointer cache for external strings). 2011-12-01 08:31:09 +00:00
constants-mips.cc More spelling changes. 2012-01-16 12:38:59 +00:00
constants-mips.h MIPS: Added support for Loongson architectures. 2012-03-13 16:18:30 +00:00
cpu-mips.cc MIPS: Added Android-specific version of cacheflush call. 2012-01-26 16:54:44 +00:00
debug-mips.cc MIPS: Branch delay slot and other optimizations. 2012-03-21 08:41:16 +00:00
deoptimizer-mips.cc MIPS: Simplify the deopt entry method. 2012-03-07 09:05:41 +00:00
disasm-mips.cc MIPS: Added support for Loongson architectures. 2012-03-13 16:18:30 +00:00
frames-mips.cc Submit code-stubs-mips.cc. 2011-05-16 08:38:19 +00:00
frames-mips.h MIPS: Support inlining at call-sites with mismatched number of arguments. 2012-01-26 11:26:45 +00:00
full-codegen-mips.cc Fixed breakage caused by r11051 on non-ia32 platforms. 2012-03-15 09:28:49 +00:00
ic-mips.cc MIPS: Branch delay slot and other optimizations. 2012-03-21 08:41:16 +00:00
lithium-codegen-mips.cc MIPS: Branch delay slot and other optimizations. 2012-03-21 08:41:16 +00:00
lithium-codegen-mips.h MIPS: Port r10939 to x64 and arm (inline Math.random in crankshaft). 2012-03-06 17:39:12 +00:00
lithium-gap-resolver-mips.cc MIPS: Fix for an ARM register allocation bug. 2012-01-19 13:41:11 +00:00
lithium-gap-resolver-mips.h Fix presubmit error. 2011-10-28 08:51:08 +00:00
lithium-mips.cc MIPS: Inline functions that use arguments object in f.apply(o, arguments) pattern. 2012-03-15 12:29:20 +00:00
lithium-mips.h MIPS: Inline functions that use arguments object in f.apply(o, arguments) pattern. 2012-03-15 12:29:20 +00:00
macro-assembler-mips.cc MIPS: Branch delay slot and other optimizations. 2012-03-21 08:41:16 +00:00
macro-assembler-mips.h MIPS: Branch delay slot and other optimizations. 2012-03-21 08:41:16 +00:00
regexp-macro-assembler-mips.cc MIPS: Added support for Loongson architectures. 2012-03-13 16:18:30 +00:00
regexp-macro-assembler-mips.h Fix presubmit errors caused by updated depot tools 2011-09-08 19:57:14 +00:00
simulator-mips.cc Increase ARM/MIPS simulators stack safety margin to 1024 bytes 2012-02-16 14:16:12 +00:00
simulator-mips.h MIPS: Branch delay slot and other optimizations. 2012-03-21 08:41:16 +00:00
stub-cache-mips.cc MIPS: Branch delay slot and other optimizations. 2012-03-21 08:41:16 +00:00