OSDN Git Service

android-x86/art.git
7 years agoMerge "Tests on FP Math.abs()" am: 1e33d05866 am: 39edef9543
Aart Bik [Thu, 22 Dec 2016 21:19:39 +0000 (21:19 +0000)]
Merge "Tests on FP Math.abs()" am: 1e33d05866 am: 39edef9543
am: d9f5983f00

Change-Id: I9f4fc929dfd1fc8afe3c87b452bb2edd95fd441a

7 years agoMerge "Tests on FP Math.abs()" am: 1e33d05866
Aart Bik [Thu, 22 Dec 2016 21:14:40 +0000 (21:14 +0000)]
Merge "Tests on FP Math.abs()" am: 1e33d05866
am: 39edef9543

Change-Id: Ibc48675c81c1052f06aa3dc2f72fc28d925471f6

7 years agoMerge "Tests on FP Math.abs()"
Aart Bik [Thu, 22 Dec 2016 21:09:09 +0000 (21:09 +0000)]
Merge "Tests on FP Math.abs()"
am: 1e33d05866

Change-Id: Iacc0ec3d84e25b840cb1231e1a2ce48bde4bbfc0

7 years agoMerge "Tests on FP Math.abs()"
Treehugger Robot [Thu, 22 Dec 2016 21:00:40 +0000 (21:00 +0000)]
Merge "Tests on FP Math.abs()"

7 years agoMerge "Refactored compilation on host to own method. Added dx option." am: f827804c3d...
Aart Bik [Wed, 21 Dec 2016 17:18:31 +0000 (17:18 +0000)]
Merge "Refactored compilation on host to own method. Added dx option." am: f827804c3d am: 66f3a0ab02
am: 1fe4ed038d

Change-Id: I6a05b084d1784d2d42cb4c8795bbef85a8be03be

7 years agoMerge "Refactored compilation on host to own method. Added dx option." am: f827804c3d
Aart Bik [Wed, 21 Dec 2016 17:13:01 +0000 (17:13 +0000)]
Merge "Refactored compilation on host to own method. Added dx option." am: f827804c3d
am: 66f3a0ab02

Change-Id: Ied96557c2e08de3850d38d6d02073c1373d55ed6

7 years agoMerge "Refactored compilation on host to own method. Added dx option."
Aart Bik [Wed, 21 Dec 2016 17:06:30 +0000 (17:06 +0000)]
Merge "Refactored compilation on host to own method. Added dx option."
am: f827804c3d

Change-Id: I1a02265312b3a64e7746522197585212208f8f92

7 years agoMerge "Refactored compilation on host to own method. Added dx option."
Aart Bik [Wed, 21 Dec 2016 16:59:12 +0000 (16:59 +0000)]
Merge "Refactored compilation on host to own method. Added dx option."

7 years agoMerge "Update vdex in place if input_vdex_fd == output_vdex_fd" am: cb2ce333ee am...
Nicolas Geoffray [Wed, 21 Dec 2016 14:34:21 +0000 (14:34 +0000)]
Merge "Update vdex in place if input_vdex_fd == output_vdex_fd" am: cb2ce333ee am: 7c6dc4bfa3
am: 151bd20b80

Change-Id: I0aef2a983c84486d6b913857f4ed52fc0648d52a

7 years agoMerge "Update vdex in place if input_vdex_fd == output_vdex_fd" am: cb2ce333ee
Nicolas Geoffray [Wed, 21 Dec 2016 14:28:50 +0000 (14:28 +0000)]
Merge "Update vdex in place if input_vdex_fd == output_vdex_fd" am: cb2ce333ee
am: 7c6dc4bfa3

Change-Id: Iacf683111c48a8bf797326f948dce5cc6e23517a

7 years agoMerge "Update vdex in place if input_vdex_fd == output_vdex_fd"
Nicolas Geoffray [Wed, 21 Dec 2016 14:23:20 +0000 (14:23 +0000)]
Merge "Update vdex in place if input_vdex_fd == output_vdex_fd"
am: cb2ce333ee

Change-Id: I43e2c3bb8a8133493c7d4724c9514a64b22b420c

7 years agoMerge "Update vdex in place if input_vdex_fd == output_vdex_fd"
Nicolas Geoffray [Wed, 21 Dec 2016 14:12:41 +0000 (14:12 +0000)]
Merge "Update vdex in place if input_vdex_fd == output_vdex_fd"

7 years agoMerge "Point optimizations for vdex." am: bde1168f3b am: 8f22c3ac9b
Nicolas Geoffray [Wed, 21 Dec 2016 13:47:48 +0000 (13:47 +0000)]
Merge "Point optimizations for vdex." am: bde1168f3b am: 8f22c3ac9b
am: 01687ea0a5

Change-Id: If2900a96ba01f15a1764dc7356cf0cd0f0439ffe

7 years agoMerge "Point optimizations for vdex." am: bde1168f3b
Nicolas Geoffray [Wed, 21 Dec 2016 13:43:18 +0000 (13:43 +0000)]
Merge "Point optimizations for vdex." am: bde1168f3b
am: 8f22c3ac9b

Change-Id: I9313f70f702965688c8f6ff8642a5d86ea15c501

7 years agoMerge "Point optimizations for vdex."
Nicolas Geoffray [Wed, 21 Dec 2016 13:37:48 +0000 (13:37 +0000)]
Merge "Point optimizations for vdex."
am: bde1168f3b

Change-Id: I8ed430a862b5ab6e2d5d501d11b8242e2c8c62c3

7 years agoMerge "Point optimizations for vdex."
Nicolas Geoffray [Wed, 21 Dec 2016 13:30:48 +0000 (13:30 +0000)]
Merge "Point optimizations for vdex."

7 years agoMerge "Optimize OatWriter when we don't compile any method." am: 454f339775 am: 12128...
Nicolas Geoffray [Wed, 21 Dec 2016 12:46:15 +0000 (12:46 +0000)]
Merge "Optimize OatWriter when we don't compile any method." am: 454f339775 am: 12128b0f5a
am: 99f72c5ab5

Change-Id: I6f9d872a5eca2147927613ae0d2655bb5a6180e4

7 years agoMerge "Optimize OatWriter when we don't compile any method." am: 454f339775
Nicolas Geoffray [Wed, 21 Dec 2016 12:41:14 +0000 (12:41 +0000)]
Merge "Optimize OatWriter when we don't compile any method." am: 454f339775
am: 12128b0f5a

Change-Id: I6b2153318cdf9d869deb255085c9d0b61ad92ec5

7 years agoMerge "Optimize OatWriter when we don't compile any method."
Nicolas Geoffray [Wed, 21 Dec 2016 12:37:13 +0000 (12:37 +0000)]
Merge "Optimize OatWriter when we don't compile any method."
am: 454f339775

Change-Id: I28a6e8d1826d8f71a5109e25391703801324b79a

7 years agoMerge "Remove soon to be obsolete call kinds for direct calls." am: 56e2f93699 am...
Nicolas Geoffray [Wed, 21 Dec 2016 12:33:14 +0000 (12:33 +0000)]
Merge "Remove soon to be obsolete call kinds for direct calls." am: 56e2f93699 am: 8517ed52c6
am: f07f7f8be3

Change-Id: I6e99d149aaae7049ec7c47a8e808a39f9a6e72bd

7 years agoMerge "Optimize OatWriter when we don't compile any method."
Nicolas Geoffray [Wed, 21 Dec 2016 12:30:10 +0000 (12:30 +0000)]
Merge "Optimize OatWriter when we don't compile any method."

7 years agoMerge "Remove soon to be obsolete call kinds for direct calls." am: 56e2f93699
Nicolas Geoffray [Wed, 21 Dec 2016 12:29:14 +0000 (12:29 +0000)]
Merge "Remove soon to be obsolete call kinds for direct calls." am: 56e2f93699
am: 8517ed52c6

Change-Id: I25f7367cf4fa9af1c6f5eb7a0bb77343691c51be

7 years agoMerge "Remove soon to be obsolete call kinds for direct calls."
Nicolas Geoffray [Wed, 21 Dec 2016 12:23:44 +0000 (12:23 +0000)]
Merge "Remove soon to be obsolete call kinds for direct calls."
am: 56e2f93699

Change-Id: I2f21012b21068fa4e92a0bb697b741b88024ee12

7 years agoMerge "Remove soon to be obsolete call kinds for direct calls."
Nicolas Geoffray [Wed, 21 Dec 2016 12:17:42 +0000 (12:17 +0000)]
Merge "Remove soon to be obsolete call kinds for direct calls."

7 years agoPoint optimizations for vdex.
Nicolas Geoffray [Wed, 21 Dec 2016 10:29:43 +0000 (10:29 +0000)]
Point optimizations for vdex.

- Do not record assignability due to not optimized CHECKCAST.
- Do not record that j.l.Object must not be assignable to other types.
- Chase the super class boundary to avoid recording a dependency
  on a local class. This avoids doing type resolution of that class when
  verifying the VerifierDeps.

Test: test-art-host
bug: 30937355
Change-Id: Ibcee205451f23958c759ddcca7f88fe9003d37a9

7 years agoOptimize OatWriter when we don't compile any method.
Nicolas Geoffray [Tue, 20 Dec 2016 21:15:00 +0000 (21:15 +0000)]
Optimize OatWriter when we don't compile any method.

- Don't write any quickening info.
- Don't visit methods.

Saves ~20% of compilation times.

Test: test-art-host

Change-Id: Ib18fd06c0ca42308e1d81401de0ee3e6297de0ce

