zra@google.com
dad3270d95
Implements far branch targets for MIPS.
...
This change adds a flag --mips-far-branches, which when set causes
relative branches to be converted to absolute branches by determining
the PC, adding the branch offset to it, and using the jr or jalr
instruction to jump if the branch test passes.
This procedure clobbers the assembler temporary TMP, so TMP can no
longer be used in a branch test or in the branch delay slot of a
relative branch. Because TMP can't be used in a branch test, a
new temporary is introduced CMPRES2. This change replaces TMP with
CMPRES1 or another register where TMP can no longer be used.
Tests that were failing due to a too-far relative have the
--mips-far-branches flag set.
R=regis@google.com
Review URL: https://codereview.chromium.org//20369003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@25543 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-26 23:30:32 +00:00
..
2013-04-15 13:48:25 +00:00
2013-07-12 15:16:52 +00:00
2013-06-27 18:37:53 +00:00
2013-04-05 19:43:16 +00:00
2013-04-05 19:43:16 +00:00
2013-04-12 10:28:29 +00:00
2013-05-28 17:30:37 +00:00
2013-04-12 09:34:52 +00:00
2013-04-12 10:28:29 +00:00
2013-04-12 10:28:29 +00:00
2013-04-05 19:43:16 +00:00
2013-04-05 19:43:16 +00:00
2013-04-05 19:43:16 +00:00
2013-04-05 19:43:16 +00:00
2013-04-05 19:43:16 +00:00
2013-05-28 17:30:37 +00:00
2013-07-26 23:30:32 +00:00
2013-04-05 19:43:16 +00:00
2013-04-05 19:43:16 +00:00
2013-04-05 19:43:16 +00:00
2013-04-05 19:43:16 +00:00
2013-04-11 09:27:54 +00:00
2013-04-05 19:43:16 +00:00
2013-04-05 19:43:16 +00:00
2013-05-03 12:12:17 +00:00
2013-04-05 19:43:16 +00:00
2013-04-10 09:23:26 +00:00
2013-04-08 16:07:34 +00:00
2013-04-08 16:07:34 +00:00
2013-04-08 16:07:34 +00:00
2013-04-05 19:43:16 +00:00
2013-04-08 16:07:34 +00:00
2013-04-08 16:07:34 +00:00
2013-04-08 16:07:34 +00:00
2013-04-08 16:07:34 +00:00
2013-04-08 16:07:34 +00:00
2013-04-08 16:07:34 +00:00
2013-04-08 16:07:34 +00:00
2013-04-08 16:07:34 +00:00
2013-04-08 16:07:34 +00:00
2013-04-08 16:07:34 +00:00
2013-04-08 16:07:34 +00:00
2013-04-08 16:07:34 +00:00
2013-04-08 16:07:34 +00:00
2013-06-25 15:57:06 +00:00
2013-06-25 15:57:06 +00:00
2013-04-05 19:43:16 +00:00
2013-07-04 11:44:55 +00:00
2013-07-03 14:51:30 +00:00
2013-04-05 19:43:16 +00:00
2013-04-05 19:43:16 +00:00
2013-04-05 19:43:16 +00:00
2013-04-05 19:43:16 +00:00
2013-04-05 19:43:16 +00:00
2013-07-26 23:30:32 +00:00
2013-04-05 19:43:16 +00:00
2013-04-10 07:12:50 +00:00
2013-06-13 12:11:13 +00:00
2013-04-05 19:43:16 +00:00
2013-04-08 16:07:34 +00:00
2013-04-08 16:07:34 +00:00
2013-04-08 16:07:34 +00:00
2013-04-08 16:07:34 +00:00
2013-04-05 19:43:16 +00:00
2013-04-08 16:07:34 +00:00
2013-04-08 16:07:34 +00:00
2013-04-08 16:07:34 +00:00
2013-04-08 16:07:34 +00:00
2013-04-08 16:07:34 +00:00
2013-04-05 19:43:16 +00:00
2013-04-12 09:34:52 +00:00
2013-06-24 12:45:10 +00:00
2013-04-12 09:34:52 +00:00
2013-04-05 19:43:16 +00:00
2013-04-15 14:02:43 +00:00
2013-04-05 19:43:16 +00:00
2013-04-08 16:07:34 +00:00
2013-06-27 18:37:53 +00:00
2013-04-05 19:43:16 +00:00
2013-04-08 16:07:34 +00:00
2013-04-15 14:32:16 +00:00
2013-04-05 19:43:16 +00:00
2013-04-05 19:43:16 +00:00
2013-04-08 16:07:34 +00:00
2013-06-20 15:45:38 +00:00
2013-04-05 19:43:16 +00:00
2013-06-20 15:45:38 +00:00
2013-04-05 19:43:16 +00:00
2013-04-15 18:51:28 +00:00
2013-04-05 19:43:16 +00:00
2013-04-05 19:43:16 +00:00
2013-04-05 19:43:16 +00:00
2013-06-27 17:02:37 +00:00
2013-06-27 17:02:37 +00:00
2013-04-05 19:43:16 +00:00
2013-04-05 19:43:16 +00:00
2013-06-26 10:57:30 +00:00
2013-06-27 18:37:53 +00:00
2013-06-20 12:13:00 +00:00
2013-04-05 19:43:16 +00:00
2013-04-05 19:43:16 +00:00
2013-05-03 12:10:59 +00:00
2013-04-11 14:14:29 +00:00
2013-04-05 19:43:16 +00:00
2013-06-24 12:45:10 +00:00
2013-06-24 12:45:10 +00:00
2013-04-15 16:25:21 +00:00
2013-04-15 14:02:43 +00:00
2013-04-05 19:43:16 +00:00
2013-04-05 19:43:16 +00:00
2013-04-05 19:43:16 +00:00
2013-04-05 19:43:16 +00:00
2013-04-11 08:32:31 +00:00
2013-04-15 15:10:23 +00:00
2013-04-15 14:02:43 +00:00
2013-04-15 16:25:21 +00:00
2013-04-11 08:32:31 +00:00
2013-04-15 16:25:21 +00:00
2013-04-15 13:52:29 +00:00
2012-11-12 23:15:29 +00:00
2013-04-11 14:14:29 +00:00
2013-07-26 23:30:32 +00:00
2013-07-11 12:59:12 +00:00
2013-04-13 00:52:24 +00:00
2013-06-24 12:45:10 +00:00
2013-06-24 12:45:10 +00:00
2013-06-27 13:17:16 +00:00
2013-06-27 13:17:16 +00:00
2013-04-05 19:43:16 +00:00
2013-06-24 12:45:10 +00:00
2013-04-05 19:43:16 +00:00
2013-04-05 19:43:16 +00:00
2013-06-24 12:45:10 +00:00
2013-06-10 12:43:38 +00:00
2013-07-11 12:59:12 +00:00
2013-04-05 19:43:16 +00:00
2013-04-05 19:43:16 +00:00
2013-04-05 19:43:16 +00:00
2013-04-05 19:43:16 +00:00
2013-04-05 19:43:16 +00:00
2013-04-05 19:43:16 +00:00
2013-04-05 19:43:16 +00:00
2013-04-05 19:43:16 +00:00
2013-04-05 19:43:16 +00:00
2013-04-05 19:43:16 +00:00
2013-04-05 19:43:16 +00:00
2013-05-28 17:30:37 +00:00
2013-04-05 19:43:16 +00:00
2013-04-05 19:43:16 +00:00
2013-04-05 19:43:16 +00:00
2013-04-05 19:43:16 +00:00
2013-04-05 19:43:16 +00:00
2013-04-05 19:43:16 +00:00
2013-04-05 19:43:16 +00:00
2013-04-05 19:43:16 +00:00
2013-04-05 19:43:16 +00:00
2013-04-05 19:43:16 +00:00
2013-04-05 19:43:16 +00:00
2013-04-05 19:43:16 +00:00
2013-06-24 12:45:10 +00:00
2013-06-24 12:45:10 +00:00
2013-06-24 12:45:10 +00:00
2013-04-05 19:43:16 +00:00
2013-06-24 12:45:10 +00:00
2013-06-24 12:45:10 +00:00
2013-06-24 12:45:10 +00:00
2013-05-28 17:30:37 +00:00
2013-07-11 12:59:12 +00:00
2013-04-05 19:43:16 +00:00
2013-04-05 19:43:16 +00:00
2013-06-27 17:02:37 +00:00
2013-06-27 17:02:37 +00:00
2013-04-05 19:43:16 +00:00
2013-04-05 19:43:16 +00:00
2013-04-05 19:43:16 +00:00
2013-04-05 19:43:16 +00:00
2013-05-28 17:30:37 +00:00
2013-04-05 19:43:16 +00:00
2013-04-05 19:43:16 +00:00
2013-04-05 19:43:16 +00:00
2013-04-05 19:43:16 +00:00
2013-06-12 08:37:36 +00:00
2013-04-05 19:43:16 +00:00
2013-04-05 19:43:16 +00:00
2013-04-05 19:43:16 +00:00
2013-04-05 19:43:16 +00:00
2013-04-05 19:43:16 +00:00
2013-04-05 19:43:16 +00:00
2013-04-05 19:43:16 +00:00
2013-06-18 13:59:19 +00:00
2013-05-23 14:30:16 +00:00
2013-04-05 19:43:16 +00:00
2013-04-05 19:43:16 +00:00
2013-04-15 13:48:25 +00:00
2013-04-17 12:19:07 +00:00
2013-04-05 19:43:16 +00:00
2013-06-18 06:05:28 +00:00
2013-05-28 13:35:01 +00:00
2013-05-28 13:35:01 +00:00
2013-06-06 14:06:51 +00:00
2013-06-13 12:19:09 +00:00
2013-05-28 13:35:01 +00:00
2013-05-28 13:35:01 +00:00