FADDP (advsimd pair)

Data processing (scalar floating-point and Advanced SIMD)

fixed bit field field the encoding fixes should be

Vector reduce fp16 add scalar

313029282726252423222120191817161514131211109876543210
010111100sz110000110110RnRd

010111100x110000110110xxxxxxxxxx

Decode Sail

if not_bool(HaveFP16Ext()) then {
    throw(Error_Undefined())
};
let 'd = UInt(Rd);
let 'n = UInt(Rn);
let 'esize = 16;
if sz == 0b1 then {
    throw(Error_Undefined())
};
let 'datasize = esize * 2;
let 'elements = 2;
let op : ReduceOp = ReduceOp_FADD;
execute_aarch64_instrs_vector_reduce_fp16_add_sisd(d, datasize, esize, n, op)

Vector reduce FP add scalar

313029282726252423222120191817161514131211109876543210
011111100sz110000110110RnRd

011111100x110000110110xxxxxxxxxx

Decode Sail

let 'd = UInt(Rd);
let 'n = UInt(Rn);
let 'esize = (32 << UInt(sz));
let 'datasize = esize * 2;
let 'elements = 2;
let op : ReduceOp = ReduceOp_FADD;
execute_aarch64_instrs_vector_reduce_fp16_add_sisd(d, datasize, esize, n, op)

Operation Sail

CheckFPAdvSIMDEnabled64();
let operand : bits('datasize) = V_read(n, datasize);
assert(constraint('datasize >= 'esize));
V_set(d, esize) = Reduce(op, operand, esize)

Made from ScarletNX's Sail at 166ad3910f80. sail-arm's definitions are Arm's ASL in Sail (BSD 3-Clause Clear, license); ScarletNX's fixups are GPL-3.0-or-later.