7 years agoUpdate vdex in place if input_vdex_fd == output_vdex_fd
Nicolas Geoffray [Tue, 20 Dec 2016 13:17:09 +0000 (13:17 +0000)]
Update vdex in place if input_vdex_fd == output_vdex_fd

Test: test-art-host
bug: 30937355
Change-Id: Ib8180d67996faec518d9092725b5de00d4dba9f6

7 years agoMerge "Disable 080-oom-fragmentation." am: 294e107e89 am: 669684d32a
Nicolas Geoffray [Wed, 21 Dec 2016 10:46:09 +0000 (10:46 +0000)]
Merge "Disable 080-oom-fragmentation." am: 294e107e89 am: 669684d32a
am: eee93b47bd

Change-Id: I634c16e93480929a9d0b8e2c5acade371e105933

7 years agoMerge "Disable 080-oom-fragmentation." am: 294e107e89
Nicolas Geoffray [Wed, 21 Dec 2016 10:41:08 +0000 (10:41 +0000)]
Merge "Disable 080-oom-fragmentation." am: 294e107e89
am: 669684d32a

Change-Id: I534b5b97a06dec516037f8689fe36013347025f2

7 years agoMerge "Disable 080-oom-fragmentation."
Nicolas Geoffray [Wed, 21 Dec 2016 10:35:08 +0000 (10:35 +0000)]
Merge "Disable 080-oom-fragmentation."
am: 294e107e89

Change-Id: I641979606347df80a9b92c3006050d5f7e62ccc4

7 years agoMerge "Disable 080-oom-fragmentation."
Nicolas Geoffray [Wed, 21 Dec 2016 10:26:25 +0000 (10:26 +0000)]
Merge "Disable 080-oom-fragmentation."

7 years agoMerge "Revert "Revert "Revert "Basic obsolete methods support"""" am: 441a5e92ae...
Nicolas Geoffray [Wed, 21 Dec 2016 09:41:19 +0000 (09:41 +0000)]
Merge "Revert "Revert "Revert "Basic obsolete methods support"""" am: 441a5e92ae am: 97ad7904e4
am: 1c93582707

Change-Id: I7d46b53e650d3ec53cd05824f0d7737b8c97c5aa

7 years agoMerge "Revert "Create test for field access in obsolete methods."" am: 30bc64006c...
Nicolas Geoffray [Wed, 21 Dec 2016 09:41:05 +0000 (09:41 +0000)]
Merge "Revert "Create test for field access in obsolete methods."" am: 30bc64006c am: 84a6c30165
am: a930975cc5

Change-Id: I83bcf8663abb69cc4d8efb8e777ffe3bc85c79f4

7 years agoMerge "Revert "Revert "Revert "Basic obsolete methods support"""" am: 441a5e92ae
Nicolas Geoffray [Wed, 21 Dec 2016 09:35:50 +0000 (09:35 +0000)]
Merge "Revert "Revert "Revert "Basic obsolete methods support"""" am: 441a5e92ae
am: 97ad7904e4

Change-Id: I41053a4c66c59fad4a5ae73d36ebebbb86dd77fc

7 years agoMerge "Revert "Create test for field access in obsolete methods."" am: 30bc64006c
Nicolas Geoffray [Wed, 21 Dec 2016 09:35:34 +0000 (09:35 +0000)]
Merge "Revert "Create test for field access in obsolete methods."" am: 30bc64006c
am: 84a6c30165

Change-Id: I5e7dc9c5d4a2de36cdb1779c546cdd7786e8df5a

7 years agoMerge "Revert "Revert "Revert "Basic obsolete methods support""""
Nicolas Geoffray [Wed, 21 Dec 2016 09:30:21 +0000 (09:30 +0000)]
Merge "Revert "Revert "Revert "Basic obsolete methods support""""
am: 441a5e92ae

Change-Id: I99ed57c3353933c045c5300fc22b1039bf4ad699

7 years agoMerge "Revert "Create test for field access in obsolete methods.""
Nicolas Geoffray [Wed, 21 Dec 2016 09:30:05 +0000 (09:30 +0000)]
Merge "Revert "Create test for field access in obsolete methods.""
am: 30bc64006c

Change-Id: I9447e7f4954b8a7ff755b73beabcd5b490106311

7 years agoMerge "Revert "Revert "Revert "Basic obsolete methods support""""
Nicolas Geoffray [Wed, 21 Dec 2016 09:26:36 +0000 (09:26 +0000)]
Merge "Revert "Revert "Revert "Basic obsolete methods support""""

7 years agoRevert "Revert "Revert "Basic obsolete methods support"""
Nicolas Geoffray [Wed, 21 Dec 2016 09:26:18 +0000 (09:26 +0000)]
Revert "Revert "Revert "Basic obsolete methods support"""

Fails in tracing mode

Bug: 32369913
Bug: 33630159

This reverts commit ce77fc0e7f60a15354bb20c356537cbf8b53b722.

Change-Id: I1bdcf6ad467f2e31f9c5d0c3c987b90a4f5efc69

7 years agoMerge "Revert "Create test for field access in obsolete methods.""
Nicolas Geoffray [Wed, 21 Dec 2016 09:25:42 +0000 (09:25 +0000)]
Merge "Revert "Create test for field access in obsolete methods.""

7 years agoRevert "Create test for field access in obsolete methods."
Nicolas Geoffray [Wed, 21 Dec 2016 09:25:19 +0000 (09:25 +0000)]
Revert "Create test for field access in obsolete methods."

Fails on ndebug.

This reverts commit 322214405bf43684dbbde2fce549b2dad53fb04a.

Change-Id: I6a6c6c4bfb230eef1b7c4cb35f7e8051561d9e78

7 years agoMerge "Revert "Cleanup jvmti tests"" am: 3e5d7dcac8 am: 518dc0604a
Nicolas Geoffray [Wed, 21 Dec 2016 09:13:03 +0000 (09:13 +0000)]
Merge "Revert "Cleanup jvmti tests"" am: 3e5d7dcac8 am: 518dc0604a
am: 712388d831

Change-Id: Iefa5389443c6fa2bd4f2a91e141ad08c1bce44c9

7 years agoMerge "Revert "Cleanup jvmti tests"" am: 3e5d7dcac8
Nicolas Geoffray [Wed, 21 Dec 2016 09:07:03 +0000 (09:07 +0000)]
Merge "Revert "Cleanup jvmti tests"" am: 3e5d7dcac8
am: 518dc0604a

Change-Id: I1b63b5ed8662e380b37dd4460d819567e051d0bf

7 years agoMerge "Revert "Cleanup jvmti tests""
Nicolas Geoffray [Wed, 21 Dec 2016 09:02:01 +0000 (09:02 +0000)]
Merge "Revert "Cleanup jvmti tests""
am: 3e5d7dcac8

Change-Id: If77d9aa348c1f4f45a74f556badcde13eef03940

7 years agoDisable 080-oom-fragmentation.
Nicolas Geoffray [Wed, 21 Dec 2016 08:58:27 +0000 (08:58 +0000)]
Disable 080-oom-fragmentation.

bug:33795328
Test: test-art-host
Change-Id: I1aa87d8564c930f5ad5f8d5c4ac75f432cb6e7e7

7 years agoMerge "Revert "Cleanup jvmti tests""
Nicolas Geoffray [Wed, 21 Dec 2016 08:56:10 +0000 (08:56 +0000)]
Merge "Revert "Cleanup jvmti tests""

7 years agoRevert "Cleanup jvmti tests"
Nicolas Geoffray [Wed, 21 Dec 2016 08:55:49 +0000 (08:55 +0000)]
Revert "Cleanup jvmti tests"

Breaks ndebug.

This reverts commit ca5b9dccced35a2dbf9626d92d3a44886aee097b.

Change-Id: I1f45fa43f554e9796f397b2f9f111689c3845692

7 years agoRefactored compilation on host to own method. Added dx option.
Aart Bik [Wed, 21 Dec 2016 03:06:37 +0000 (19:06 -0800)]
Refactored compilation on host to own method. Added dx option.

Test: jfuzzing itself
Bug: 31267855
Change-Id: I9224075ea17b57c8c36b74fa4b9e401e26d3c96e

7 years agoMerge "Temporarily disable tests 914, 915, 917, & 918 on JIT." am: d1348d8509 am...
Alex Light [Wed, 21 Dec 2016 02:14:09 +0000 (02:14 +0000)]
Merge "Temporarily disable tests 914, 915, 917, & 918 on JIT." am: d1348d8509 am: 08565f2063
am: 1a4c6846e5

Change-Id: I4a2bdf136e3a7a8354fc564a9fe7e2f8eb87ce1c

7 years agoMerge "Temporarily disable tests 914, 915, 917, & 918 on JIT." am: d1348d8509
Alex Light [Wed, 21 Dec 2016 02:10:13 +0000 (02:10 +0000)]
Merge "Temporarily disable tests 914, 915, 917, & 918 on JIT." am: d1348d8509
am: 08565f2063

Change-Id: I9525774022a1c45f5150a8d6a3a2619715c8c05a

7 years agoMerge "Temporarily disable tests 914, 915, 917, & 918 on JIT."
Alex Light [Wed, 21 Dec 2016 02:05:09 +0000 (02:05 +0000)]
Merge "Temporarily disable tests 914, 915, 917, & 918 on JIT."
am: d1348d8509

Change-Id: I73c93a95bc25010aaae2075afac54eade2d69c5e

