[PATCH v2 10/47] s390: Add support for three optional operands in dis-/assembly

Jens Remus jremus@linux.ibm.com
Tue Nov 10 16:50:05 GMT 2026


On 11/10/2026 9:23 AM, Andreas Krebbel wrote:
> On 11/6/26 4:57 PM, Jens Remus wrote:
>> diff --git a/include/opcode/s390.h b/include/opcode/s390.h
>> index 85c34a766148..8335fd6b9104 100644
>> --- a/include/opcode/s390.h
>> +++ b/include/opcode/s390.h
>> @@ -54,6 +54,8 @@ enum s390_opcode_cpu_val
>>   /* Last one or two instruction operands are optional.  */
> Update comment?

/* Trailing one, two, or three instruction operands are optional.  */

>>   #define S390_INSTR_FLAG_OPTPARM 0x1
>>   #define S390_INSTR_FLAG_OPTPARM2 0x2
>> +#define S390_INSTR_FLAG_OPTPARM3 0x3
>> +#define S390_INSTR_FLAG_OPTPARM_MASK 0x3
>>

Regards,
Jens
-- 
Jens Remus
Linux on Z Development (D3303)
jremus@de.ibm.com / jremus@linux.ibm.com

IBM Deutschland Research & Development GmbH; Vorsitzender des Aufsichtsrats: Wolfgang Wendt; Geschäftsführung: David Faller; Sitz der Gesellschaft: Ehningen; Registergericht: Amtsgericht Stuttgart, HRB 243294
IBM Data Privacy Statement: https://www.ibm.com/privacy/



More information about the Binutils mailing list