#8650 closed defect (needs_more_info)

arm64 vf_curves invalid 'asm': invalid operand for code 'w'

Reported by: Kieran Kunhya Owned by:
Priority: normal Component: undetermined
Version: unspecified Keywords:
Cc: Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description

Using FFmpeg git head I can't build on arm64 with gcc 7.5.0:

CC libavfilter/vf_dctdnoiz.o
In file included from ./libavutil/bswap.h:38:0,

from ./libavutil/intreadwrite.h:25,
from libavfilter/vf_curves.c:25:

libavfilter/vf_curves.c: In function 'parse_psfile':
./libavutil/aarch64/bswap.h:31:5: error: invalid 'asm': invalid operand for code 'w'

asm("rev16 %w0, %w0" : "+r"(x));

./libavutil/aarch64/bswap.h:31:5: error: invalid 'asm': invalid operand for code 'w'
./libavutil/aarch64/bswap.h:31:5: error: invalid 'asm': invalid operand for code 'w'

asm("rev16 %w0, %w0" : "+r"(x));

./libavutil/aarch64/bswap.h:31:5: error: invalid 'asm': invalid operand for code 'w'
./libavutil/aarch64/bswap.h:31:5: error: invalid 'asm': invalid operand for code 'w'

asm("rev16 %w0, %w0" : "+r"(x));

./libavutil/aarch64/bswap.h:31:5: error: invalid 'asm': invalid operand for code 'w'
./libavutil/aarch64/bswap.h:31:5: error: invalid 'asm': invalid operand for code 'w'

asm("rev16 %w0, %w0" : "+r"(x));

./libavutil/aarch64/bswap.h:31:5: error: invalid 'asm': invalid operand for code 'w'

Change History (1)

comment:1 by Carl Eugen Hoyos, 20 months ago

Resolution: needs_more_info
Status: newclosed
Note: See TracTickets for help on using tickets.