Revision: 18980
Author:   [email protected]
Date:     Fri Jan 31 10:07:47 2014 UTC
Log:      A64: Make branch to deferred code in StringCharFromCode longer.

TEST=mjsunit/md5
[email protected]

Review URL: https://codereview.chromium.org/141753020
http://code.google.com/p/v8/source/detail?r=18980

Modified:
 /branches/experimental/a64/src/a64/codegen-a64.cc

=======================================
--- /branches/experimental/a64/src/a64/codegen-a64.cc Thu Jan 30 12:09:30 2014 UTC +++ /branches/experimental/a64/src/a64/codegen-a64.cc Fri Jan 31 10:07:47 2014 UTC
@@ -479,7 +479,10 @@
   }
   // Rule out short external strings.
   STATIC_CHECK(kShortExternalStringTag != 0);
-  __ TestAndBranchIfAnySet(result, kShortExternalStringMask, call_runtime);
+ // TestAndBranchIfAnySet can emit Tbnz. Do not use it because call_runtime
+  // can be bound far away in deferred code.
+  __ Tst(result, kShortExternalStringMask);
+  __ B(ne, call_runtime);
__ Ldr(string, FieldMemOperand(string, ExternalString::kResourceDataOffset));

   Label ascii, done;

--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
--- You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to