7 years agoMerge "Temporarily disable tests 914, 915, 917, & 918 on JIT."
Alex Light [Wed, 21 Dec 2016 01:57:50 +0000 (01:57 +0000)]
Merge "Temporarily disable tests 914, 915, 917, & 918 on JIT."

7 years agoTemporarily disable tests 914, 915, 917, & 918 on JIT.
Alex Light [Wed, 21 Dec 2016 00:15:45 +0000 (16:15 -0800)]
Temporarily disable tests 914, 915, 917, & 918 on JIT.

Since these tests are very sensitive to the positioning of
runtime methods due to bugs we will temporarily disable them.

Bug: 33630159
Bug: 33616143
Test: ART_TEST_JIT=true mma -j40 test-art-host
Change-Id: I38795029eed2ea8416d24a259f3a7925d95684c6

7 years agoMerge "Fix transfer over rejected induction." am: 0239c439e4 am: 09dcfdb079
Aart Bik [Tue, 20 Dec 2016 21:01:53 +0000 (21:01 +0000)]
Merge "Fix transfer over rejected induction." am: 0239c439e4 am: 09dcfdb079
am: b1a99edf3b

Change-Id: I23d6a7af0f92c2c8f789c62b5a05cac46f9edb74

7 years agoMerge "Fix transfer over rejected induction." am: 0239c439e4
Aart Bik [Tue, 20 Dec 2016 21:00:49 +0000 (21:00 +0000)]
Merge "Fix transfer over rejected induction." am: 0239c439e4
am: 09dcfdb079

Change-Id: I43ce10ca9d90ca1f130cf6df7cb6e1e1182f9570

7 years agoMerge "Handle ART_USE_READ_BARRIER as a product variable." am: 364fedb63f am: 69e27ed018
Hiroshi Yamauchi [Tue, 20 Dec 2016 20:58:31 +0000 (20:58 +0000)]
Merge "Handle ART_USE_READ_BARRIER as a product variable." am: 364fedb63f am: 69e27ed018
am: 142144effa

Change-Id: I4447d24a2d9d634ac7849f4d336bd5e8783edf8c

7 years agoMerge "Create test for field access in obsolete methods." am: bd1ec61522 am: e681acf5c8
Alex Light [Tue, 20 Dec 2016 20:58:10 +0000 (20:58 +0000)]
Merge "Create test for field access in obsolete methods." am: bd1ec61522 am: e681acf5c8
am: be8bbc018a

Change-Id: Ib5c4903d5343146c6999400254eeb8ccc0de47d4

7 years agoMerge changes Ie74f2dbe,I092d2e95,I5a75f5c4 am: 07001c8540 am: 279b504ff9
Calin Juravle [Tue, 20 Dec 2016 20:57:32 +0000 (20:57 +0000)]
Merge changes Ie74f2dbe,I092d2e95,I5a75f5c4 am: 07001c8540 am: 279b504ff9
am: 3603192dba

Change-Id: I040be63e1617fc0814f429b1b93685b353f1da23

7 years agoFix 616-cha assumptions. am: 6cb21552c9 am: 43b4442adf
Calin Juravle [Tue, 20 Dec 2016 20:57:21 +0000 (20:57 +0000)]
Fix 616-cha assumptions. am: 6cb21552c9 am: 43b4442adf
am: 093bdac545

Change-Id: I45d8ad8f691e3e9222c7c6a32c02966df28915ba

7 years agoFix JIT crash due to unverified dead code am: 857f058d4b am: 9bef8c0b18
Calin Juravle [Tue, 20 Dec 2016 20:57:10 +0000 (20:57 +0000)]
Fix JIT crash due to unverified dead code am: 857f058d4b am: 9bef8c0b18
am: 3fc9c965f8

Change-Id: I60bf425b2c9f0cece50920f4904def89ca8441ec

7 years agoUse interpret-only instead of verify-at-runtime when testing JIT am: 0966558b07 am...
Calin Juravle [Tue, 20 Dec 2016 20:57:00 +0000 (20:57 +0000)]
Use interpret-only instead of verify-at-runtime when testing JIT am: 0966558b07 am: ed7dca9c1a
am: 20b7be6ead

Change-Id: I7367b20ab2a5ea902b4f093d7f4f3934b5227bc5

7 years agoMerge changes I8cc87bac,If1a92e47 am: 1aa03b379f am: f8698e7990
Alex Light [Tue, 20 Dec 2016 20:56:24 +0000 (20:56 +0000)]
Merge changes I8cc87bac,If1a92e47 am: 1aa03b379f am: f8698e7990
am: 48a29c614e

Change-Id: I1d6d1f56eb2e528bc345102b0824a826237dee13

7 years agoCleanup jvmti tests am: ca5b9dccce am: 8357401508
Alex Light [Tue, 20 Dec 2016 20:56:13 +0000 (20:56 +0000)]
Cleanup jvmti tests am: ca5b9dccce am: 8357401508
am: 4357676539

Change-Id: Ic8c88b614bfab980c572b2f1e998c426dafc6ab1

7 years agoRevert "Revert "Basic obsolete methods support"" am: ce77fc0e7f am: dd778157f5
Alex Light [Tue, 20 Dec 2016 20:56:03 +0000 (20:56 +0000)]
Revert "Revert "Basic obsolete methods support"" am: ce77fc0e7f am: dd778157f5
am: 0402ad47b5

Change-Id: I80fd533a00b787c30e1791b2701ae5224f9cb1ba

7 years agoMerge "ARM: VIXL32: Use 16-bit encoding for B(cond,...) where possible." am: 1ffb6fc9...
Nicolas Geoffray [Tue, 20 Dec 2016 20:55:49 +0000 (20:55 +0000)]
Merge "ARM: VIXL32: Use 16-bit encoding for B(cond,...) where possible." am: 1ffb6fc921 am: a95ad64de4
am: 4ed641b480

Change-Id: I71d436535c6cb2ada3a248ea118c3a2fad7d1b59

7 years agoMerge "Fix transfer over rejected induction."
Aart Bik [Tue, 20 Dec 2016 20:55:47 +0000 (20:55 +0000)]
Merge "Fix transfer over rejected induction."
am: 0239c439e4

Change-Id: I5fb5aa26a399fefe7834fff8c3d3fb48dcbb8e4d

7 years agoTests on FP Math.abs()
Aart Bik [Mon, 19 Dec 2016 21:57:31 +0000 (13:57 -0800)]
Tests on FP Math.abs()

Rationale:
As a "quality of implementation" rather than pure "spec compliance"
we require that Math.abs() clears the sign bit (but changes nothing
else) for all numbers, including NaN.

These tests ensure that remains the case.

