This should be feature complete. It get's rid of all variable length memcpy
when accessing the registers in the simulator.
https://codereview.chromium.org/213943002/diff/80001/src/arm64/simulator-arm64.cc
File src/arm64/simulator-arm64.cc (right):
https://codereview.chromium.org/213943002/diff/80001/src/arm64/simulator-arm64.cc#newcode888
src/arm64/simulator-arm64.cc:888: public:
On 2014/05/19 08:12:26, Sven Panne wrote:
On 2014/05/16 18:11:46, Fritz wrote:
> On 2014/05/16 14:05:50, jbramley wrote:
> > Is 'public' necessary here?
> Yes. Below it is accessed make_unsigned<T>::type
Huh? struct = class + public, so this shouldn't be needed, unless
there is some
arcane template/namespace/overloading/... resolution rule which I
don't know.
:-)
Your correct. My mistake.
Done.
https://codereview.chromium.org/213943002/diff/80001/src/arm64/simulator-arm64.cc#newcode1934
src/arm64/simulator-arm64.cc:1934: const T kMinimumInteger =
static_cast<T>(1) << (sizeof(T) * 8 - 1);
On 2014/05/19 08:12:26, Sven Panne wrote:
Even better idea: Use <limits>:
http://www.cplusplus.com/reference/limits/numeric_limits/
Done.
https://codereview.chromium.org/213943002/diff/120001/src/arm64/simulator-arm64.h
File src/arm64/simulator-arm64.h (right):
https://codereview.chromium.org/213943002/diff/120001/src/arm64/simulator-arm64.h#newcode76
src/arm64/simulator-arm64.h:76: template<typename T>
utils-arm64.h or utils.h?
https://codereview.chromium.org/213943002/diff/120001/src/arm64/simulator-arm64.h#newcode159
src/arm64/simulator-arm64.h:159: int64_t value_;
for the SIMD registers I considered templating this class so that this
could be a uint64_t or a uint128_t.
Is that acceptable?
https://codereview.chromium.org/213943002/
--
--
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/d/optout.