Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ TheIDE » U++ TheIDE: Compiling, Linking, Debugging of your packages » theide Compilation Error - UPP ver 18167
theide Compilation Error - UPP ver 18167 [message #61865] Sat, 22 November 2025 10:05 Go to next message
deep is currently offline  deep
Messages: 281
Registered: July 2011
Location: Bangalore
Experienced Member
My Hardware

Processor ARM cores

While compiling theide with ./install command
I get following error in ./uppsrc/Core/SIMD_NEON.h file

/uppsrc/Core/SIMD_NEON.h: In function 'int Upp::CountTrue(i16x8)':
./uppsrc/Core/SIMD_NEON.h:135:86: error: cannot convert 'Upp::int16x8_t' to 'Upp::uint16x8_t'
  135 | force_inline int    CountTrue(i16x8 a)              { return CountBits64(cmask16__(a.data)) >> 3; }

./uppsrc/Core/SIMD_NEON.h:248:41: note:   initializing argument 1 of 'Upp::uint64 Upp::cmask8__(uint8x16_t)'
  248 | force_inline uint64 cmask8__(uint8x16_t mask)      { return cmask16__(vreinterpretq_u16_u8(mask)); }

./uppsrc/Core/SIMD_NEON.h:190:42: note:   initializing argument 1 of 'Upp::uint64 Upp::cmask32__(uint32x4_t)'
  190 | force_inline uint64 cmask32__(uint32x4_t mask)      { return cmask16__(vreinterpretq_u16_u32(mask)); }






Warm Regards

Deepak
Re: theide Compilation Error - UPP ver 18167 [message #61868 is a reply to message #61865] Mon, 24 November 2025 08:59 Go to previous messageGo to next message
mirek is currently offline  mirek
Messages: 14284
Registered: November 2005
Ultimate Member
deep wrote on Sat, 22 November 2025 10:05
My Hardware


Which one exactly? Smile
Re: theide Compilation Error - UPP ver 18167 [message #61871 is a reply to message #61868] Thu, 27 November 2025 05:24 Go to previous messageGo to next message
deep is currently offline  deep
Messages: 281
Registered: July 2011
Location: Bangalore
Experienced Member
Nvidia DGX spark.

With DGX OS


Warm Regards

Deepak
Re: theide Compilation Error - UPP ver 18167 [message #61872 is a reply to message #61871] Thu, 27 November 2025 07:14 Go to previous messageGo to next message
mirek is currently offline  mirek
Messages: 14284
Registered: November 2005
Ultimate Member
OK. Please try to add

force_inline uint64 cmask16__(uint16x8_t mask) { return vreinterpretq_s16_u16(mask); }

at the start of SIMD_NEON.h

If it fixes the compilation and you have theide working, please run autotest/SIMD_CMP test (should end with OK). Also autotest/SIMD and autotest/SIMD2 just to be sure all is with NEON...
Re: theide Compilation Error - UPP ver 18167 [message #61905 is a reply to message #61872] Sun, 14 December 2025 06:30 Go to previous message
deep is currently offline  deep
Messages: 281
Registered: July 2011
Location: Bangalore
Experienced Member
Hi Mirek,

I could not chack this for couple of weeks.

I downloaded version 18235.

I am getting following errors

<pre>In file included from <b>./uppsrc/Core/Core.h:313</b>,
                 from <b>./uppsrc/Esc/Esc.h:4</b>,
                 from <b>./uppsrc/ide/Core/Core.h:4</b>,
                 from <b>./uppsrc/ide/Builders/Builders.h:4</b>,
                 from <b>./uppsrc/umk/umake.h:4</b>,
                 from <b>./uppsrc/umk/Export.cpp:1</b>:
<b>./uppsrc/Core/SIMD_NEON.h:</b> In function '<b>bool Upp::</b><font color="#26A269"><b>AllTrue</b></font>(i16x8)':
<b>./uppsrc/Core/SIMD_NEON.h:135:71:</b> <font color="#2AA1B3"><b>note: </b></font>use '<b>-flax-vector-conversions</b>' to permit conversions between vectors with differing element types or numbers of subparts
  135 | force_inline bool   AllTrue(i16x8 a)                { return <font color="#2AA1B3"><b>cmask16__(a.data)</b></font> == cmask_all__; }
      |                                                              <font color="#2AA1B3"><b>~~~~~~~~~^~~~~~~~</b></font>
<b>./uppsrc/Core/SIMD_NEON.h:135:74:</b> <font color="#C01C28"><b>error: </b></font>cannot convert '<b>Upp::int16x8_t</b>' to '<b>Upp::uint16x8_t</b>'
  135 | force_inline bool   AllTrue(i16x8 a)                { return cmask16__(<font color="#C01C28"><b>a.data</b></font>) == cmask_all__; }
      |                                                                        <font color="#C01C28"><b>~~^~~~</b></font>
      |                                                                          <font color="#C01C28"><b>|</b></font>
      |                                                                          <font color="#C01C28"><b>Upp::int16x8_t</b></font>
<b>./uppsrc/Core/SIMD_NEON.h:6:29:</b> <font color="#2AA1B3"><b>note: </b></font>  initializing argument 1 of '<b>Upp::uint64 Upp::</b><font color="#26A269"><b>cmask16__</b></font>(uint16x8_t)'
    6 | uint64 cmask16__(<font color="#2AA1B3"><b>uint16x8_t mask</b></font>) {
      |                  <font color="#2AA1B3"><b>~~~~~~~~~~~^~~~</b></font>
<b>./uppsrc/Core/SIMD_NEON.h:</b> In function '<b>bool Upp::</b><font color="#26A269"><b>AnyTrue</b></font>(i16x8)':
<b>./uppsrc/Core/SIMD_NEON.h:136:74:</b> <font color="#C01C28"><b>error: </b></font>cannot convert '<b>Upp::int16x8_t</b>' to '<b>Upp::uint16x8_t</b>'
  136 | force_inline bool   AnyTrue(i16x8 a)                { return cmask16__(<font color="#C01C28"><b>a.data</b></font>); }
      |                                                                        <font color="#C01C28"><b>~~^~~~</b></font>
      |                                                                          <font color="#C01C28"><b>|</b></font>
      |                                                                          <font color="#C01C28"><b>Upp::int16x8_t</b></font>
<b>./uppsrc/Core/SIMD_NEON.h:6:29:</b> <font color="#2AA1B3"><b>note: </b></font>  initializing argument 1 of '<b>Upp::uint64 Upp::</b><font color="#26A269"><b>cmask16__</b></font>(uint16x8_t)'
    6 | uint64 cmask16__(<font color="#2AA1B3"><b>uint16x8_t mask</b></font>) {
      |                  <font color="#2AA1B3"><b>~~~~~~~~~~~^~~~</b></font>
<b>./uppsrc/Core/SIMD_NEON.h:</b> In function '<b>int Upp::</b><font color="#26A269"><b>CountTrue</b></font>(i16x8)':
<b>./uppsrc/Core/SIMD_NEON.h:137:86:</b> <font color="#C01C28"><b>error: </b></font>cannot convert '<b>Upp::int16x8_t</b>' to '<b>Upp::uint16x8_t</b>'
  137 | force_inline int    CountTrue(i16x8 a)              { return CountBits64(cmask16__(<font color="#C01C28"><b>a.data</b></font>)) &gt;&gt; 3; }
      |                                                                                    <font color="#C01C28"><b>~~^~~~</b></font>
      |                                                                                      <font color="#C01C28"><b>|</b></font>
      |                                                                                      <font color="#C01C28"><b>Upp::int16x8_t</b></font>
<b>./uppsrc/Core/SIMD_NEON.h:6:29:</b> <font color="#2AA1B3"><b>note: </b></font>  initializing argument 1 of '<b>Upp::uint64 Upp::</b><font color="#26A269"><b>cmask16__</b></font>(uint16x8_t)'
    6 | uint64 cmask16__(<font color="#2AA1B3"><b>uint16x8_t mask</b></font>) {
      |                  <font color="#2AA1B3"><b>~~~~~~~~~~~^~~~</b></font>
<b>./uppsrc/Core/SIMD_NEON.h:</b> In function '<b>int Upp::</b><font color="#26A269"><b>FirstTrue</b></font>(i16x8)':
<b>./uppsrc/Core/SIMD_NEON.h:138:98:</b> <font color="#C01C28"><b>error: </b></font>cannot convert '<b>Upp::int16x8_t</b>' to '<b>Upp::uint16x8_t</b>'
  138 | force_inline int    FirstTrue(i16x8 a)              { return CountTrailingZeroBits64(cmask16__(<font color="#C01C28"><b>a.data</b></font>)) &gt;&gt; 3; }
      |                                                                                                <font color="#C01C28"><b>~~^~~~</b></font>
      |                                                                                                  <font color="#C01C28"><b>|</b></font>
      |                                                                                                  <font color="#C01C28"><b>Upp::int16x8_t</b></font>
<b>./uppsrc/Core/SIMD_NEON.h:6:29:</b> <font color="#2AA1B3"><b>note: </b></font>  initializing argument 1 of '<b>Upp::uint64 Upp::</b><font color="#26A269"><b>cmask16__</b></font>(uint16x8_t)'
    6 | uint64 cmask16__(<font color="#2AA1B3"><b>uint16x8_t mask</b></font>) {
      |                  <font color="#2AA1B3"><b>~~~~~~~~~~~^~~~</b></font>
<b>./uppsrc/Core/SIMD_NEON.h:</b> In function '<b>int Upp::</b><font color="#26A269"><b>FirstFalse</b></font>(i16x8)':
<b>./uppsrc/Core/SIMD_NEON.h:139:99:</b> <font color="#C01C28"><b>error: </b></font>cannot convert '<b>Upp::int16x8_t</b>' to '<b>Upp::uint16x8_t</b>'
  139 | force_inline int    FirstFalse(i16x8 a)             { return CountTrailingZeroBits64(~cmask16__(<font color="#C01C28"><b>a.data</b></font>)) &gt;&gt; 3; }
      |                                                                                                 <font color="#C01C28"><b>~~^~~~</b></font>
      |                                                                                                   <font color="#C01C28"><b>|</b></font>
      |                                                                                                   <font color="#C01C28"><b>Upp::int16x8_t</b></font>
<b>./uppsrc/Core/SIMD_NEON.h:6:29:</b> <font color="#2AA1B3"><b>note: </b></font>  initializing argument 1 of '<b>Upp::uint64 Upp::</b><font color="#26A269"><b>cmask16__</b></font>(uint16x8_t)'
    6 | uint64 cmask16__(<font color="#2AA1B3"><b>uint16x8_t mask</b></font>) {
      |                  <font color="#2AA1B3"><b>~~~~~~~~~~~^~~~</b></font>
<b>./uppsrc/Core/SIMD_NEON.h:</b> In function '<b>bool Upp::</b><font color="#26A269"><b>IsTrue</b></font>(i16x8, int)':
<b>./uppsrc/Core/SIMD_NEON.h:140:74:</b> <font color="#C01C28"><b>error: </b></font>cannot convert '<b>Upp::int16x8_t</b>' to '<b>Upp::uint16x8_t</b>'
  140 | force_inline bool   IsTrue(i16x8 a, int i)          { return cmask16__(<font color="#C01C28"><b>a.data</b></font>) &amp; ((uint64)1 &lt;&lt; (i &lt;&lt; 3)); }
      |                                                                        <font color="#C01C28"><b>~~^~~~</b></font>
      |                                                                          <font color="#C01C28"><b>|</b></font>
      |                                                                          <font color="#C01C28"><b>Upp::int16x8_t</b></font>
<b>./uppsrc/Core/SIMD_NEON.h:6:29:</b> <font color="#2AA1B3"><b>note: </b></font>  initializing argument 1 of '<b>Upp::uint64 Upp::</b><font color="#26A269"><b>cmask16__</b></font>(uint16x8_t)'
    6 | uint64 cmask16__(<font color="#2AA1B3"><b>uint16x8_t mask</b></font>) {
      |                  <font color="#2AA1B3"><b>~~~~~~~~~~~^~~~</b></font>
</pre>





Warm Regards

Deepak
Previous Topic: Error with UPP 18116
Goto Forum:
  


Current Time: Mon Dec 15 14:14:19 CET 2025

Total time taken to generate the page: 0.04649 seconds