Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(851)

Unified Diff: runtime/lib/bigint.dart

Issue 616983003: Disable 2 intrinsics causing optimizer issues (under investigation). (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | runtime/vm/intrinsifier_arm.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/lib/bigint.dart
===================================================================
--- runtime/lib/bigint.dart (revision 40824)
+++ runtime/lib/bigint.dart (working copy)
@@ -414,9 +414,9 @@
// r_digits[0..used] = digits[0..used-1] + a_digits[0..a_used-1].
// used >= a_used > 0.
- static void _add(Uint32List digits, int used,
- Uint32List a_digits, int a_used,
- Uint32List r_digits) {
+ static void _absAdd(Uint32List digits, int used,
+ Uint32List a_digits, int a_used,
+ Uint32List r_digits) {
var c = 0;
for (var i = 0; i < a_used; i++) {
c += digits[i] + a_digits[i];
@@ -433,9 +433,9 @@
// r_digits[0..used-1] = digits[0..used-1] - a_digits[0..a_used-1].
// used >= a_used > 0.
- static void _sub(Uint32List digits, int used,
- Uint32List a_digits, int a_used,
- Uint32List r_digits) {
+ static void _absSub(Uint32List digits, int used,
+ Uint32List a_digits, int a_used,
+ Uint32List r_digits) {
var c = 0;
for (var i = 0; i < a_used; i++) {
c += digits[i] - a_digits[i];
@@ -468,7 +468,7 @@
return;
}
r._ensureLength(used + 1);
- _add(_digits, used, a._digits, a_used, r._digits);
+ _absAdd(_digits, used, a._digits, a_used, r._digits);
r._used = used + 1;
r._clamp();
}
@@ -489,7 +489,7 @@
return;
}
r._ensureLength(used);
- _sub(_digits, used, a._digits, a_used, r._digits);
+ _absSub(_digits, used, a._digits, a_used, r._digits);
r._used = used;
r._clamp();
}
« no previous file with comments | « no previous file | runtime/vm/intrinsifier_arm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698