File tree Expand file tree Collapse file tree 19 files changed +70
-79
lines changed Expand file tree Collapse file tree 19 files changed +70
-79
lines changed Original file line number Diff line number Diff line change 11/*
2- * Copyright (c) 2017, NVIDIA CORPORATION. All rights reserved.
2+ * Copyright (c) 2017-2018 , NVIDIA CORPORATION. All rights reserved.
33 *
44 * Licensed under the Apache License, Version 2.0 (the "License");
55 * you may not use this file except in compliance with the License.
1515 *
1616 */
1717
18- #include "mthdecls.h"
1918/** \brief IISHFT intrinsic */
2019int
2120ftn_i_iishft (int i , int j )
Original file line number Diff line number Diff line change 11/*
2- * Copyright (c) 2017, NVIDIA CORPORATION. All rights reserved.
2+ * Copyright (c) 2017-2018 , NVIDIA CORPORATION. All rights reserved.
33 *
44 * Licensed under the Apache License, Version 2.0 (the "License");
55 * you may not use this file except in compliance with the License.
1515 *
1616 */
1717
18- #include "mthdecls.h"
19-
2018int
2119__mth_i_ileadz (int i )
2220{
Original file line number Diff line number Diff line change 11/*
2- * Copyright (c) 2017, NVIDIA CORPORATION. All rights reserved.
2+ * Copyright (c) 2017-2018 , NVIDIA CORPORATION. All rights reserved.
33 *
44 * Licensed under the Apache License, Version 2.0 (the "License");
55 * you may not use this file except in compliance with the License.
1515 *
1616 */
1717
18- #include "mthdecls.h"
19-
2018int
2119__mth_i_ileadzi (int i , int size )
2220{
Original file line number Diff line number Diff line change 11/*
2- * Copyright (c) 2017, NVIDIA CORPORATION. All rights reserved.
2+ * Copyright (c) 2017-2018 , NVIDIA CORPORATION. All rights reserved.
33 *
44 * Licensed under the Apache License, Version 2.0 (the "License");
55 * you may not use this file except in compliance with the License.
1515 *
1616 */
1717
18- #include "mthdecls.h"
18+ #include <stdint.h>
1919
2020int
2121__mth_i_ipopcnt (int i )
Original file line number Diff line number Diff line change 11/*
2- * Copyright (c) 2017, NVIDIA CORPORATION. All rights reserved.
2+ * Copyright (c) 2017-2018 , NVIDIA CORPORATION. All rights reserved.
33 *
44 * Licensed under the Apache License, Version 2.0 (the "License");
55 * you may not use this file except in compliance with the License.
1515 *
1616 */
1717
18- #include "mthdecls.h"
19-
2018int
2119__mth_i_ipopcnti (int i , int size )
2220{
Original file line number Diff line number Diff line change 11/*
2- * Copyright (c) 2017, NVIDIA CORPORATION. All rights reserved.
2+ * Copyright (c) 2017-2018 , NVIDIA CORPORATION. All rights reserved.
33 *
44 * Licensed under the Apache License, Version 2.0 (the "License");
55 * you may not use this file except in compliance with the License.
1515 *
1616 */
1717
18- #include "mthdecls.h"
19-
2018int
2119__mth_i_ipoppar (int ii )
2220{
Original file line number Diff line number Diff line change 11/*
2- * Copyright (c) 2017, NVIDIA CORPORATION. All rights reserved.
2+ * Copyright (c) 2017-2018 , NVIDIA CORPORATION. All rights reserved.
33 *
44 * Licensed under the Apache License, Version 2.0 (the "License");
55 * you may not use this file except in compliance with the License.
1515 *
1616 */
1717
18- #include "mthdecls.h"
19-
2018int
2119__mth_i_ipoppari (int ii , int size )
2220{
Original file line number Diff line number Diff line change 11/*
2- * Copyright (c) 2017, NVIDIA CORPORATION. All rights reserved.
2+ * Copyright (c) 2017-2018 , NVIDIA CORPORATION. All rights reserved.
33 *
44 * Licensed under the Apache License, Version 2.0 (the "License");
55 * you may not use this file except in compliance with the License.
1515 *
1616 */
1717
18- #include "mthdecls.h"
18+ #include <stdint.h>
1919
20- _LONGLONG_T
21- ftn_i_kabs (_LONGLONG_T i0 )
20+ int64_t
21+ ftn_i_kabs (int64_t i0 )
2222{
2323 if (i0 >= 0 )
2424 return i0 ;
Original file line number Diff line number Diff line change 11/*
2- * Copyright (c) 2017, NVIDIA CORPORATION. All rights reserved.
2+ * Copyright (c) 2017-2018 , NVIDIA CORPORATION. All rights reserved.
33 *
44 * Licensed under the Apache License, Version 2.0 (the "License");
55 * you may not use this file except in compliance with the License.
1515 *
1616 */
1717
18- #include "mthdecls.h"
18+ #include <stdint.h>
1919
20- _LONGLONG_T
21- ftn_i_kidim (_LONGLONG_T i , long long j )
20+ int64_t
21+ ftn_i_kidim (int64_t i , int64_t j )
2222{
23- _LONGLONG_T h ;
23+ int64_t h ;
2424
2525 h = i - j ;
2626 return h > 0 ? h : 0 ;
Original file line number Diff line number Diff line change 11/*
2- * Copyright (c) 2017, NVIDIA CORPORATION. All rights reserved.
2+ * Copyright (c) 2017-2018 , NVIDIA CORPORATION. All rights reserved.
33 *
44 * Licensed under the Apache License, Version 2.0 (the "License");
55 * you may not use this file except in compliance with the License.
1515 *
1616 */
1717
18- #include "mthdecls.h"
18+ #include <stdint.h>
1919
20- _LONGLONG_T
21- ftn_i_kisign (_LONGLONG_T i , long long j )
20+ int64_t
21+ ftn_i_kisign (int64_t i , int64_t j )
2222{
23- _LONGLONG_T absi ;
23+ int64_t absi ;
2424
2525 absi = i >= 0 ? i : - i ;
2626 if (j >= 0 )
You can’t perform that action at this time.
0 commit comments