BIC (register)

Data processing (scalar floating-point and Advanced SIMD)

fixed bit field field the encoding fixes should be

Vector arithmetic binary uniform logical and orr

313029282726252423222120191817161514131211109876543210
0Q001110011Rm000111RnRd
size

0x001110011xxxxx000111xxxxxxxxxx

Decode Sail

let 'd = UInt(Rd);
let 'n = UInt(Rn);
let 'm = UInt(Rm);
let 'esize = 8;
let 'datasize = if Q == 0b1 then 128 else 64;
let 'elements = DIV(datasize, esize);
let invert : bool = [size[0]] == 0b1;
let op : LogicalOp = if [size[1]] == 0b1 then LogicalOp_ORR else
  LogicalOp_AND;
execute_aarch64_instrs_vector_arithmetic_binary_uniform_logical_and_orr(d, datasize, invert, m, n, op)

Operation Sail

CheckFPAdvSIMDEnabled64();
let operand1 : bits('datasize) = V_read(n, datasize);
operand2 : bits('datasize) = V_read(m, datasize);
result : bits('datasize) = undefined;
if invert then {
    operand2 = not_vec(operand2)
};
match op {
  LogicalOp_AND => {
      result = operand1 & operand2
  },
  LogicalOp_ORR => {
      result = operand1 | operand2
  },
  _ => ()
};
V_set(d, datasize) = result

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.