Re: [PATCH v2] C-SKY: Support -mfloat-abi=hard.

2020-08-18 Thread Jojo R
Hi, Good points :) Jojo 在 2020年8月18日 +0800 AM10:40,Cooper Qu ,写道: > Hi Jojo, > > Nowhere is this rule directly stated. But there are indent options > showed in > https://www.gnu.org/prep/standards/html_node/Formatting.html#Formatting > corresponding to recommendations of C formatting styl

Re: [PATCH v2] C-SKY: Support -mfloat-abi=hard.

2020-08-17 Thread Cooper Qu via Gcc-patches
Hi Jojo, Nowhere is this rule directly stated. But there are indent options showed in https://www.gnu.org/prep/standards/html_node/Formatting.html#Formatting corresponding to recommendations of C formatting style, which use the defualt 8 clumns tab wide. On 8/18/20 9:42 AM, Jojo R wrote:

Re: [PATCH v2] C-SKY: Support -mfloat-abi=hard.

2020-08-17 Thread Jojo R
Hi, Is there coding rule with it ? I can not find it from  https://www.gnu.org/prep/standards/html_node/index.html and https://gcc.gnu.org/codingconventions.html Could you give me any hints ? Thanks. Jojo 在 2020年8月17日 +0800 PM11:05,Xianmiao Qu ,写道: > Hi

Re: [PATCH v2] C-SKY: Support -mfloat-abi=hard.

2020-08-17 Thread Xianmiao Qu
Hi Jojo, On 8/17/20 7:09 PM, Jojo R wrote: diff --git a/gcc/config/csky/csky.c b/gcc/config/csky/csky.c index 7ba3ed3..b71291a 100644 --- a/gcc/config/csky/csky.c +++ b/gcc/config/csky/csky.c @@ -328,6 +328,16 @@ csky_cpu_cpp_builtins (cpp_reader *pfile) { builtin_define ("__csky_

[PATCH v2] C-SKY: Support -mfloat-abi=hard.

2020-08-17 Thread Jojo R
gcc/ChangeLog: * config/csky/csky.md (CSKY_NPARM_FREGS): New. (call_value_internal_vs/d): New. (untyped_call): New. * config/csky/csky.h (TARGET_SINGLE_FPU): New. (TARGET_DOUBLE_FPU): New. (FUNCTION_VARG_REGNO_P): New. (CSKY_VREG_MODE_P): New