jkummerow
818d61ab28
[cleanup] Delete MacroAssembler::CopyBytes, it is dead code
...
Review-Url: https://chromiumcodereview.appspot.com/2434753003
Cr-Commit-Position: refs/heads/master@{#40459}
2016-10-20 10:15:34 +00:00
akos.palfi
cb1084a800
MIPS: Fix Sltu macro instruction.
...
Fixes the case when the 'imm' is in range [8000,ffff], as the specification
says the 'imm' is sign-extended before the comparsion, so the effective range
is [max_unsigned-7fff,max_unsigned].
TEST=mjsunit/generated-transition-stub@3b8ad45e
BUG=
Review-Url: https://codereview.chromium.org/2386673002
Cr-Commit-Position: refs/heads/master@{#39922}
2016-09-30 18:29:24 +00:00
ivica.bogosavljevic
998f779727
MIPS: [compiler] [wasm] Introduce Word32/64ReverseBytes as TF Optional Opcode.
...
Port 77c9cb8341
.
Original commit message:
This commit fixes wasm little-endian load issue on big-endian platform
by introducing reverse byte operation immediately after a load.
BUG=
Review-Url: https://codereview.chromium.org/2235703002
Cr-Commit-Position: refs/heads/master@{#38660}
2016-08-16 13:07:37 +00:00
marija.antic
93809055aa
MIPS: Implement Bovc and Bnvc instruction macros.
...
Implement Bovc and Bnvc instruction macros in macro assembler.
The change 6f920d7d59
revealed an issue with AddBranchOvf for mips R6.
All branching instructions other than BOVC and BNVC are handled by Branch macro, which assures
correct handling of long and short branches. As a consequence, AddBranchOvf for R6 was working correctly
only before trampoline was emitted, but the case of long branch was not handled at all. Implemented
instruction macros enable proper handling of BOVC and BNVC in cases when long branching is needed.
TEST=test/intl/general/case-mapping.js
BUG=
Review-Url: https://codereview.chromium.org/2225323002
Cr-Commit-Position: refs/heads/master@{#38513}
2016-08-10 06:06:53 +00:00
ivica.bogosavljevic
e1e50f3fff
Implement byte swapping instructions on MIPS32 and MIPS64.
...
BUG=
Review-Url: https://codereview.chromium.org/2069933003
Cr-Commit-Position: refs/heads/master@{#37295}
2016-06-27 14:36:40 +00:00
ivica.bogosavljevic
60497de28c
MIPS: Implement unaligned access instruction.
...
Implement unaligned access instructions, and tests for corresponding
instruction
BUG=
Review-Url: https://codereview.chromium.org/1902743002
Cr-Commit-Position: refs/heads/master@{#35873}
2016-04-28 15:10:12 +00:00
ivica.bogosavljevic
d4403b172f
MIPS: Add tests for AddBranchOvf and SubBranchOvf macro instructions.
...
BUG=
Review URL: https://codereview.chromium.org/1857193002
Cr-Commit-Position: refs/heads/master@{#35320}
2016-04-07 07:16:29 +00:00
balazs.kilvady
d4a391bb7a
MIPS: Support r6 min, max floating point instructions.
...
Use macro instructions for min, max ops to get the same functionality on
pre-r6 and r6 targets.
BUG=
TEST=mjsunit/math-min-max, cctest/test-macro-assembler-mips64/min_max_nan, cctest/test-macro-assembler-mips/min_max_nan, cctest/test-assembler-mips64/min_max, cctest/test-assembler-mips/min_max
Review URL: https://codereview.chromium.org/1694833002
Cr-Commit-Position: refs/heads/master@{#35073}
2016-03-25 16:51:23 +00:00
balazs.kilvady
04a735c7e7
MIPS: Improve Lsa/Dlsa implementations.
...
Make the low level assembler implementation exact and protected to disallow explicit usage.
BUG=
Review URL: https://codereview.chromium.org/1749263002
Cr-Commit-Position: refs/heads/master@{#34673}
2016-03-10 13:41:34 +00:00
Ilija.Pavlovic
b29846c283
MIPS: Tests for convert and truncate instructions.
...
Implementation new test cases for conversion instructions Cvt_s_uw,
Cvt_s_ul, Cvt_d_ul and truncate instructions Trunc_uw_s, Trunc_ul_s,
Trunc_ul_d, Trunc_l_d, Trunc_l_ud, Trunc_w_d.
TEST=cctest/test-macro-assembler-mips/cvt_s_w_Trunc_uw_s, others
cctest/test-macro-assembler-mips64/Cvt_s_uw_Trunc_uw_s, others
BUG=
Review URL: https://codereview.chromium.org/1747863002
Cr-Commit-Position: refs/heads/master@{#34618}
2016-03-09 12:44:23 +00:00
balazs.kilvady
ebac85c0a4
MIPS: Use PC relative instructions on r6.
...
BUG=
Review URL: https://codereview.chromium.org/1628453002
Cr-Commit-Position: refs/heads/master@{#33703}
2016-02-03 13:31:30 +00:00
balazs.kilvady
0830ac7cc3
MIPS: Fix 'MIPS: Fix dd() implementations for compact branches.'
...
Port 5091e8f2f5
TEST=cctest/test-assembler-mips64/jump_tables1,cctest/test-assembler-mips64/jump_tables2,cctest/test-assembler-mips64/jump_tables3,cctest/test-macro-assembler-mips/jump_tables5
BUG=
Review URL: https://codereview.chromium.org/1582533005
Cr-Commit-Position: refs/heads/master@{#33266}
2016-01-13 15:16:31 +00:00
balazs.kilvady
5091e8f2f5
MIPS: Fix dd() implementations for compact branches.
...
BUG=
Review URL: https://codereview.chromium.org/1573953002
Cr-Commit-Position: refs/heads/master@{#33249}
2016-01-12 19:49:18 +00:00
balazs.kilvady
8d6899c827
MIPS: Add lsa and dlsa r6 instructions.
...
BUG=
Review URL: https://codereview.chromium.org/1545013002
Cr-Commit-Position: refs/heads/master@{#33127}
2016-01-05 19:46:15 +00:00
jochen
6f472db65a
Disable soon to be deprecated APIs per default for v8
...
Embedders still can use those APIs by default
test-api.cc still has an exception to use the old APIs...
BUG=v8:4143
R=vogelheim@chromium.org
LOG=n
Review URL: https://codereview.chromium.org/1505803004
Cr-Commit-Position: refs/heads/master@{#32701}
2015-12-09 10:35:04 +00:00
jochen
aa9cfc8222
Make whether or not a Code object should be created by masm explicit
...
We always want to have an Isolate, so just use an extra ctor arg
BUG=2487
R=yangguo@chromium.org ,mstarzinger@chromium.org
LOG=n
Review URL: https://codereview.chromium.org/1476763002
Cr-Commit-Position: refs/heads/master@{#32277}
2015-11-25 14:23:56 +00:00
jochen
0da1a0c068
Remove v8::i::Isolate::Current from cctests
...
BUG=2487
R=yangguo@chromium.org
LOG=n
Review URL: https://codereview.chromium.org/1468943002
Cr-Commit-Position: refs/heads/master@{#32176}
2015-11-23 12:38:33 +00:00
jochen
c7aace4d43
Remove a bunch of Isolate::Current() callsites from simulators
...
BUG=2487
R=ulan@chromium.org
LOG=n
Review URL: https://codereview.chromium.org/1457223005
Cr-Commit-Position: refs/heads/master@{#32164}
2015-11-23 08:10:06 +00:00
jochen
91769a6a96
Remove deprecated functions the smaller half of the remaing tests
...
BUG=4134
R=epertoso@chromium.org
LOG=n
Review URL: https://codereview.chromium.org/1449393002
Cr-Commit-Position: refs/heads/master@{#32035}
2015-11-17 12:42:44 +00:00
jochen
6ce7f90aba
Map v8::Object to v8::internal::JSReceiver
...
BUG=none
R=verwaest@chromium.org ,rossberg@chromium.org,bmeurer@chromium.org,neis@chromium.org
LOG=y
Review URL: https://codereview.chromium.org/1413463006
Cr-Commit-Position: refs/heads/master@{#32014}
2015-11-16 16:48:54 +00:00
paul.lind
f0d1106a3f
MIPS: Fix BlockTrampolinePoolFor() to emit trampoline before blocking, if needed.
...
Fixes possible failure in AssembleArchTableSwitch().
BUG=v8:4294
LOG=y
Review URL: https://codereview.chromium.org/1229863004
Cr-Commit-Position: refs/heads/master@{#29589}
2015-07-13 07:28:38 +00:00
paul.lind
3552f87e8f
MIPS: Use signaling NaN for holes in fixed double arrays.
...
Port 9eace97bba
Port 5d641ec969
BUG=
Review URL: https://codereview.chromium.org/867453002
Cr-Commit-Position: refs/heads/master@{#26208}
2015-01-22 06:15:02 +00:00
balazs.kilvady@imgtec.com
b9af36b1fd
MIPS: Fix cctest/NaNs after r23767 "Replace our home-grown BitCast with bit_cast from Chrome/Google3".
...
BUG=
R=plind44@gmail.com
Review URL: https://codereview.chromium.org/548283002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23779 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-09-08 16:14:21 +00:00
bmeurer@chromium.org
dab61bc310
Replace our home-grown BitCast with bit_cast from Chrome/Google3.
...
R=svenpanne@chromium.org
Review URL: https://codereview.chromium.org/553843002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23767 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-09-08 09:11:11 +00:00
jochen@chromium.org
a4506cd3f2
Move platform abstraction to base library
...
Also split v8-core independent methods from checks.h to base/logging.h and
merge v8checks with the rest of checks.
The CPU::FlushICache method is moved to CpuFeatures::FlushICache
RoundUp and related methods are moved to base/macros.h
Remove all layering violations from src/libplatform
BUG=none
R=jkummerow@chromium.org
LOG=n
Review URL: https://codereview.chromium.org/358363002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22092 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-06-30 13:25:46 +00:00
mstarzinger@chromium.org
fec6e62dfb
Check alpha-sorting of includes during presubmit.
...
R=rossberg@chromium.org
Review URL: https://codereview.chromium.org/333013002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21894 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-06-20 08:40:11 +00:00
jochen@chromium.org
56a486c322
Use full include paths everywhere
...
- this avoids using relative include paths which are forbidden by the style guide
- makes the code more readable since it's clear which header is meant
- allows for starting to use checkdeps
BUG=none
R=jkummerow@chromium.org , danno@chromium.org
LOG=n
Review URL: https://codereview.chromium.org/304153016
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21625 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-06-03 08:12:43 +00:00
yangguo@chromium.org
17b33fa1da
Handlify code allocation.
...
R=mstarzinger@chromium.org
Review URL: https://codereview.chromium.org/235153003
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@20795 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-04-16 11:38:56 +00:00
plind44@gmail.com
8920f345c7
MIPS: Add NaN test to cctest/test-macro-assembler-mips.
...
NaN value is different on MIPS and x86 architectures, and TEST(NaNx)
tests checks the case where a x86 NaN value is serialized into the snapshot
on the simulator during cross compilation.
BUG=
R=plind44@gmail.com
Review URL: https://codereview.chromium.org/144473008
Patch from Balazs Kilvady <kilvadyb@homejinni.com>.
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@19241 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-02-10 19:46:34 +00:00
palfia@homejinni.com
2ad4ad92ea
MIPS: Fixed a bug in CopyBytes() and new test cases for MIPS macro assembler.
...
Port r16873 (c2880bc)
BUG=
TEST=cctest/test-macro-assembler-mips
R=plind44@gmail.com
Review URL: https://codereview.chromium.org/24266007
Patch from Balazs Kilvady <kilvadyb@homejinni.com>.
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@16904 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2013-09-23 19:38:54 +00:00