1*4930cef6SMatthias Ringwald /****************************************************************************** 2*4930cef6SMatthias Ringwald * 3*4930cef6SMatthias Ringwald * Copyright 2022 Google LLC 4*4930cef6SMatthias Ringwald * 5*4930cef6SMatthias Ringwald * Licensed under the Apache License, Version 2.0 (the "License"); 6*4930cef6SMatthias Ringwald * you may not use this file except in compliance with the License. 7*4930cef6SMatthias Ringwald * You may obtain a copy of the License at: 8*4930cef6SMatthias Ringwald * 9*4930cef6SMatthias Ringwald * http://www.apache.org/licenses/LICENSE-2.0 10*4930cef6SMatthias Ringwald * 11*4930cef6SMatthias Ringwald * Unless required by applicable law or agreed to in writing, software 12*4930cef6SMatthias Ringwald * distributed under the License is distributed on an "AS IS" BASIS, 13*4930cef6SMatthias Ringwald * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14*4930cef6SMatthias Ringwald * See the License for the specific language governing permissions and 15*4930cef6SMatthias Ringwald * limitations under the License. 16*4930cef6SMatthias Ringwald * 17*4930cef6SMatthias Ringwald ******************************************************************************/ 18*4930cef6SMatthias Ringwald 19*4930cef6SMatthias Ringwald #include <stdio.h> 20*4930cef6SMatthias Ringwald 21*4930cef6SMatthias Ringwald int check_ltpf(void); 22*4930cef6SMatthias Ringwald int check_mdct(void); 23*4930cef6SMatthias Ringwald main()24*4930cef6SMatthias Ringwaldint main() 25*4930cef6SMatthias Ringwald { 26*4930cef6SMatthias Ringwald int r, ret = 0; 27*4930cef6SMatthias Ringwald 28*4930cef6SMatthias Ringwald printf("Checking LTPF Neon... "); fflush(stdout); 29*4930cef6SMatthias Ringwald printf("%s\n", (r = check_ltpf()) == 0 ? "OK" : "Failed"); 30*4930cef6SMatthias Ringwald ret = ret || r; 31*4930cef6SMatthias Ringwald 32*4930cef6SMatthias Ringwald printf("Checking MDCT Neon... "); fflush(stdout); 33*4930cef6SMatthias Ringwald printf("%s\n", (r = check_mdct()) == 0 ? "OK" : "Failed"); 34*4930cef6SMatthias Ringwald ret = ret || r; 35*4930cef6SMatthias Ringwald 36*4930cef6SMatthias Ringwald return ret; 37*4930cef6SMatthias Ringwald } 38