Commit b2228102 authored by Milad Fa's avatar Milad Fa Committed by Commit Bot

S390: refactor fp_registers_ getter and setter on Sim

Change-Id: I9b40a06bdfd3b38aa25d05f2c3b8605f480b1236
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2718465Reviewed-by: 's avatarJunliang Yan <junyan@redhat.com>
Commit-Queue: Milad Fa <mfarazma@redhat.com>
Cr-Commit-Position: refs/heads/master@{#73021}
parent ae153904
......@@ -399,12 +399,10 @@ class Simulator : public SimulatorBase {
static constexpr fpr_t fp_zero = {{0}};
fpr_t get_simd_register(int reg) {
return get_simd_register_by_lane<fpr_t>(reg, 0);
}
fpr_t get_simd_register(int reg) { return fp_registers_[reg]; }
void set_simd_register(int reg, const fpr_t& v) {
set_simd_register_by_lane(reg, 0, v);
void set_simd_register(int reg, const fpr_t& value) {
fp_registers_[reg] = value;
}
// Vector register lane numbers on IBM machines are reversed compared to
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment