arm: Properly match /* */ comments in the arm assembly

Some versions of the clang built-in assembler interprets /* as a start
of a multi-line comment, even within lines starting with a @. Therefore,
make sure to terminate these properly.

This fixes warnings about /* within a block comment when building
using the clang built-in assembler (in some versions of clang), and
fixes issues where part of the assembly source was effectively
commented out, when building with this assembler.

Change-Id: I4b520334d92740f8c60def94ee990561b2cb8b7c
This commit is contained in:
Martin Storsjo 2015-06-11 11:42:36 +03:00 • committed by Marco Nelissen
parent 1a6481fb1b
commit 50738a6bd8
8 changed files with 3 additions and 14 deletions

View file

@ -17,7 +17,6 @@
@ *****************************************************************************
@ * Originally developed and contributed by Ittiam Systems Pvt. Ltd, Bangalore
@*/
@/**
@/**
@******************************************************************************
@ -102,11 +101,11 @@ ih264e_evaluate_intra16x16_modes_a9q:
vld1.32 {q5}, [r1]!
mov r11, #0
mov r4, #0
@/* Left available ????
@/* Left available ???? */
ands r7, r5, #01
movne r10, #1
@/* Top available ????
@/* Top available ???? */
ands r8, r5, #04
lsl r9, r10, #3
movne r11, #1
@ -114,7 +113,7 @@ ih264e_evaluate_intra16x16_modes_a9q:
adds r8, r9, r12
@/* None available :(
@/* None available :( */
moveq r4, #128

View file

@ -17,9 +17,7 @@
@ *****************************************************************************
@ * Originally developed and contributed by Ittiam Systems Pvt. Ltd, Bangalore
@*/
@/**
@/**
.data
.p2align 2
@ -38,7 +36,6 @@ scratch_intrapred_luma_4x4_prediction_addr1:
@/**
@/**
@******************************************************************************
@*

View file

@ -17,7 +17,6 @@
@ *****************************************************************************
@ * Originally developed and contributed by Ittiam Systems Pvt. Ltd, Bangalore
@*/
@/**
@/**
@******************************************************************************

View file

@ -17,11 +17,9 @@
@ *****************************************************************************
@ * Originally developed and contributed by Ittiam Systems Pvt. Ltd, Bangalore
@*/
@/**
.text
.p2align 2
@/**
@/*****************************************************************************
@* *

View file

@ -43,7 +43,6 @@
.text
.p2align 2
@ /**
@/*******************************************************************************
@*
@* @brief

View file

@ -17,7 +17,6 @@
//*****************************************************************************
//* Originally developed and contributed by Ittiam Systems Pvt. Ltd, Bangalore
//*/
///**
///**
//******************************************************************************

View file

@ -17,7 +17,6 @@
//*****************************************************************************
//* Originally developed and contributed by Ittiam Systems Pvt. Ltd, Bangalore
//*/
///**
///**
//******************************************************************************

View file

@ -44,7 +44,6 @@
.p2align 2
.include "ih264_neon_macros.s"
// /**
///*******************************************************************************
//*
//* @brief