**NOTE**
This CL depends on the pending libcore change
(https://android-review.googlesource.com/#/c/316368/).

Test: test-art-host
Bug: 30758343

Change-Id: I01044a73992b2e89d97060ed8bbb76abea0933b9

7 years agoMerge "Fix transfer over rejected induction."
Aart Bik [Tue, 20 Dec 2016 20:46:20 +0000 (20:46 +0000)]
Merge "Fix transfer over rejected induction."

7 years agoMerge "Handle ART_USE_READ_BARRIER as a product variable." am: 364fedb63f
Hiroshi Yamauchi [Tue, 20 Dec 2016 20:40:02 +0000 (20:40 +0000)]
Merge "Handle ART_USE_READ_BARRIER as a product variable." am: 364fedb63f
am: 69e27ed018

Change-Id: I61606dc9769f3d4160656c9aa0c54c6aaf5c2975

7 years agoMerge "Create test for field access in obsolete methods." am: bd1ec61522
Alex Light [Tue, 20 Dec 2016 20:39:40 +0000 (20:39 +0000)]
Merge "Create test for field access in obsolete methods." am: bd1ec61522
am: e681acf5c8

Change-Id: I21990ad9c9d470a200e86c5c0068fffb5964ec6f

7 years agoMerge changes Ie74f2dbe,I092d2e95,I5a75f5c4 am: 07001c8540
Calin Juravle [Tue, 20 Dec 2016 20:38:59 +0000 (20:38 +0000)]
Merge changes Ie74f2dbe,I092d2e95,I5a75f5c4 am: 07001c8540
am: 279b504ff9

Change-Id: Ia8cfe426ed86ad547968ffa9609c6fe341abfbe5

7 years agoFix 616-cha assumptions. am: 6cb21552c9
Calin Juravle [Tue, 20 Dec 2016 20:38:49 +0000 (20:38 +0000)]
Fix 616-cha assumptions. am: 6cb21552c9
am: 43b4442adf

Change-Id: I8cef8ee6be9b6b561893cc3a3ed48829f0255b05

7 years agoFix JIT crash due to unverified dead code am: 857f058d4b
Calin Juravle [Tue, 20 Dec 2016 20:38:38 +0000 (20:38 +0000)]
Fix JIT crash due to unverified dead code am: 857f058d4b
am: 9bef8c0b18

Change-Id: I5a3efc0f6679a9099fa9badc9a33d5b2aae01d9e

7 years agoUse interpret-only instead of verify-at-runtime when testing JIT am: 0966558b07
Calin Juravle [Tue, 20 Dec 2016 20:38:28 +0000 (20:38 +0000)]
Use interpret-only instead of verify-at-runtime when testing JIT am: 0966558b07
am: ed7dca9c1a

Change-Id: I1e8ce67e6e750199dafdc17a9e20a90ba740c9ff

7 years agoMerge changes I8cc87bac,If1a92e47 am: 1aa03b379f
Alex Light [Tue, 20 Dec 2016 20:37:55 +0000 (20:37 +0000)]
Merge changes I8cc87bac,If1a92e47 am: 1aa03b379f
am: f8698e7990

Change-Id: I7c13b1e52e66adade9effe128550e1dc105d4a7e

7 years agoCleanup jvmti tests am: ca5b9dccce
Alex Light [Tue, 20 Dec 2016 20:37:44 +0000 (20:37 +0000)]
Cleanup jvmti tests am: ca5b9dccce
am: 8357401508

Change-Id: I68d020f83cc93f9efab0e6ca8bd6b0b369796eb3

7 years agoRevert "Revert "Basic obsolete methods support"" am: ce77fc0e7f
Alex Light [Tue, 20 Dec 2016 20:37:33 +0000 (20:37 +0000)]
Revert "Revert "Basic obsolete methods support"" am: ce77fc0e7f
am: dd778157f5

Change-Id: Iac34225d66b9302af4ef3e79f60b0aa8dbf075b3

7 years agoMerge "ARM: VIXL32: Use 16-bit encoding for B(cond,...) where possible." am: 1ffb6fc921
Nicolas Geoffray [Tue, 20 Dec 2016 20:37:17 +0000 (20:37 +0000)]
Merge "ARM: VIXL32: Use 16-bit encoding for B(cond,...) where possible." am: 1ffb6fc921
am: a95ad64de4

Change-Id: Ib8f63635d340ab9f3ea0ff3850e0b1a6b9007fed

7 years agoFix transfer over rejected induction.
Aart Bik [Tue, 20 Dec 2016 19:13:03 +0000 (11:13 -0800)]
Fix transfer over rejected induction.

Rationale:
With the more precise rejection of narrowing
linear induction, parent rules should be
prepared to reject failed transfers. Also
added a bit more comments to clarify rules.
With regression tests.

Bug: 33774618
Test: test-art-host
Change-Id: I4a206e51d4359ab383379914dd4697fc81903547

7 years agoMerge "Handle ART_USE_READ_BARRIER as a product variable."
Hiroshi Yamauchi [Tue, 20 Dec 2016 19:04:13 +0000 (19:04 +0000)]
Merge "Handle ART_USE_READ_BARRIER as a product variable."
am: 364fedb63f

Change-Id: I50fe21259a1b6bc51ecc8fd278164fef11db9035

7 years agoMerge "Handle ART_USE_READ_BARRIER as a product variable."
Hiroshi Yamauchi [Tue, 20 Dec 2016 18:56:19 +0000 (18:56 +0000)]
Merge "Handle ART_USE_READ_BARRIER as a product variable."

7 years agoMerge "Create test for field access in obsolete methods."
Alex Light [Tue, 20 Dec 2016 18:55:10 +0000 (18:55 +0000)]
Merge "Create test for field access in obsolete methods."
am: bd1ec61522

Change-Id: I0c071547bd5070d88e1e91d6796365366617a012

7 years agoMerge "Create test for field access in obsolete methods."
Alex Light [Tue, 20 Dec 2016 18:45:54 +0000 (18:45 +0000)]
Merge "Create test for field access in obsolete methods."

7 years agoMerge changes Ie74f2dbe,I092d2e95,I5a75f5c4
Calin Juravle [Tue, 20 Dec 2016 18:42:30 +0000 (18:42 +0000)]
Merge changes Ie74f2dbe,I092d2e95,I5a75f5c4
am: 07001c8540

Change-Id: I7152ae8d2689fd2995d4c9c5443ff62a59734754

7 years agoFix 616-cha assumptions.
Calin Juravle [Tue, 20 Dec 2016 18:42:28 +0000 (18:42 +0000)]
Fix 616-cha assumptions.
am: 6cb21552c9

Change-Id: If520e0315882f5d48814d84a584dd89634cc3f22

7 years agoFix JIT crash due to unverified dead code
Calin Juravle [Tue, 20 Dec 2016 18:42:20 +0000 (18:42 +0000)]
Fix JIT crash due to unverified dead code
am: 857f058d4b

Change-Id: I7d8c08c35ac56ab72aaae41663794c7f96b8b485

7 years agoUse interpret-only instead of verify-at-runtime when testing JIT
Calin Juravle [Tue, 20 Dec 2016 18:42:11 +0000 (18:42 +0000)]
Use interpret-only instead of verify-at-runtime when testing JIT
am: 0966558b07

Change-Id: Ib0d76c219a887086626e6384ad19ec6b8c05eb9b

7 years agoMerge changes I8cc87bac,If1a92e47
Alex Light [Tue, 20 Dec 2016 18:41:38 +0000 (18:41 +0000)]
Merge changes I8cc87bac,If1a92e47
am: 1aa03b379f

Change-Id: I830f6fb2937d561a5d7762ac35b93ea6e6f72df7

7 years agoCleanup jvmti tests
Alex Light [Tue, 20 Dec 2016 18:41:37 +0000 (18:41 +0000)]
Cleanup jvmti tests
am: ca5b9dccce

Change-Id: I6acbcddf3eb32749d5c7e15bbe7a27d301f830ee

7 years agoRevert "Revert "Basic obsolete methods support""
Alex Light [Tue, 20 Dec 2016 18:41:25 +0000 (18:41 +0000)]
Revert "Revert "Basic obsolete methods support""
am: ce77fc0e7f

Change-Id: I086f8b0b3c23ec64ffb577e9946c477dc5d82794

7 years agoMerge "ARM: VIXL32: Use 16-bit encoding for B(cond,...) where possible."
Nicolas Geoffray [Tue, 20 Dec 2016 18:41:10 +0000 (18:41 +0000)]
Merge "ARM: VIXL32: Use 16-bit encoding for B(cond,...) where possible."
am: 1ffb6fc921

Change-Id: I2c171a03e02067998e8cebc8aedeb6265d6db89d

7 years agoMerge changes Ie74f2dbe,I092d2e95,I5a75f5c4
Treehugger Robot [Tue, 20 Dec 2016 17:49:02 +0000 (17:49 +0000)]
Merge changes Ie74f2dbe,I092d2e95,I5a75f5c4

* changes:
  Fix 616-cha assumptions.
  Fix JIT crash due to unverified dead code
  Use interpret-only instead of verify-at-runtime when testing JIT

7 years agoCreate test for field access in obsolete methods.
Alex Light [Tue, 20 Dec 2016 16:55:35 +0000 (08:55 -0800)]
Create test for field access in obsolete methods.

Test: ./test/run-test --host 918
Change-Id: Idf27a0a713e12876e35de5c24bf5d12984881927

7 years agoMerge changes I8cc87bac,If1a92e47
Alex Light [Tue, 20 Dec 2016 16:42:09 +0000 (16:42 +0000)]
Merge changes I8cc87bac,If1a92e47

* changes:
  Cleanup jvmti tests
  Revert "Revert "Basic obsolete methods support""

7 years agoFix 616-cha assumptions.
Calin Juravle [Mon, 19 Dec 2016 15:38:07 +0000 (15:38 +0000)]
Fix 616-cha assumptions.

616-cha relies that some classes are not loaded at startup. Disable the
app image to prevent that.

Test: ART_TEST_JIT=true m test-art-host-run-test-616-cha
Change-Id: Ie74f2dbeae0f898d42051f248492126615ffdad6

7 years agoFix JIT crash due to unverified dead code
Calin Juravle [Tue, 20 Dec 2016 14:36:59 +0000 (14:36 +0000)]
Fix JIT crash due to unverified dead code

The JIT compiler assumes that it only gets completely verified code. To
work around potential unverified dead code it uses kAccDontBotherCompile
flag set during runtime verification. However, if a class is verified
during a prior dex2oat the flag is not persisted and JIT happily things
that everything is ok.

The simplest fix is to mark classes with potential unverified dex code
as verify at runtime. We only do this for apps and assume that
everything in the boot image is well formed.

Test: m test-art-host
Bug: 31000839
Change-Id: I092d2e9553cd1c577036d78e8563a7a39d6cb7b9

7 years agoUse interpret-only instead of verify-at-runtime when testing JIT
Calin Juravle [Tue, 20 Dec 2016 14:00:48 +0000 (14:00 +0000)]
Use interpret-only instead of verify-at-runtime when testing JIT

That's because we run most of our products with interpret-only and not
verify-at-runtime.

Test: ART_TEST_JIT=true m test-art-host
Change-Id: I5a75f5c47a9e811db3ee7c3475a03fb648dba80d

7 years agoMerge "ARM: VIXL32: Use 16-bit encoding for B(cond,...) where possible."
Nicolas Geoffray [Tue, 20 Dec 2016 13:52:48 +0000 (13:52 +0000)]
Merge "ARM: VIXL32: Use 16-bit encoding for B(cond,...) where possible."

7 years agoRemove soon to be obsolete call kinds for direct calls.
Nicolas Geoffray [Sun, 18 Dec 2016 15:52:36 +0000 (15:52 +0000)]
Remove soon to be obsolete call kinds for direct calls.

And remove CompilerDriver::GetCodeAndMethodForDirectCall in
preparation of removing non-PIC prebuild and non-PIC on-device
boot image compilation.

Test: test-art-host test-art-target
bug:33192586
Change-Id: Ic48e3e8b9d7605dd0e66f31d458a182198ba9578

7 years agoMerge "MIPS64: Improve string and class loads." am: 06ce6d4359 am: de28871afe
Alexey Frunze [Tue, 20 Dec 2016 12:17:16 +0000 (12:17 +0000)]
Merge "MIPS64: Improve string and class loads." am: 06ce6d4359 am: de28871afe
am: 88d342757f

Change-Id: Idad67e24f19b74370f07d7781bf2a46805f29256