[PATCH 1/2] bpf: md: de-duplicate mode SIM with prior AM [NFC]

Vineet Gupta vineet.gupta@linux.dev
Fri Mar 27 22:22:35 GMT 2026


On 3/27/26 3:11 PM, Jose E. Marchesi wrote:
>> gcc/ChangeLog:
>>
>> 	* config/bpf/bpf.md: Remove duplicate mode iterator SIM.
> We use different iterators for different categories of instructions even
> if they happen to currently cover the same set of modes, like is the
> case of AM and SIM, but also JM.  I see no reason for changing this at
> this point.

JM is technically different as it checks for bpf_has_jmp32 which is 
distinct from bpf_has_alu32.
But yeah its a minor point and the patch can be dropped, it was NFC anyways.

Thx,
-Vineet



More information about the bpf mailing list