| <!-- |
| Documentation/_templates/layout.html |
| |
| Licensed to the Apache Software Foundation (ASF) under one or more |
| contributor license agreements. See the NOTICE file distributed with |
| this work for additional information regarding copyright ownership. The |
| ASF licenses this file to you under the Apache License, Version 2.0 (the |
| "License"); you may not use this file except in compliance with the |
| License. You may obtain a copy of the License at |
| |
| http://www.apache.org/licenses/LICENSE-2.0 |
| |
| Unless required by applicable law or agreed to in writing, software |
| distributed under the License is distributed on an "AS IS" BASIS, WITHOUT |
| WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the |
| License for the specific language governing permissions and limitations |
| under the License. |
| --> |
| |
| <!DOCTYPE html> |
| <html class="writer-html5" lang="en" > |
| <head> |
| <meta charset="utf-8" /><meta name="generator" content="Docutils 0.18.1: http://docutils.sourceforge.net/" /> |
| |
| <meta name="viewport" content="width=device-width, initial-scale=1.0" /> |
| <title>arch_libc Arch-specific libc Test — NuttX latest documentation</title> |
| <link rel="stylesheet" href="../../../_static/pygments.css" type="text/css" /> |
| <link rel="stylesheet" href="../../../_static/css/theme.css" type="text/css" /> |
| <link rel="stylesheet" href="../../../_static/copybutton.css" type="text/css" /> |
| <link rel="stylesheet" href="../../../_static/tabs.css" type="text/css" /> |
| <link rel="stylesheet" href="../../../_static/custom.css" type="text/css" /> |
| <link rel="shortcut icon" href="../../../_static/favicon.ico"/> |
| <!--[if lt IE 9]> |
| <script src="../../../_static/js/html5shiv.min.js"></script> |
| <![endif]--> |
| |
| <script src="../../../_static/jquery.js"></script> |
| <script src="../../../_static/_sphinx_javascript_frameworks_compat.js"></script> |
| <script data-url_root="../../../" id="documentation_options" src="../../../_static/documentation_options.js"></script> |
| <script src="../../../_static/doctools.js"></script> |
| <script src="../../../_static/sphinx_highlight.js"></script> |
| <script src="../../../_static/clipboard.min.js"></script> |
| <script src="../../../_static/copybutton.js"></script> |
| <script src="../../../_static/js/theme.js"></script> |
| <link rel="index" title="Index" href="../../../genindex.html" /> |
| <link rel="search" title="Search" href="../../../search.html" /> |
| <link rel="next" title="atomic “Test atomic” testing" href="../atomic/index.html" /> |
| <link rel="prev" title="Testing" href="../index.html" /> |
| </head> |
| |
| <body class="wy-body-for-nav"> |
| <div class="wy-grid-for-nav"> |
| <nav data-toggle="wy-nav-shift" class="wy-nav-side"> |
| <div class="wy-side-scroll"> |
| <div class="wy-side-nav-search" > |
| |
| <a href="../../../index.html" class="icon icon-home"> NuttX |
| |
| |
| |
| </a> |
| |
| <!-- this version selector is quite ugly, should be probably replaced by something |
| more modern --> |
| |
| <div class="version-selector"> |
| <select onchange="javascript:location.href = this.value;"> |
| |
| <option value="../../../../latest" selected="selected">latest</option> |
| |
| <option value="../../../../10.0.0" >10.0.0</option> |
| |
| <option value="../../../../10.0.1" >10.0.1</option> |
| |
| <option value="../../../../10.1.0" >10.1.0</option> |
| |
| <option value="../../../../10.2.0" >10.2.0</option> |
| |
| <option value="../../../../10.3.0" >10.3.0</option> |
| |
| <option value="../../../../11.0.0" >11.0.0</option> |
| |
| <option value="../../../../12.0.0" >12.0.0</option> |
| |
| <option value="../../../../12.1.0" >12.1.0</option> |
| |
| <option value="../../../../12.2.0" >12.2.0</option> |
| |
| <option value="../../../../12.2.1" >12.2.1</option> |
| |
| <option value="../../../../12.3.0" >12.3.0</option> |
| |
| <option value="../../../../12.4.0" >12.4.0</option> |
| |
| <option value="../../../../12.5.0" >12.5.0</option> |
| |
| <option value="../../../../12.5.1" >12.5.1</option> |
| |
| </select> |
| </div> |
| |
| |
| <div role="search"> |
| <form id="rtd-search-form" class="wy-form" action="../../../search.html" method="get"> |
| <input type="text" name="q" placeholder="Search docs" aria-label="Search docs" /> |
| <input type="hidden" name="check_keywords" value="yes" /> |
| <input type="hidden" name="area" value="default" /> |
| </form> |
| </div> |
| |
| </div><div class="wy-menu wy-menu-vertical" data-spy="affix" role="navigation" aria-label="Navigation menu"> |
| <p class="caption" role="heading"><span class="caption-text">Table of Contents</span></p> |
| <ul class="current"> |
| <li class="toctree-l1"><a class="reference internal" href="../../../index.html">Home</a></li> |
| <li class="toctree-l1"><a class="reference internal" href="../../../introduction/index.html">Introduction</a></li> |
| <li class="toctree-l1"><a class="reference internal" href="../../../quickstart/index.html">Getting Started</a></li> |
| <li class="toctree-l1"><a class="reference internal" href="../../../contributing/index.html">Contributing</a></li> |
| <li class="toctree-l1"><a class="reference internal" href="../../../introduction/inviolables.html">The Inviolable Principles of NuttX</a></li> |
| <li class="toctree-l1"><a class="reference internal" href="../../../platforms/index.html">Supported Platforms</a></li> |
| <li class="toctree-l1"><a class="reference internal" href="../../../components/index.html">OS Components</a></li> |
| <li class="toctree-l1 current"><a class="reference internal" href="../../index.html">Applications</a><ul class="current"> |
| <li class="toctree-l2"><a class="reference internal" href="../../audioutils/index.html">Audio Utility libraries</a></li> |
| <li class="toctree-l2"><a class="reference internal" href="../../boot/index.html">Bootloader Utilities</a></li> |
| <li class="toctree-l2"><a class="reference internal" href="../../benchmarks/index.html">Benchmark Applications</a></li> |
| <li class="toctree-l2"><a class="reference internal" href="../../canutils/index.html">CAN Utilities</a></li> |
| <li class="toctree-l2"><a class="reference internal" href="../../crypto/index.html">Cryptography Library Support</a></li> |
| <li class="toctree-l2"><a class="reference internal" href="../../fsutils/index.html">File System Utilities</a></li> |
| <li class="toctree-l2"><a class="reference internal" href="../../games/index.html">Games</a></li> |
| <li class="toctree-l2"><a class="reference internal" href="../../graphics/index.html">Graphics Support</a></li> |
| <li class="toctree-l2"><a class="reference internal" href="../../industry/index.html">Industrial Applications</a></li> |
| <li class="toctree-l2"><a class="reference internal" href="../../inertial/index.html">Inertial Libraries Support</a></li> |
| <li class="toctree-l2"><a class="reference internal" href="../../interpreters/index.html">Interpreters</a></li> |
| <li class="toctree-l2"><a class="reference internal" href="../../logging/index.html">Logging Utilities</a></li> |
| <li class="toctree-l2"><a class="reference internal" href="../../lte/index.html">LTE Libraries and NSH Add-Ons</a></li> |
| <li class="toctree-l2"><a class="reference internal" href="../../math/index.html">Math Library Support</a></li> |
| <li class="toctree-l2"><a class="reference internal" href="../../mlearing/index.html">Machine Learning Support</a></li> |
| <li class="toctree-l2"><a class="reference internal" href="../../netutils/index.html">Network Utilities</a></li> |
| <li class="toctree-l2"><a class="reference internal" href="../../nsh/index.html">NuttShell (NSH)</a></li> |
| <li class="toctree-l2"><a class="reference internal" href="../../sdr/index.html">Software Define Radio Libraries</a></li> |
| <li class="toctree-l2"><a class="reference internal" href="../../system/index.html">System Libraries and NSH Add-Ons</a></li> |
| <li class="toctree-l2 current"><a class="reference internal" href="../index.html">Testing</a><ul class="current"> |
| <li class="toctree-l3 current"><a class="current reference internal" href="#"><code class="docutils literal notranslate"><span class="pre">arch_libc</span></code> Arch-specific libc Test</a></li> |
| <li class="toctree-l3"><a class="reference internal" href="../atomic/index.html"><code class="docutils literal notranslate"><span class="pre">atomic</span></code> “Test atomic” testing</a></li> |
| <li class="toctree-l3"><a class="reference internal" href="../batterydump/index.html"><code class="docutils literal notranslate"><span class="pre">batterydump</span></code> Battery dump for test</a></li> |
| <li class="toctree-l3"><a class="reference internal" href="../cachespeed/index.html"><code class="docutils literal notranslate"><span class="pre">cachespeed</span></code> CACHE Speed Test</a></li> |
| <li class="toctree-l3"><a class="reference internal" href="../cmocka/index.html"><code class="docutils literal notranslate"><span class="pre">cmocka</span></code> libcmocka</a></li> |
| <li class="toctree-l3"><a class="reference internal" href="../cpuload/index.html"><code class="docutils literal notranslate"><span class="pre">cpuload</span></code> cpuload test</a></li> |
| <li class="toctree-l3"><a class="reference internal" href="../crypto/index.html"><code class="docutils literal notranslate"><span class="pre">crypto</span></code> crypto test</a></li> |
| <li class="toctree-l3"><a class="reference internal" href="../cxxtest/index.html"><code class="docutils literal notranslate"><span class="pre">cxxtest</span></code> C++ test program</a></li> |
| <li class="toctree-l3"><a class="reference internal" href="../drivertest/index.html"><code class="docutils literal notranslate"><span class="pre">drivertest</span></code> vela cmocka driver test</a></li> |
| <li class="toctree-l3"><a class="reference internal" href="../fatutf8/index.html"><code class="docutils literal notranslate"><span class="pre">fatutf8</span></code> FAT UTF8 test</a></li> |
| <li class="toctree-l3"><a class="reference internal" href="../fdsantest/index.html"><code class="docutils literal notranslate"><span class="pre">fdsantest</span></code> vela cmocka fdsan test</a></li> |
| <li class="toctree-l3"><a class="reference internal" href="../fmemopen/index.html"><code class="docutils literal notranslate"><span class="pre">fmemopen</span></code> - fmemopen test tool</a></li> |
| <li class="toctree-l3"><a class="reference internal" href="../fopencookie/index.html"><code class="docutils literal notranslate"><span class="pre">fopencookie</span></code> fopencookie test tool</a></li> |
| <li class="toctree-l3"><a class="reference internal" href="../fstest/index.html"><code class="docutils literal notranslate"><span class="pre">fstest</span></code> Generic file system test</a></li> |
| <li class="toctree-l3"><a class="reference internal" href="../getprime/index.html"><code class="docutils literal notranslate"><span class="pre">getprime</span></code> getprime example</a></li> |
| <li class="toctree-l3"><a class="reference internal" href="../iozone/index.html"><code class="docutils literal notranslate"><span class="pre">iozone</span></code> IOzone, filesystem benchmark tool</a></li> |
| <li class="toctree-l3"><a class="reference internal" href="../irtest/index.html"><code class="docutils literal notranslate"><span class="pre">irtest</span></code> IR driver test</a></li> |
| <li class="toctree-l3"><a class="reference internal" href="../lpt/index.html"><code class="docutils literal notranslate"><span class="pre">ltp</span></code> Linux Test Project</a></li> |
| <li class="toctree-l3"><a class="reference internal" href="../memstress/index.html"><code class="docutils literal notranslate"><span class="pre">memstress</span></code> memory stress test</a></li> |
| <li class="toctree-l3"><a class="reference internal" href="../memtester/index.html"><code class="docutils literal notranslate"><span class="pre">memtester</span></code> utils_memtester</a></li> |
| <li class="toctree-l3"><a class="reference internal" href="../mm/index.html"><code class="docutils literal notranslate"><span class="pre">mm</span></code> Memory management test</a></li> |
| <li class="toctree-l3"><a class="reference internal" href="../monkey/index.html"><code class="docutils literal notranslate"><span class="pre">monkey</span></code> Monkey test</a></li> |
| <li class="toctree-l3"><a class="reference internal" href="../mtd_config_fs/index.html"><code class="docutils literal notranslate"><span class="pre">mtd_nvs</span></code> MTD non-volatile storage Test</a></li> |
| <li class="toctree-l3"><a class="reference internal" href="../nand_sim/index.html"><code class="docutils literal notranslate"><span class="pre">nand</span></code> - NAND Flash Device Simulator</a></li> |
| <li class="toctree-l3"><a class="reference internal" href="../nist-sts/index.html"><code class="docutils literal notranslate"><span class="pre">nist-sts</span></code> NIST Statistical Test Suite</a></li> |
| <li class="toctree-l3"><a class="reference internal" href="../nxfss/index.html"><code class="docutils literal notranslate"><span class="pre">nxffs</span></code> NXFFS file system example</a></li> |
| <li class="toctree-l3"><a class="reference internal" href="../open_memstream/index.html"><code class="docutils literal notranslate"><span class="pre">open_memstream</span></code> - open_memstream test tool</a></li> |
| <li class="toctree-l3"><a class="reference internal" href="../osperf/index.html"><code class="docutils literal notranslate"><span class="pre">osperf</span></code> System performance profiling</a></li> |
| <li class="toctree-l3"><a class="reference internal" href="../ostest/index.html"><code class="docutils literal notranslate"><span class="pre">ostest</span></code> OS test</a></li> |
| <li class="toctree-l3"><a class="reference internal" href="../ramspeed/index.html"><code class="docutils literal notranslate"><span class="pre">ramspeed</span></code> RAM Speed Test</a></li> |
| <li class="toctree-l3"><a class="reference internal" href="../ramtest/index.html"><code class="docutils literal notranslate"><span class="pre">ramtest</span></code> RAM Test</a></li> |
| <li class="toctree-l3"><a class="reference internal" href="../scanftest/index.html"><code class="docutils literal notranslate"><span class="pre">scanftest</span></code> sscanf() test</a></li> |
| <li class="toctree-l3"><a class="reference internal" href="../sd_bench/index.html"><code class="docutils literal notranslate"><span class="pre">sd_bench</span></code> SD card or mount point bench test</a></li> |
| <li class="toctree-l3"><a class="reference internal" href="../sd_stress/index.html"><code class="docutils literal notranslate"><span class="pre">sd_stress</span></code> SD card or mount point stress test</a></li> |
| <li class="toctree-l3"><a class="reference internal" href="../sensortest/index.html"><code class="docutils literal notranslate"><span class="pre">sensortest</span></code> Sensor driver test</a></li> |
| <li class="toctree-l3"><a class="reference internal" href="../setest/index.html"><code class="docutils literal notranslate"><span class="pre">setest</span></code> Secure Element driver test</a></li> |
| <li class="toctree-l3"><a class="reference internal" href="../smart/index.html"><code class="docutils literal notranslate"><span class="pre">smart</span></code> SMART File System</a></li> |
| <li class="toctree-l3"><a class="reference internal" href="../smart_test/index.html"><code class="docutils literal notranslate"><span class="pre">smart_test</span></code> SMART File System</a></li> |
| <li class="toctree-l3"><a class="reference internal" href="../smp/index.html"><code class="docutils literal notranslate"><span class="pre">smp</span></code> SMP example</a></li> |
| <li class="toctree-l3"><a class="reference internal" href="../superpi/index.html"><code class="docutils literal notranslate"><span class="pre">superpi</span></code> SuperPI test</a></li> |
| <li class="toctree-l3"><a class="reference internal" href="../uclibcxx_test/index.html"><code class="docutils literal notranslate"><span class="pre">uclibcxx_test</span></code> uclibcxx test</a></li> |
| <li class="toctree-l3"><a class="reference internal" href="../unity/index.html"><code class="docutils literal notranslate"><span class="pre">unity</span></code> Unity testing framework</a></li> |
| </ul> |
| </li> |
| <li class="toctree-l2"><a class="reference internal" href="../../tools/index.html">Host Side Tools</a></li> |
| <li class="toctree-l2"><a class="reference internal" href="../../wireless/index.html">Wireless Libraries and NSH Add-Ons</a></li> |
| <li class="toctree-l2"><a class="reference internal" href="../../examples/index.html">Examples</a></li> |
| </ul> |
| </li> |
| <li class="toctree-l1"><a class="reference internal" href="../../../implementation/index.html">Implementation Details</a></li> |
| <li class="toctree-l1"><a class="reference internal" href="../../../reference/index.html">API Reference</a></li> |
| <li class="toctree-l1"><a class="reference internal" href="../../../faq/index.html">FAQ</a></li> |
| <li class="toctree-l1"><a class="reference internal" href="../../../guides/index.html">Guides</a></li> |
| <li class="toctree-l1"><a class="reference internal" href="../../../glossary.html">Glossary</a></li> |
| </ul> |
| |
| </div> |
| </div> |
| </nav> |
| |
| <section data-toggle="wy-nav-shift" class="wy-nav-content-wrap"><nav class="wy-nav-top" aria-label="Mobile navigation menu" > |
| <i data-toggle="wy-nav-top" class="fa fa-bars"></i> |
| <a href="../../../index.html">NuttX</a> |
| </nav> |
| |
| <div class="wy-nav-content"> |
| <div class="rst-content"> |
| <div role="navigation" aria-label="Page navigation"> |
| <ul class="wy-breadcrumbs"> |
| <li><a href="../../../index.html" class="icon icon-home" aria-label="Home"></a></li> |
| <li class="breadcrumb-item"><a href="../../index.html">Applications</a></li> |
| <li class="breadcrumb-item"><a href="../index.html">Testing</a></li> |
| <li class="breadcrumb-item active"><code class="docutils literal notranslate"><span class="pre">arch_libc</span></code> Arch-specific libc Test</li> |
| <li class="wy-breadcrumbs-aside"> |
| <a href="../../../_sources/applications/testing/arch_libc/index.rst.txt" rel="nofollow"> View page source</a> |
| </li> |
| </ul> |
| <hr/> |
| </div> |
| <div role="main" class="document" itemscope="itemscope" itemtype="http://schema.org/Article"> |
| <div itemprop="articleBody"> |
| |
| <section id="arch-libc-arch-specific-libc-test"> |
| <h1><code class="docutils literal notranslate"><span class="pre">arch_libc</span></code> Arch-specific libc Test<a class="headerlink" href="#arch-libc-arch-specific-libc-test" title="Permalink to this heading"></a></h1> |
| <p>This is a test for arch-specific libc function. Arch-specific libc functions are often implemented in |
| assembly language, here is the test for these functions. The test focuses on key features in assembly |
| language, including aligned access, speed, callee saved register check and so on. |
| Currently, the test only contains a subset of possible arch-specific libc functions. You are welcomed |
| to put more cases here.</p> |
| <p>Options: |
| - <code class="docutils literal notranslate"><span class="pre">CONFIG_TESTING_ARCH_LIBC</span></code> – Enable the test. |
| - <code class="docutils literal notranslate"><span class="pre">CONFIG_TESTING_ARCH_LIBC_XXXXX</span></code> – Enable test for function XXXXX.</p> |
| </section> |
| |
| |
| </div> |
| </div> |
| <footer><div class="rst-footer-buttons" role="navigation" aria-label="Footer"> |
| <a href="../index.html" class="btn btn-neutral float-left" title="Testing" accesskey="p" rel="prev"><span class="fa fa-arrow-circle-left" aria-hidden="true"></span> Previous</a> |
| <a href="../atomic/index.html" class="btn btn-neutral float-right" title="atomic “Test atomic” testing" accesskey="n" rel="next">Next <span class="fa fa-arrow-circle-right" aria-hidden="true"></span></a> |
| </div> |
| |
| <hr/> |
| |
| <div role="contentinfo"> |
| <p>© Copyright 2023, The Apache Software Foundation.</p> |
| </div> |
| |
| |
| |
| </footer> |
| </div> |
| </div> |
| </section> |
| </div> |
| <script> |
| jQuery(function () { |
| SphinxRtdTheme.Navigation.enable(true); |
| }); |
| </script> |
| |
| </body> |
| </html> |