#include <cstdlib>
#include <cstring>
#include <iostream>
#include "include/v8-function.h"
#include "src/base/numbers/double.h"
#include "src/base/platform/platform.h"
#include "src/base/utils/random-number-generator.h"
#include "src/codegen/macro-assembler.h"
#include "src/execution/simulator.h"
#include "src/heap/factory.h"
#include "src/objects/objects-inl.h"
#include "src/utils/ostreams.h"
#include "test/common/assembler-tester.h"
#include "test/unittests/test-utils.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace v8 {
namespace internal {
using AssemblerX64Test = TestWithIsolate;
F0;
F1;
F2;
F3;
F4;
F5;
#ifdef _WIN64
static const Register arg1 = rcx;
static const Register arg2 = rdx;
#else
static const Register arg1 = …;
static const Register arg2 = …;
#endif
#define __ …
TEST_F(AssemblerX64Test, AssemblerX64ReturnOperation) { … }
TEST_F(AssemblerX64Test, AssemblerX64StackOperations) { … }
TEST_F(AssemblerX64Test, AssemblerX64ArithmeticOperations) { … }
TEST_F(AssemblerX64Test, AssemblerX64CmpbOperation) { … }
TEST_F(AssemblerX64Test, AssemblerX64ImulOperation) { … }
TEST_F(AssemblerX64Test, AssemblerX64testbwqOperation) { … }
TEST_F(AssemblerX64Test, AssemblerX64XchglOperations) { … }
TEST_F(AssemblerX64Test, AssemblerX64OrlOperations) { … }
TEST_F(AssemblerX64Test, AssemblerX64RollOperations) { … }
TEST_F(AssemblerX64Test, AssemblerX64SublOperations) { … }
TEST_F(AssemblerX64Test, AssemblerX64TestlOperations) { … }
TEST_F(AssemblerX64Test, AssemblerX64TestwOperations) { … }
TEST_F(AssemblerX64Test, AssemblerX64XorlOperations) { … }
TEST_F(AssemblerX64Test, AssemblerX64MemoryOperands) { … }
TEST_F(AssemblerX64Test, AssemblerX64ControlFlow) { … }
TEST_F(AssemblerX64Test, AssemblerX64LoopImmediates) { … }
TEST_F(AssemblerX64Test, OperandRegisterDependency) { … }
TEST_F(AssemblerX64Test, AssemblerX64LabelChaining) { … }
TEST_F(AssemblerX64Test, AssemblerMultiByteNop) { … }
#ifdef __GNUC__
#define ELEMENT_COUNT …
void DoSSE2(const v8::FunctionCallbackInfo<v8::Value>& info) { … }
TEST_F(AssemblerX64Test, StackAlignmentForSSE2) { … }
#undef ELEMENT_COUNT
#endif
TEST_F(AssemblerX64Test, AssemblerX64Extractps) { … }
F6;
TEST_F(AssemblerX64Test, AssemblerX64SSE) { … }
TEST_F(AssemblerX64Test, AssemblerX64SSE3) { … }
F7;
TEST_F(AssemblerX64Test, AssemblerX64FMA_sd) { … }
F8;
TEST_F(AssemblerX64Test, AssemblerX64FMA_ss) { … }
TEST_F(AssemblerX64Test, AssemblerX64SSE_ss) { … }
TEST_F(AssemblerX64Test, AssemblerX64AVX_ss) { … }
TEST_F(AssemblerX64Test, AssemblerX64AVX_sd) { … }
TEST_F(AssemblerX64Test, AssemblerX64BMI1) { … }
TEST_F(AssemblerX64Test, AssemblerX64LZCNT) { … }
TEST_F(AssemblerX64Test, AssemblerX64POPCNT) { … }
TEST_F(AssemblerX64Test, AssemblerX64BMI2) { … }
TEST_F(AssemblerX64Test, AssemblerX64JumpTables1) { … }
TEST_F(AssemblerX64Test, AssemblerX64JumpTables2) { … }
TEST_F(AssemblerX64Test, AssemblerX64PslldWithXmm15) { … }
F9;
TEST_F(AssemblerX64Test, AssemblerX64vmovups) { … }
TEST_F(AssemblerX64Test, AssemblerX64Regmove256bit) { … }
TEST_F(AssemblerX64Test, AssemblerX64AVX2Op256bit) { … }
TEST_F(AssemblerX64Test, AssemblerX64FloatingPoint256bit) { … }
TEST_F(AssemblerX64Test, AssemblerX64Integer256bit) { … }
TEST_F(AssemblerX64Test, AssemblerX64CmpOperations256bit) { … }
TEST_F(AssemblerX64Test, AssemblerX64FMA256bit) { … }
TEST_F(AssemblerX64Test, AssemblerX64ShiftImm128bit) { … }
TEST_F(AssemblerX64Test, AssemblerX64ShiftImm256bit) { … }
TEST_F(AssemblerX64Test, AssemblerX64BinOp256bit) { … }
TEST_F(AssemblerX64Test, F16C) { … }
TEST_F(AssemblerX64Test, AssemblerX64AVXVNNI) { … }
TEST_F(AssemblerX64Test, AssemblerX64AVXVNNIINT8) { … }
TEST_F(AssemblerX64Test, CpuFeatures_ProbeImpl) { … }
#undef __
}
}