Why does GCC(libgcc) pack libgcc_eh.a into libgcc.a in baremetal ?

2022-04-21 Thread Jojo R via Gcc
Hi, Are there some history or reason for this design ? I think it’s clear & simple to keep coherent logic, namely that there should be libgcc_eh.a for exceptions :) Add Makefile.in segment of libgcc as following: # Build LIB2ADDEH, LIB2ADDEHSTATIC, and LIB2ADDEHSH

How to use bfloat16 type in GCC ?

2021-12-01 Thread Jojo R via Gcc
Has GCC supported soft-fp for bfloat16 ? Thanks, — Jojo

Re: How to describe ‘earlyclobber’ explicitly for specific source operand ?

2021-11-21 Thread Jojo R via Gcc
— Jojo 在 2021年11月20日 +0800 AM6:11,Peter Bergner ,写道: > On 11/19/21 1:28 AM, Jojo R via Gcc wrote: > > We know gcc supply earlyclobber function to avoid register overlap, > > > > but it can not describe explicitly for specific source operand, is it right > > ? >

How to describe ‘earlyclobber’ explicitly for specific source operand ?

2021-11-18 Thread Jojo R via Gcc
Hi, We know gcc supply earlyclobber function to avoid register overlap, but it can not describe explicitly for specific source operand, is it right ? The vector ISA spec of risc-v describe some register overlap rules here: https://github.com/riscv/riscv-v-spec/

Re: How to define Struct / Array type with runtime invariants like SVE or RVV

2021-08-25 Thread Jojo R via Gcc
— Jojo 在 2021年8月25日 +0800 PM3:27,Jonathan Wakely ,写道: > > > On Wed, 25 Aug 2021, 07:45 Jojo R wrote: > > Hi, > > > >         I want to use struct or array type as container in my project, > > > >         but GCC does not support this usage by now because that > > > >         the size of these typ

How to define Struct / Array type with runtime invariants like SVE or RVV

2021-08-24 Thread Jojo R via Gcc
Hi, I want to use struct or array type as container in my project, but GCC does not support this usage by now because that the size of these types are decided at compile-time :( so is there any good solution to fix this ? or some new feature patches to a