zhangyu-duck commented on code in PR #21088:
URL: https://github.com/apache/nuttx/pull/21088#discussion_r4419796218


##########
libs/libc/machine/tricore/Make.defs:
##########
@@ -24,9 +24,85 @@ ifeq ($(CONFIG_LIBC_ATOMIC_ARCH),y)
 CSRCS += arch_atomic.c
 endif
 
+ifeq ($(CONFIG_TRICORE_TOOLCHAIN_TASKING),y)
+TRICORE_SUBDIR = tasking
+else
+TRICORE_SUBDIR = gnu
+endif
+
+AFLAGS += 
${INCDIR_PREFIX}$(TOPDIR)$(DELIM)libs$(DELIM)libc$(DELIM)machine$(DELIM)tricore
+
+# The optimized assembly routines use TC1.8 instructions (e.g. ld.dd/st.dd
+# quad-word access).  Force the assembler to target TC1.8 so the build does
+# not depend on the board's ambient platform flags.
+
+AFLAGS += -Wa,-mtc18

Review Comment:
   ye, i remove this, and this pr is for tc4  Optimization, have no effect for 
tc3 because it is controlled by Kconfig



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to