Commit e7d01103 authored by ll's avatar ll

arm test ok

parent f3d31d92
/*
* Licensed to the OpenAirInterface (OAI) Software Alliance under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The OpenAirInterface Software Alliance licenses this file to You under
* the OAI Public License, Version 1.1 (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.openairinterface.org/?page_id=698
*
* 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.
*-------------------------------------------------------------------------------
* For more information about the OpenAirInterface (OAI) Software Alliance:
* contact@openairinterface.org
*/
#include <signal.h>
#ifndef BACKTRACE_H_
#define BACKTRACE_H_
#ifdef __cplusplus
extern "C" {
#endif
void display_backtrace(void);
#ifdef __cplusplus
}
#endif
#endif /* BACKTRACE_H_ */
BUILD:
x86
sudo gcc -o trx trx_test.c yunsdr_lib.c -march=knl -lyunsdr_ss -g
arm
sudo gcc -o trx trx_test.c yunsdr_lib.c -lyunsdr_ss -g
RUN:
sudo ./trx
......@@ -51,6 +51,12 @@
#ifdef __aarch64__
#include <arm_neon.h>
#endif
#if defined(__arm__) || defined(__aarch64__)
#define __m128i int16x8_t
#define __m64 int8x8_t
#endif
//! Number of YUNSDR devices
int num_devices = 0;
#ifdef __GNUC__
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment