[dpdk-dev] Issue on rte_sched.c

Thomas Monjalon thomas.monjalon at 6wind.com
Thu Apr 14 09:19:45 CEST 2016


2016-04-13 20:35, Ariel Rodriguez:
> Hello, viewing the new code of librte_sched/ i found this line strange ...
> 
> #if defined(__SSE4__)

Are you refering to http://dpdk.org/commit/90f455f ?

> if instead i use :
> 
> #if defined(__SSE4_2__) || defined(__SSE4_1__)
> 
> works like a charm ...
> 
> i never see in any directive like __SSE4__

Indeed, it is strange.
By the way, it is recommended to use RTE_MACHINE_CPUFLAG_*.


More information about the dev mailing list