Re: [PATCH 2/2] ARC: Use intrinsics for __builtin_sub_overflow*()

2024-04-19 Thread Shahab Vahedi
Hi Claudiu, On 9/7/23 12:15, Claudiu Zissulescu Ianculescu wrote: > OK, > > Thank you for your contribution, > Claudiu Could you commit this patch? > > On Wed, Sep 6, 2023 at 3:50 PM Shahab Vahedi > wrote: >> >> This patch covers signed and unsigned

Re: [PATCH 1/2] ARC: Use intrinsics for __builtin_add_overflow*()

2024-04-19 Thread Shahab Vahedi
Hi Clauudiu, On 9/7/23 12:15, Claudiu Zissulescu Ianculescu wrote: > Ok. > > Thank you for your contribution, > Claudiu Could you commit this patch? > > On Wed, Sep 6, 2023 at 3:50 PM Shahab Vahedi > wrote: >> >> This patch covers signed and unsigned additi

[PATCH 2/2] ARC: Use intrinsics for __builtin_sub_overflow*()

2023-09-06 Thread Shahab Vahedi via Gcc-patches
expand. (subsi3_c): New insn. (usubvsi4): New expand. gcc/testsuite/ChangeLog: * gcc.target/arc/overflow-2.c: New. Signed-off-by: Shahab Vahedi --- gcc/config/arc/arc.md | 48 +++ gcc/testsuite/gcc.target/arc/overflow-2.c | 97

[PATCH 1/2] ARC: Use intrinsics for __builtin_add_overflow*()

2023-09-06 Thread Shahab Vahedi via Gcc-patches
/testsuite/ChangeLog: * gcc.target/arc/overflow-1.c: New. Signed-off-by: Shahab Vahedi --- gcc/config/arc/arc-modes.def | 1 + gcc/config/arc/arc-protos.h | 1 + gcc/config/arc/arc.cc | 26 +- gcc/config/arc/arc.md | 49

[PATCH] [ARC] Pass along -mcode-density flag to the assembler

2019-09-03 Thread Shahab Vahedi
From: Shahab Vahedi This change makes sure that if the driver is invoked with "-mcode-density" flag, then the assembler will receive it too. gcc/ 2019-09-03 Sahahb Vahedi * config/arc/arc.h (ASM_SPEC): pass -mcode-density * gcc.target/arc/code-density-flag.c